From patchwork Sat Oct 1 14:09:39 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Pawe? Jarosz X-Patchwork-Id: 9359273 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id ED95B600C8 for ; Sat, 1 Oct 2016 14:09:12 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C91E828CF4 for ; Sat, 1 Oct 2016 14:09:12 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A818428D2A; Sat, 1 Oct 2016 14:09:12 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.1 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, FROM_EXCESS_BASE64, RCVD_IN_DNSWL_MED, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 444E128CF4 for ; Sat, 1 Oct 2016 14:09:12 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1bqKyQ-00017Q-Tz; Sat, 01 Oct 2016 14:09:06 +0000 Received: from mail-wm0-x242.google.com ([2a00:1450:400c:c09::242]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bqKyO-00016R-QP; Sat, 01 Oct 2016 14:09:05 +0000 Received: by mail-wm0-x242.google.com with SMTP id f193so2809152wmg.2; Sat, 01 Oct 2016 07:08:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:subject:message-id:mime-version:content-disposition :content-transfer-encoding:user-agent; bh=Tsi97WUY+r6UldU7c5dq03hj8P6VDVNqLcoPT1GIUZ4=; b=QyWcQQi4jpVeojMh7nPoybdzuvKCKYek2P4fWc1IRKgf+Hp4Zl9LB0OBeEHJ6POybx kbK5WmD2dAgFjxJnLaD5Lm8j5FNph546v80oah96IVO26P5gK1Fsm4b7rUN9cEa285un drz4aZYnY9k7/lKI/VI+bhoRjncos55UMdJepXRqZn9+qF4yuDfT9b22IedEH9M7wDGY EJWbQN9Ff7iq0sCo7vSwV0oq3Bh3+hGp+/8m+43DGuIT8M8CbclA6ZDrMiDmdXHePrO2 sT3qU2gaMPVHFwX37hNtDdxuGrbO+Vb3d8mItVKccIFyUEbWf9V9IzmG4O53Khg6UcK3 a9zw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:subject:message-id:mime-version :content-disposition:content-transfer-encoding:user-agent; bh=Tsi97WUY+r6UldU7c5dq03hj8P6VDVNqLcoPT1GIUZ4=; b=Cq5OJHZM8AV3tTR9yzUlJ0ChuCW4jLK6uArULJsz00xnev3Jh/Z+/tQiGDtP66NmSX kZLhH7pp83E25wuQu3bHows1mb9l6zDErw3sppB7WAFXoM7UVnFJA48kzFA/tNZ0VUG2 +g0WDChkwoAef36tEqBZJMsqbgMDyfL1Ph+5ZuEUztQDw2ZxUIUS+tgdVL9Vvn7xNUyV 6NxiPfp40+WHfIcl9g/drn1iGcyPZ6gJucGK/VBVDIJts/NRiO875JRzNiIflYhJffvc 614DxXWDzo/x24RLDUW9wTIFMPN757yVXwcITj45AVCZ5WQLtL1FEGFmiFnoJixHIT5M fwOg== X-Gm-Message-State: AA6/9RkcJk9dGfQ18anbBj88mmoGfFoAaHcUTyS4qyvgKMoD8z7RSSLxMSNvhvInuoAu0g== X-Received: by 10.28.54.193 with SMTP id y62mr2270761wmh.96.1475330922817; Sat, 01 Oct 2016 07:08:42 -0700 (PDT) Received: from vaio-ubuntu (aeoi152.neoplus.adsl.tpnet.pl. [79.191.112.152]) by smtp.gmail.com with ESMTPSA id 4sm9360533wmu.2.2016.10.01.07.08.41 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 01 Oct 2016 07:08:42 -0700 (PDT) Date: Sat, 1 Oct 2016 16:09:39 +0200 From: =?us-ascii?B?PT9VVEYtOD9xP1Bhd2U9QzU9ODI9MjBKYXJvc3o/PQ==?= To: heiko@sntech.de, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org Subject: [PATCH] ARM: dts: rockchip: Reserve unusable memory region on rk3066 Message-ID: <20161001140939.GA31220@vaio-ubuntu> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.24 (2015-08-30) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20161001_070905_064170_F4B5A9BB X-CRM114-Status: UNSURE ( 8.13 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP For some reason accessing memory region above 0xfe000000 freezes system on rk3066. There is similiar bug on later rockchip soc (rk3288) solved same way. Signed-off-by: Paweł Jarosz --- arch/arm/boot/dts/rk3066a.dtsi | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/arch/arm/boot/dts/rk3066a.dtsi b/arch/arm/boot/dts/rk3066a.dtsi index 0d0dae3..44c8956 100644 --- a/arch/arm/boot/dts/rk3066a.dtsi +++ b/arch/arm/boot/dts/rk3066a.dtsi @@ -93,6 +93,19 @@ }; }; + reserved-memory { + #address-cells = <1>; + #size-cells = <1>; + ranges; + /* + * The rk3066 cannot use the memory area above 0x9F000000 + * for some unknown reason. + */ + unusable@9F000000 { + reg = <0x9F000000 0x1000000>; + }; + }; + i2s0: i2s@10118000 { compatible = "rockchip,rk3066-i2s"; reg = <0x10118000 0x2000>;