Thread (1 message) 1 message, 1 author, 2016-11-14

[PATCH v2 06/19] ARM: dts: armada-370-xp: Fixup bootrom DT warning

From: robh+dt@kernel.org (Rob Herring)
Date: 2016-11-14 00:07:59
Also in: linux-devicetree

On Sun, Nov 13, 2016 at 3:23 PM, Gregory CLEMENT
[off-list ref] wrote:
quoted hunk
bootrom has a reg property so the unit name should contain an address.

Signed-off-by: Gregory CLEMENT <redacted>
---
 arch/arm/boot/dts/armada-370.dtsi | 2 +-
 arch/arm/boot/dts/armada-xp.dtsi  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm/boot/dts/armada-370.dtsi b/arch/arm/boot/dts/armada-370.dtsi
index 079494e52554..7598fb013355 100644
--- a/arch/arm/boot/dts/armada-370.dtsi
+++ b/arch/arm/boot/dts/armada-370.dtsi
@@ -65,7 +65,7 @@
        soc {
                compatible = "marvell,armada370-mbus", "simple-bus";

-               bootrom {
+               bootrom at 01_e0_0 {
Please add documentation as to what the unit address format is.
Really, since you claim compatibility with simple-bus, you should not
deviate from the simple-bus format.

Drop the leading zero and use ',' not '_'. I know the DT spec / ePAPR
allows more, but convention is more restricted.

Rob
                        compatible = "marvell,bootrom";
                        reg = <MBUS_ID(0x01, 0xe0) 0 0x100000>;
                };
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help