From patchwork Wed Sep 4 08:48:29 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Szyprowski X-Patchwork-Id: 172895 Delivered-To: patch@linaro.org Received: by 2002:a92:d204:0:0:0:0:0 with SMTP id y4csp947010ily; Wed, 4 Sep 2019 01:48:39 -0700 (PDT) X-Google-Smtp-Source: APXvYqwazbgja6KG0q3rh8MJEGPc2ecTgX7g8is0cKXB6YNCUuuvQvKHHeR2jdffxVK/hfei1sLZ X-Received: by 2002:a17:90a:bc06:: with SMTP id w6mr3923444pjr.45.1567586919616; Wed, 04 Sep 2019 01:48:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567586919; cv=none; d=google.com; s=arc-20160816; b=dAwxsPg16i/5mlDx/upn6kjLIxBjMTAQch2cV5G2pPNHXgelDDdSimDWz3HeTAvKER mGeqrvBbG5oFDKn6OI5RKpnaXoRg2lRZBRoEsfX0eLw2OuR/RILIvt1vfv55JqO3eokH +XTai2f7vCUAboNwwnsxhOe1ucgm0sL+Eqd1rUoaVy+vOZgUt7eXxEvOxb85ueZuJxml /JJTK1jN2WjSwopDY9XnzJQfcotFklTHe9Q4WtT6vSo6UV+zmDL6lQW6eSa7UJHidX+p HwGv6Z6cwVLokpPEMUCSLuLndKfcnSqpayGAWMu5kr0aSD4iSISKdHWi6Chz1kRhVRl4 QNyg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:cms-type:message-id:date :subject:cc:to:from:dkim-signature:dkim-filter; bh=QUK3C6xJvPCjCRbr96bW+GIDTEHg6r06EzHdIiAjOTE=; b=xx5WgzcAJNrphMH1DoxUba707DFBJ0dZgDfZzcmhuJBM+7M8YRaGkHSdTeZGvYhAWs yrGCEG39J6XBR+mP3SxADnFo1UpD8vUChtGQ2ywvOpABIPqpuy0xcX3WK5Yzb8sYhQ36 7bE6zDJ8npBw72rbpL+Mi8RznRno+HjVl7ePUkDj1Zx6e9XrUnuPQh5dkGaFYU6JI5CR +HbzEKS0i90fdBs5WVDAbBmnfr769k3uMAsEGvrNHXk6IpFj/4Wp2k83dO4VYM7VLPsu yWnjub68XfLXF9B9bxQmgTlIOD4P3/Ci6phS5u5anpkarIJddXapf0hUIiO+tp/u25Ep obpg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=h4tFr7Mb; spf=pass (google.com: best guess record for domain of linux-samsung-soc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-samsung-soc-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v41si16629648pgn.481.2019.09.04.01.48.39; Wed, 04 Sep 2019 01:48:39 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-samsung-soc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=h4tFr7Mb; spf=pass (google.com: best guess record for domain of linux-samsung-soc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-samsung-soc-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729112AbfIDIsi (ORCPT + 3 others); Wed, 4 Sep 2019 04:48:38 -0400 Received: from mailout2.w1.samsung.com ([210.118.77.12]:47883 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728402AbfIDIsh (ORCPT ); Wed, 4 Sep 2019 04:48:37 -0400 Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20190904084835euoutp02042e9a595487d39e5d01ad5edefd418c~BL-6WTutv0570105701euoutp02J for ; Wed, 4 Sep 2019 08:48:35 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20190904084835euoutp02042e9a595487d39e5d01ad5edefd418c~BL-6WTutv0570105701euoutp02J DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1567586915; bh=QUK3C6xJvPCjCRbr96bW+GIDTEHg6r06EzHdIiAjOTE=; h=From:To:Cc:Subject:Date:References:From; b=h4tFr7MbZXyjhxZGq6oRJme7QIMtDQg+xNEGQNfjoh7yIHKtQuTNZBvtpSJmawbkG o4dpys8BK8INdNr7iDjVS5pOJAmakyhIUiFDFIIM5S9Cxx2SG7SzI175raTradQ1Hk NMiTIjqJP8tRZWj5rJuqb/Pk19WMm/1uxHh2RlqM= Received: from eusmges3new.samsung.com (unknown [203.254.199.245]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20190904084835eucas1p25dbe55d8c8feffdc23e9878147d0c16d~BL-51yQWZ1428814288eucas1p2e; Wed, 4 Sep 2019 08:48:35 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges3new.samsung.com (EUCPMTA) with SMTP id 4D.9B.04374.26A7F6D5; Wed, 4 Sep 2019 09:48:34 +0100 (BST) Received: from eusmtrp2.samsung.com (unknown [182.198.249.139]) by eucas1p2.samsung.com (KnoxPortal) with ESMTPA id 20190904084834eucas1p20aff0f98a90b9c6939d9113932919aff~BL-5FZljf1428814288eucas1p2d; Wed, 4 Sep 2019 08:48:34 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eusmtrp2.samsung.com (KnoxPortal) with ESMTP id 20190904084834eusmtrp28eb82da779d4c42eab502fca2a8d3408~BL-43X3hl0623006230eusmtrp2O; Wed, 4 Sep 2019 08:48:34 +0000 (GMT) X-AuditID: cbfec7f5-4f7ff70000001116-a0-5d6f7a6234a9 Received: from eusmtip1.samsung.com ( [203.254.199.221]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id 5B.71.04166.26A7F6D5; Wed, 4 Sep 2019 09:48:34 +0100 (BST) Received: from AMDC2765.DIGITAL.local (unknown [106.120.51.73]) by eusmtip1.samsung.com (KnoxPortal) with ESMTPA id 20190904084833eusmtip1cf6a70183321b7c3348fb78988b430f8~BL-4d8ium2488324883eusmtip1R; Wed, 4 Sep 2019 08:48:33 +0000 (GMT) From: Marek Szyprowski To: linux-samsung-soc@vger.kernel.org Cc: Marek Szyprowski , Krzysztof Kozlowski , Bartlomiej Zolnierkiewicz , Alim Akhtar Subject: [PATCH] arm64: dts: exynos: Propagate address/size cell change to /memory node Date: Wed, 4 Sep 2019 10:48:29 +0200 Message-Id: <20190904084829.23944-1-m.szyprowski@samsung.com> X-Mailer: git-send-email 2.17.1 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrNIsWRmVeSWpSXmKPExsWy7djP87pJVfmxBo9mWlg8mLeNzWLjjPWs FufPb2C3mHF+H5PF2iN32R1YPTat6mTz6NuyitHj8ya5AOYoLpuU1JzMstQifbsErowHn3Yy F8zgq1g9Yxl7A2MbTxcjJ4eEgInE4UdrmbsYuTiEBFYwSuyZ84ERwvnCKNGy6SU7hPOZUeLI 3hZGmJYL3yaxgNhCAssZJRr+a8B1nF49gQkkwSZgKNH1tosNxBYRUJX43LaAHcRmFtjOKNF4 WRDEFhaIlNi4dCYriM0CVLPh3nSwobwCthKvpnUxQyyTl1i94QDYfRICW9gkFn7ZC5VwkXi3 r5UFwhaWeHV8CzuELSPxf+d8JoiGZkaJh+fWskM4PYwSl5tmQP1gLXH4+EWg1RxAJ2lKrN+l DxF2lPja8BYsLCHAJ3HjrSDE0XwSk7ZNZ4YI80p0tAlBVKtJzDq+Dm7twQuXoE7zkGibf5EJ EkCxEgtOL2GcwCg3C2HXAkbGVYziqaXFuempxcZ5qeV6xYm5xaV56XrJ+bmbGIFRfvrf8a87 GPf9STrEKMDBqMTDKxCYFyvEm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AA= X-CMS-MailID: 20190904084834eucas1p20aff0f98a90b9c6939d9113932919aff X-Msg-Generator: CA X-RootMTR: 20190904084834eucas1p20aff0f98a90b9c6939d9113932919aff X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20190904084834eucas1p20aff0f98a90b9c6939d9113932919aff References: Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org Commit ef72171b3621 ("arm64: dts: exynos: Remove unneeded address space mapping for soc node") changed the address and size cells in root node from 2 to 1, but /memory nodes for the affected boards were not updated. This went unnoticed on Exynos5433-based TM2(e) boards, because they use u-boot, which updates /memory node to the correct values. On the other hand, the mentioned commit broke boot on Exynos7-based Espresso board, which bootloader doesn't touch /memory node at all. Reported-by: Alim Akhtar Fixes: ef72171b3621 ("arm64: dts: exynos: Remove unneeded address space mapping for soc node") Signed-off-by: Marek Szyprowski --- arch/arm64/boot/dts/exynos/exynos5433-tm2-common.dtsi | 2 +- arch/arm64/boot/dts/exynos/exynos7-espresso.dts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) -- 2.17.1 Reviewed-by: Alim Akhtar Tested-by: Alim Akhtar diff --git a/arch/arm64/boot/dts/exynos/exynos5433-tm2-common.dtsi b/arch/arm64/boot/dts/exynos/exynos5433-tm2-common.dtsi index db22eb56e968..e6321c8567de 100644 --- a/arch/arm64/boot/dts/exynos/exynos5433-tm2-common.dtsi +++ b/arch/arm64/boot/dts/exynos/exynos5433-tm2-common.dtsi @@ -50,7 +50,7 @@ memory@20000000 { device_type = "memory"; - reg = <0x0 0x20000000 0x0 0xc0000000>; + reg = <0x20000000 0xc0000000>; }; gpio-keys { diff --git a/arch/arm64/boot/dts/exynos/exynos7-espresso.dts b/arch/arm64/boot/dts/exynos/exynos7-espresso.dts index 080e0f56e108..28b02830225f 100644 --- a/arch/arm64/boot/dts/exynos/exynos7-espresso.dts +++ b/arch/arm64/boot/dts/exynos/exynos7-espresso.dts @@ -28,7 +28,7 @@ memory@40000000 { device_type = "memory"; - reg = <0x0 0x40000000 0x0 0xC0000000>; + reg = <0x40000000 0xC0000000>; }; usb30_vbus_reg: regulator-usb30 {