From patchwork Tue Sep 6 15:53:11 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 9317429 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 2B414607D3 for ; Tue, 6 Sep 2016 15:57:19 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1663928E13 for ; Tue, 6 Sep 2016 15:57:19 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 093FA28E17; Tue, 6 Sep 2016 15:57:19 +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=-4.2 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, RCVD_IN_DNSWL_MED 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 8094928E13 for ; Tue, 6 Sep 2016 15:57:18 +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 1bhIir-0006m3-8z; Tue, 06 Sep 2016 15:55:41 +0000 Received: from mail-dm3nam03on0057.outbound.protection.outlook.com ([104.47.41.57] helo=NAM03-DM3-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bhIh9-0004c5-St for linux-arm-kernel@lists.infradead.org; Tue, 06 Sep 2016 15:53:59 +0000 Received: from BLUPR0301CA0033.namprd03.prod.outlook.com (10.162.113.171) by CY4PR03MB2439.namprd03.prod.outlook.com (10.168.163.141) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA_P384) id 15.1.609.9; Tue, 6 Sep 2016 15:53:34 +0000 Received: from BN1AFFO11FD025.protection.gbl (2a01:111:f400:7c10::191) by BLUPR0301CA0033.outlook.office365.com (2a01:111:e400:5259::43) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA_P384) id 15.1.609.9 via Frontend Transport; Tue, 6 Sep 2016 15:53:33 +0000 Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=nxp.com; nxp.com; dkim=none (message not signed) header.d=none; nxp.com; dmarc=fail action=none header.from=nxp.com; nxp.com; dkim=none (message not signed) header.d=none; Received-SPF: Fail (protection.outlook.com: domain of nxp.com does not designate 192.88.168.50 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.168.50; helo=tx30smr01.am.freescale.net; Received: from tx30smr01.am.freescale.net (192.88.168.50) by BN1AFFO11FD025.mail.protection.outlook.com (10.58.52.85) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.587.6 via Frontend Transport; Tue, 6 Sep 2016 15:53:33 +0000 Received: from fabio-Latitude-E6410.am.freescale.net (fabio-Latitude-E6410.am.freescale.net [10.29.244.99]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id u86FrQ4W031722; Tue, 6 Sep 2016 08:53:31 -0700 From: Fabio Estevam To: Subject: [PATCH 5/9] ARM: dts: imx25: Fix memory node build warnings with W=1 Date: Tue, 6 Sep 2016 12:53:11 -0300 Message-ID: <1473177196-29371-5-git-send-email-fabio.estevam@nxp.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1473177196-29371-1-git-send-email-fabio.estevam@nxp.com> References: <1473177196-29371-1-git-send-email-fabio.estevam@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131176508133563318; (91ab9b29-cfa4-454e-5278-08d120cd25b8); () X-Forefront-Antispam-Report: CIP:192.88.168.50; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(7916002)(2980300002)(1109001)(1110001)(339900001)(199003)(189002)(4326007)(8666005)(47776003)(19580405001)(586003)(7846002)(356003)(19580395003)(305945005)(106466001)(68736007)(92566002)(87936001)(50226002)(2351001)(229853001)(626004)(5003940100001)(105606002)(77096005)(81166006)(97736004)(8936002)(81156014)(189998001)(5660300001)(2950100001)(50466002)(85426001)(48376002)(76176999)(50986999)(86362001)(110136002)(104016004)(36756003)(8676002)(11100500001)(2906002)(33646002)(7059030); DIR:OUT; SFP:1101; SCL:1; SRVR:CY4PR03MB2439; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN1AFFO11FD025; 1:8w2kKf+vnFwl+LRh4nrXHTVFJcLyrbTBew4mYoW7iRgrMTJShRBBDga8JK7KAL+YBLjt36m1oDMxFDhyGroaFTWA6xHU6KykHxJz2kXJIAE4DALRvwcGVpUeQ7LRfiJkd5npnlbSSCu4e1vM/iBR5YRYRJzJ2YhMI406ZWlUQoO5CprUVRPP2XuN4JRPJvorkBFeRdLh3E2uxZYhE94srnouo3gLjgbOIMTKEMrerzi4WG2xguM833Npz5jnkKEIU044PkVX+CTmxAZpIWpqLkA+4SRvm9ckoX4MztitRTq89DKD9fhFnxzEtJSfGt8zXN6u1gbNNblEMueLYEmpgy+EoeIhWVZOYeKz51y5oJ7C5ADBYf5VPc/2Zvk8wul0fPf6fI5+49ORc0OpMhCoJJGs07dXOe94GuV7ZzUaaSNvBJwAP1ZiKz/fivp/9P7JzFcUwDGvRys+/fTJ4VwGvekcl5EGlyIL+QqiqRpYlF6iNoxSZw83qSPz0yY4lC0Ft30x+s4RTAWDUjihbJhN9JkBTDlY5ETAl574W3EygLfHVwElT/UYYePeQ6Q+SyalJ5A4egnfEjsgyCrKyAooGS3AQR+E2Vbnxl7sM3OzVPj94MmfAsx2EE0O+Ir2MYp6JFGsvpgJ2S+GROa8FtT6LziRemRCti99YkRkW4Vkd6Iq5ylfPmVjMXthjrRQO8qBfdUHMRTDV9Db3DepSrcOPUah0YisOwNK3RR9MRGCF4k= MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: 4ca73ed2-8a4f-4751-fa57-08d3d66df4a1 X-Microsoft-Exchange-Diagnostics: 1; CY4PR03MB2439; 2:Q/p6fsn1q2MyTB8jd1NrmutBvv67UjXPCnUwzwae4rSegH6DjmmXljeh/IE6gzCBo1wvpJ8s3eb3WSyK9KlUKNWbiCOnZjl+nBXNXQtSPq3MhPsJDecOpCKWXsoJzURdozp2SIXbZmPDDUxdFACw9WKG7cbWvDesHekhHPkPLwyYJPvo7Pgo6fYnrOcj02MD; 3:ffgofuSVs+wzz2E+k+G5HIpGv6kh4ixp2iR5naUz8hd8OSJYGB2HA1vsaFpAVqElyaTeT7UCPXpDK24auprDQR42n+dnNPBtANjL9LgPuQURUlJ9/oXYIVYLTFc4qusMVw8d7yY7y4JXa/Lv9Z0CD7xAa4sxRDgnz7XGlx3KKX5r0y/JJhUq2m7o0iTpWfYZztFoEDTqLpi54tMKT/h9i8qeFO0ToRHVW9NB5qxn//g= X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:CY4PR03MB2439; X-Microsoft-Exchange-Diagnostics: 1; CY4PR03MB2439; 25:G1Z9dMYMLrF0DoRX3trveisUj0f2tWaOq122AR2YLdLyU03JOKHXRYa1D/TVg5aiDC+y6YFXi8K+u0+EbHaUvzNX9hBkmdXyWQgw/6eU8DMWdNau5RLpMQPyAl+Pj1E3w+UxEPy1Y9BM/jLZw0cUg8MWE6K1ZQ7DB67c5VQKEl62R2i+aHaLOL5dhjzgEkUgqNTVDgcSUVJ7naj1c3SPJM9rb9ycXekC1e2Zydq30rD218EfetKI56GZD7mfwtth93aOzd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9s8FvCvTV1I8CX4IfZP4V7CzoIDsqFEi18h7aIZAzxCUBvWgCVXx7WuS62TW7CobiW2rToR0o2+O742jCPp0VTCoRdiNFqq7gvgePO8rpaGGEbi9dNUBguGaO58x/MeRux3TcvcpS7MDah8WpG4FrSQWhlBUJR1w/UhyvqD+6vhkWVXlaSStrTpP59YCLlyMi/K7ateCOVQrYBU6+E629gd8GViruVAbeRsAsxIKdJHFphzXDnexJuesjjJM5jj76j6AvOLKE= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040176)(601004)(2401047)(13017025)(13018025)(13015025)(13024025)(13023025)(8121501046)(5005006)(10201501046)(3002001)(6055026); SRVR:CY4PR03MB2439; BCL:0; PCL:0; RULEID:(400006); SRVR:CY4PR03MB2439; X-Forefront-PRVS: 0057EE387C X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CY4PR03MB2439; 23:xtgLNvy+/G5HpU/b92VYmMSyzaYxVyDw0gqZeGCJD?= =?us-ascii?Q?9OiIK3VDPUdCaMEoxYp4Jj/QCly81qH6aV4d9wI9p4j0SOYCq8iTARM4Y24H?= =?us-ascii?Q?5Zhr56KKXPvjvQeDLrdLQ5rHU2VyOlb2lg5/p04qEMeOJtytGFnmRR8NjdQm?= =?us-ascii?Q?zj4JQvYp/IIPJTke96QtdGE4JXE6ssbTrdu8wIRsENdAihx0TU5xQfeum15b?= =?us-ascii?Q?IkuGmkSV6uMbY0tRYcWCa2kGvLeJsuTD4fWK6A0/olHEIHhBGkifCEZ1oJo7?= =?us-ascii?Q?Yh0XNFzZ/4Xep5xbYjBildJrEU0hFPjRpFY7In+o4AQqRdm1+Sl6O2X0Pvj2?= =?us-ascii?Q?ZD/h77XTeVZ6PnLTBn4mkTKX2ACCTI0jmk40PjMCmCMxHJ4G8aXCe6RUf8jm?= =?us-ascii?Q?Ah7olLnQmSX96tmeNxPPXu5Lrp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SLLoC0zQWYrgeMz2Ig9VN6zy2DB8aXWbiXJin5qg6A/pkuKmUYcOs1ZPNXTZ6E+Rnho58cjtdD3T7kX+mVNhshynHBejPZx5UFeVxD5y+CU2nVPgNpnjPqVjgikeLymIJsMXEk1MzG0rbDlnjF65MYLnwtXP0plCA/zRPyt0pnDooax9m/A9PypT/wVf4ihQGCRaJI0crS+0pYb2jUUKTcC4=; 5:8xYuxGWiOPn1VFWPFhn7UnYxhC2Ij8gTcVtJa6GOeZRujbD0OiNbnL9PGhL3/DFcbpx285Og8LaceyFGWxhYDwj8d/8Fhm5ZnCOycvKoH9Ur1Y6RJoYit3EgEhnBh7Xw/OaNljk/JTRLZwuzyhihwn7BYrBxGTkDZlbgUEV4OlM=; 24:JUltW3traDkxmmy+eTUwKfvdmaOKXsj6VQD+sCxbATCLgoTisfmrcE5As+6wqVV/WNokn8rEETCImpSV01hbetUEDzdfKWnL3WZnvyAIoWs=; 7:IVIC1fN7qtgAWzlwYPqkEpb7lT6XPN1S1YVZqFqzKTyGgBe6Xwxj4FJvKPAKhfbJgK7Cq0w/RxMi68UMPlGJevFwkMwVCwn1Mfpe14jFJEfEtEmo6SIp25oeQEXdSC/CrN9VXFB7Sij3GzIhFOLJYHgYcTz3ytSGFpTLQCccQcaLfPc/9gjSlgYBG17/7jQfHkQXhbFaTNZ1b+bXQ8B2B6yH/A8HYVFF4vTzUx2cLfLjaa5E1iTMKjhAfvIW+a2p SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Sep 2016 15:53:33.1535 (UTC) X-MS-Exchange-CrossTenant-Id: 5afe0b00-7697-4969-b663-5eab37d5f47e X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5afe0b00-7697-4969-b663-5eab37d5f47e; Ip=[192.88.168.50]; Helo=[tx30smr01.am.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR03MB2439 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160906_085356_293659_1DCF9162 X-CRM114-Status: GOOD ( 12.30 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Fabio Estevam , robh+dt@kernel.org, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Fix the following build warnings with W=1: Warning (unit_address_vs_reg): Node /memory has a reg or ranges property, but no unit name While at it, also pass the 'device_type' property as recommended by the ePAPR specification. Signed-off-by: Fabio Estevam --- arch/arm/boot/dts/imx25-eukrea-cpuimx25.dtsi | 3 ++- arch/arm/boot/dts/imx25-karo-tx25.dts | 3 ++- arch/arm/boot/dts/imx25-pdk.dts | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/arch/arm/boot/dts/imx25-eukrea-cpuimx25.dtsi b/arch/arm/boot/dts/imx25-eukrea-cpuimx25.dtsi index d6f2764..e4d7da2 100644 --- a/arch/arm/boot/dts/imx25-eukrea-cpuimx25.dtsi +++ b/arch/arm/boot/dts/imx25-eukrea-cpuimx25.dtsi @@ -17,7 +17,8 @@ model = "Eukrea CPUIMX25"; compatible = "eukrea,cpuimx25", "fsl,imx25"; - memory { + memory@80000000 { + device_type = "memory"; reg = <0x80000000 0x4000000>; /* 64M */ }; }; diff --git a/arch/arm/boot/dts/imx25-karo-tx25.dts b/arch/arm/boot/dts/imx25-karo-tx25.dts index 9b31faa..d8ec158 100644 --- a/arch/arm/boot/dts/imx25-karo-tx25.dts +++ b/arch/arm/boot/dts/imx25-karo-tx25.dts @@ -36,7 +36,8 @@ }; }; - memory { + memory@80000000 { + device_type = "memory"; reg = <0x80000000 0x02000000 0x90000000 0x02000000>; }; }; diff --git a/arch/arm/boot/dts/imx25-pdk.dts b/arch/arm/boot/dts/imx25-pdk.dts index 7029210..8ce72fa 100644 --- a/arch/arm/boot/dts/imx25-pdk.dts +++ b/arch/arm/boot/dts/imx25-pdk.dts @@ -18,7 +18,8 @@ model = "Freescale i.MX25 Product Development Kit"; compatible = "fsl,imx25-pdk", "fsl,imx25"; - memory { + memory@80000000 { + device_type = "memory"; reg = <0x80000000 0x4000000>; };