From patchwork Mon Feb 26 06:33:50 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shawn Guo X-Patchwork-Id: 10241309 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 4CF8F60208 for ; Mon, 26 Feb 2018 06:35:14 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3DA1229890 for ; Mon, 26 Feb 2018 06:35:14 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 31C8D29895; Mon, 26 Feb 2018 06:35:14 +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=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id ABDC929890 for ; Mon, 26 Feb 2018 06:35:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=LeOExgp6mnlO4S366rU3/gB5un8tU1wuY7+/b2Ycj/k=; b=hKx jFXRF4VsuroYDdyxIiI0EcyZuRE9nZzKU67GB5AiGVf1CF4RPO6SAB6hL6W2hgyAL5f3/N0N8Ohz6 18VkZmugyC7Cg0vYzwFFXZU8ufGpi05X5y22znJNjgAelpBA6xRqEDBjhVyxzxgdM5aUn2cKL7los p2i8f5Rq5ueqaWPLzxnYnvzVQpcHSKOWEtnqg0qr9/BBZki5Ui5LT4sUlkj+0NhNZovub1N7NPkDY yXwF9x2RLtrHVYiFwnDRFGD+sQJJJu8uZcEi19+JXcUrdRfmCdm7eLO4TJ5qs4h7KqIhKPI40MFq+ rQuUWxHEMxmwliQttEu6XSx++FekSqg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.89 #1 (Red Hat Linux)) id 1eqCNQ-0007ZV-Gl; Mon, 26 Feb 2018 06:35:08 +0000 Received: from mail-pg0-f67.google.com ([74.125.83.67]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1eqCMl-0004zI-GR for linux-arm-kernel@lists.infradead.org; Mon, 26 Feb 2018 06:34:36 +0000 Received: by mail-pg0-f67.google.com with SMTP id g2so5831929pgn.7 for ; Sun, 25 Feb 2018 22:34:16 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=4yAqIR6ztCXrkahii0LH5e68aQJwyfCN1Mh7T6TXqCI=; b=ngslgFc/klGIadSyoJT/TmyhCAiyLqydV7PYTMJaCUa2ZZfO2SoQd4kA2NWVWxJ6wt 9MQzkp3VUvpaJ5tidOzgkJvcq1+AbQhYjJxZrWwyVirNRZSaJdCeNY8YitnILP0bO1dv oahjwpNM7ONlglVECMOB1GmnzkfGOehRh/HX1trn6w7vX8Wps8H5Utw5P0TDidcrOauy wAF8ZOVNQ9OpbgQEcaEvoUYxGW7MeaS8kcq0pCRv5QPNz+YaOEfNNV0aFrLcuZC7u4/i A2nqvsfibtj5xeD41Z43ZHpKCcAExFoNhFjITVRPRA/Cqge2Ci+YYRmzRQTTDf1tufBw iOeg== X-Gm-Message-State: APf1xPDM9qpXCgFEei40BdshitMjZ0z8zVt2Bm8Xq7gAdkcteyApBuu0 aHn2Edcfo/IlBq+TdEXdozf6hB9ywxs= X-Google-Smtp-Source: AH8x227eYaM5vKUbW/7lOrcDlZ378ix2YGfm+TDYpTPfHaHH02sKUFPFsC+U2vWUbYWkRy4xRQ9JjQ== X-Received: by 10.98.172.18 with SMTP id v18mr9550953pfe.175.1519626855437; Sun, 25 Feb 2018 22:34:15 -0800 (PST) Received: from localhost.localdomain ([104.237.91.47]) by smtp.gmail.com with ESMTPSA id b5sm17297225pfc.12.2018.02.25.22.34.12 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 25 Feb 2018 22:34:14 -0800 (PST) From: Shawn Guo To: linux-arm-kernel@lists.infradead.org Subject: [PATCH] arm64: dts: ls1046a: add a dummy memory 'reg' property Date: Mon, 26 Feb 2018 14:33:50 +0800 Message-Id: <1519626830-14370-1-git-send-email-shawnguo@kernel.org> X-Mailer: git-send-email 1.9.1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180225_223428_509393_99BC77B2 X-CRM114-Status: GOOD ( 10.93 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Shawn Guo , Mingkai Hu , Li Yang MIME-Version: 1.0 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 The memory node in fsl-ls1046a.dtsi has no 'reg' property, and causes the dtc warning below. Warning (unit_address_vs_reg): Node /memory@80000000 has a unit name, but no reg property Let's add a 'reg' property with dummy memory size, since bootloader will need to fill the correct one per board memory configuration anyway. Cc: Mingkai Hu Cc: Li Yang Signed-off-by: Shawn Guo Acked-by: Li Yang --- arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi index 606ea496f24e..136ebfa9b333 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi +++ b/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi @@ -131,6 +131,8 @@ memory@80000000 { device_type = "memory"; + /* Real size will be filled by bootloader */ + reg = <0x0 0x80000000 0x0 0x0>; }; sysclk: sysclk {