Various Armada 370/XP DT warning fixup
v2 cover Various Armada 370/XP DT warning fixup
As it was done a few months ago for kirkwood, this patchset fixes up various warning from the DT compiler when using the flag W=1 with make.
In this second version I used the target and attributes property of the memory windows when MBUS_ID. Indeed by adding this information to the unit-address is really uniq as required bu the epar as explained in this email:
http://lists.infradead.org/pipermail/linux-arm-kernel/2016-November/466941.html.
As for the first version, the only remaining warnings are the following:
DTC arch/arm/boot/dts/armada-370-db.dtb
Warning (unit_address_vs_reg): Node /sound/simple-audio-card,dai-link at 0 has a unit name, but no reg property Warning (unit_address_vs_reg): Node /sound/simple-audio-card,dai-link at 1 has a unit name, but no reg property Warning (unit_address_vs_reg): Node /sound/simple-audio-card,dai-link at 2 has a unit name, but no reg property
However it seems a false positive as here the '@' is part of the name of the node and is not a reference of an address. Moreover the node name is directly used by the driver so it must not be modified.
Gregory
Gregory CLEMENT (19):
ARM: dts: armada-xp-matrix: Fix the location of the pcie-controller
node
ARM: dts: armada-370-xp: move the cpurst node in the common file
ARM: dts: armada-370-xp: add node labels
ARM: dts: armada-370-xp: Use the node labels
ARM: dts: armada-370-xp: Fixup mdio DT warning
ARM: dts: armada-370-xp: Fixup bootrom DT warning
ARM: dts: armada-370-xp: Fixup devbus DT warning
ARM: dts: armada-370-xp: Fixup bm-bppi DT warning
ARM: dts: armada-370-xp: Fixup sa-ram DT warning
ARM: dts: armada-xp: Fixup pcie DT warnings
ARM: dts: armada-370: Fixup pcie DT warnings
ARM: dts: armada-370-xp: Remove skeleton.dtsi
ARM: dts: armada-370-xp: Fixup l2-cache DT warning
ARM: dts: armada-370-xp: Fixup internal-regs DT warning
ARM: dts: armada-370-xp: Fixup soc DT warning
ARM: dts: armada-370-xp: Fixup memory DT warning
ARM: dts: armada-370-xp: Remove address from dsa unit name
ARM: dts: armada-370-xp: Remove button address and fixup names
ARM: dts: armada-370-xp: Fixup regulator DT warning
arch/arm/boot/dts/armada-370-db.dts | 67 ++++---- arch/arm/boot/dts/armada-370-dlink-dns327l.dts | 34 ++--- arch/arm/boot/dts/armada-370-mirabox.dts | 61 ++++---- arch/arm/boot/dts/armada-370-netgear-rn102.dts | 54 +++---- arch/arm/boot/dts/armada-370-netgear-rn104.dts | 62 ++++---- arch/arm/boot/dts/armada-370-rd.dts | 61 ++++---- arch/arm/boot/dts/armada-370-seagate-nas-4bay.dts | 31 ++-- arch/arm/boot/dts/armada-370-seagate-nas-xbay.dtsi | 49 +++--- .../dts/armada-370-seagate-personal-cloud-2bay.dts | 4 +- .../boot/dts/armada-370-seagate-personal-cloud.dts | 4 +- .../dts/armada-370-seagate-personal-cloud.dtsi | 48 +++--- arch/arm/boot/dts/armada-370-synology-ds213j.dts | 22 +-- arch/arm/boot/dts/armada-370-xp.dtsi | 43 +++--- arch/arm/boot/dts/armada-370.dtsi | 144 +++++++++-------- arch/arm/boot/dts/armada-xp-axpwifiap.dts | 72 ++++----- arch/arm/boot/dts/armada-xp-db.dts | 170 ++++++++++----------- arch/arm/boot/dts/armada-xp-gp.dts | 146 +++++++++--------- arch/arm/boot/dts/armada-xp-lenovo-ix4-300d.dts | 57 ++++--- arch/arm/boot/dts/armada-xp-linksys-mamba.dts | 56 +++---- arch/arm/boot/dts/armada-xp-matrix.dts | 24 +-- arch/arm/boot/dts/armada-xp-mv78230.dtsi | 16 +- arch/arm/boot/dts/armada-xp-mv78260.dtsi | 24 +-- arch/arm/boot/dts/armada-xp-mv78460.dtsi | 26 ++-- arch/arm/boot/dts/armada-xp-netgear-rn2120.dts | 71 ++++----- arch/arm/boot/dts/armada-xp-openblocks-ax3-4.dts | 124 +++++++-------- arch/arm/boot/dts/armada-xp-synology-ds414.dts | 79 +++++----- arch/arm/boot/dts/armada-xp.dtsi | 106 ++++++------- 27 files changed, 832 insertions(+), 823 deletions(-)
Signature · 1 line
2.10.2
PATCH v2 1/19 ARM: dts: armada-xp-matrix: Fix the location of the pcie-controller node
In the dts for the Marvell Armada XP Matrix board the pcie-controller was located under the internal-regs node whereas it belongs to the soc node.
It means that, until this fix, the pcie could not work for this board because it didn't match the definition of the pcie-controller node in the dtsi file. If we had a look on the decompiled dtb file we saw two different instances of the pcie-controller node: one with the all the resource set but disabled and the other without any resource but enabled.
--- arch/arm/boot/dts/armada-xp-matrix.dts | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-)
arch/arm/boot/dts/armada-xp-matrix.dts +9 -9
@@ -71,6 +71,15 @@ MBUS_ID(0x09, 0x09) 0 0 0xf1100000 0x10000 MBUS_ID(0x09, 0x05) 0 0 0xf1110000 0x10000>; + pcie-controller { + status = "okay"; + + pcie at 1,0 { + /* Port 0, Lane 0 */ + status = "okay"; + }; + }; + internal-regs { serial at 12000 { status = "okay";
@@ -99,15 +108,6 @@ }; }; - pcie-controller { - status = "okay"; - - pcie at 1,0 { - /* Port 0, Lane 0 */ - status = "okay"; - }; - }; - usb at 50000 { status = "okay"; };
Signature · 1 line
2.10.2
PATCH v2 2/19 ARM: dts: armada-370-xp: move the cpurst node in the common file
In reply to Gregory CLEMENTThe cpurst nodes are identical in armada-370.dtsi and armada-xp.dtsi files, so move it in the common armada-370-xp.dtsi file.
--- arch/arm/boot/dts/armada-370-xp.dtsi | 5 +++++ arch/arm/boot/dts/armada-370.dtsi | 5 ----- arch/arm/boot/dts/armada-xp.dtsi | 1 - 3 files changed, 5 insertions(+), 6 deletions(-)
arch/arm/boot/dts/armada-370-xp.dtsi +5 -0
@@ -228,6 +228,11 @@ reg = <0x20300 0x34>, <0x20704 0x4>; }; + cpurst at 20800 { + compatible = "marvell,armada-370-cpu-reset"; + reg = <0x20800 0x8>; + }; + pmsu at 22000 { compatible = "marvell,armada-370-pmsu"; reg = <0x22000 0x1000>;
arch/arm/boot/dts/armada-370.dtsi +0 -5
@@ -233,11 +233,6 @@ clocks = <&coreclk 2>; }; - cpurst at 20800 { - compatible = "marvell,armada-370-cpu-reset"; - reg = <0x20800 0x8>; - }; - cpu-config at 21000 { compatible = "marvell,armada-370-cpu-config"; reg = <0x21000 0x8>;
arch/arm/boot/dts/armada-xp.dtsi +0 -1
@@ -167,7 +167,6 @@ }; cpurst at 20800 { - compatible = "marvell,armada-370-cpu-reset"; reg = <0x20800 0x20>; };
Signature · 1 line
2.10.2
PATCH v2 3/19 ARM: dts: armada-370-xp: add node labels
In reply to Gregory CLEMENTAs it was previously done for kirkwood, this adds missing node labels to Armada 370 and XP common and SoC specific nodes to allow to reference them more easily.
--- arch/arm/boot/dts/armada-370-xp.dtsi | 32 ++++++++++++++++---------------- arch/arm/boot/dts/armada-370.dtsi | 20 ++++++++++---------- arch/arm/boot/dts/armada-xp-mv78230.dtsi | 12 ++++++------ arch/arm/boot/dts/armada-xp-mv78260.dtsi | 20 ++++++++++---------- arch/arm/boot/dts/armada-xp-mv78460.dtsi | 22 +++++++++++----------- arch/arm/boot/dts/armada-xp.dtsi | 12 ++++++------ 6 files changed, 59 insertions(+), 59 deletions(-)
arch/arm/boot/dts/armada-370-xp.dtsi +16 -16
@@ -86,7 +86,7 @@ pcie-mem-aperture = <0xf8000000 0x7e00000>; pcie-io-aperture = <0xffe00000 0x100000>; - devbus-bootcs { + devbus_bootcs: devbus-bootcs { compatible = "marvell,mvebu-devbus"; reg = <MBUS_ID(0xf0, 0x01) 0x10400 0x8>; ranges = <0 MBUS_ID(0x01, 0x2f) 0 0xffffffff>;
@@ -96,7 +96,7 @@ status = "disabled"; }; - devbus-cs0 { + devbus_cs0: devbus-cs0 { compatible = "marvell,mvebu-devbus"; reg = <MBUS_ID(0xf0, 0x01) 0x10408 0x8>; ranges = <0 MBUS_ID(0x01, 0x3e) 0 0xffffffff>;
@@ -106,7 +106,7 @@ status = "disabled"; }; - devbus-cs1 { + devbus_cs1: devbus-cs1 { compatible = "marvell,mvebu-devbus"; reg = <MBUS_ID(0xf0, 0x01) 0x10410 0x8>; ranges = <0 MBUS_ID(0x01, 0x3d) 0 0xffffffff>;
@@ -116,7 +116,7 @@ status = "disabled"; }; - devbus-cs2 { + devbus_cs2: devbus-cs2 { compatible = "marvell,mvebu-devbus"; reg = <MBUS_ID(0xf0, 0x01) 0x10418 0x8>; ranges = <0 MBUS_ID(0x01, 0x3b) 0 0xffffffff>;
@@ -126,7 +126,7 @@ status = "disabled"; }; - devbus-cs3 { + devbus_cs3: devbus-cs3 { compatible = "marvell,mvebu-devbus"; reg = <MBUS_ID(0xf0, 0x01) 0x10420 0x8>; ranges = <0 MBUS_ID(0x01, 0x37) 0 0xffffffff>;
@@ -142,7 +142,7 @@ #size-cells = <1>; ranges = <0 MBUS_ID(0xf0, 0x01) 0 0x100000>; - rtc at 10300 { + rtc: rtc at 10300 { compatible = "marvell,orion-rtc"; reg = <0x10300 0x20>; interrupts = <50>;
@@ -214,38 +214,38 @@ msi-controller; }; - coherency-fabric at 20200 { + coherencyfab: coherency-fabric at 20200 { compatible = "marvell,coherency-fabric"; reg = <0x20200 0xb0>, <0x21010 0x1c>; }; - timer at 20300 { + timer: timer at 20300 { reg = <0x20300 0x30>, <0x21040 0x30>; interrupts = <37>, <38>, <39>, <40>, <5>, <6>; }; - watchdog at 20300 { + watchdog: watchdog at 20300 { reg = <0x20300 0x34>, <0x20704 0x4>; }; - cpurst at 20800 { + cpurst: cpurst at 20800 { compatible = "marvell,armada-370-cpu-reset"; reg = <0x20800 0x8>; }; - pmsu at 22000 { + pmsu: pmsu at 22000 { compatible = "marvell,armada-370-pmsu"; reg = <0x22000 0x1000>; }; - usb at 50000 { + usb0: usb at 50000 { compatible = "marvell,orion-ehci"; reg = <0x50000 0x500>; interrupts = <45>; status = "disabled"; }; - usb at 51000 { + usb1: usb at 51000 { compatible = "marvell,orion-ehci"; reg = <0x51000 0x500>; interrupts = <46>;
@@ -274,7 +274,7 @@ status = "disabled"; }; - sata at a0000 { + sata: sata at a0000 { compatible = "marvell,armada-370-sata"; reg = <0xa0000 0x5000>; interrupts = <55>;
@@ -283,7 +283,7 @@ status = "disabled"; }; - nand at d0000 { + nand: nand at d0000 { compatible = "marvell,armada370-nand"; reg = <0xd0000 0x54>; #address-cells = <1>;
@@ -293,7 +293,7 @@ status = "disabled"; }; - mvsdio at d4000 { + sdio: mvsdio at d4000 { compatible = "marvell,orion-sdio"; reg = <0xd4000 0x200>; interrupts = <54>;
arch/arm/boot/dts/armada-370.dtsi +10 -10
@@ -70,7 +70,7 @@ reg = <MBUS_ID(0x01, 0xe0) 0 0x100000>; }; - pcie-controller { + pciec: pcie-controller { compatible = "marvell,armada-370-pcie"; status = "disabled"; device_type = "pci";
@@ -89,7 +89,7 @@ 0x82000000 0x2 0 MBUS_ID(0x08, 0xe8) 0 1 0 /* Port 1.0 MEM */ 0x81000000 0x2 0 MBUS_ID(0x08, 0xe0) 0 1 0 /* Port 1.0 IO */>; - pcie at 1,0 { + pcie0: pcie at 1,0 { device_type = "pci"; assigned-addresses = <0x82000800 0 0x40000 0 0x2000>; reg = <0x0800 0 0 0 0>;
@@ -106,7 +106,7 @@ status = "disabled"; }; - pcie at 2,0 { + pcie2: pcie at 2,0 { device_type = "pci"; assigned-addresses = <0x82002800 0 0x80000 0 0x2000>; reg = <0x1000 0 0 0 0>;
@@ -190,7 +190,7 @@ pinctrl-names = "default"; }; - system-controller at 18200 { + systemc: system-controller at 18200 { compatible = "marvell,armada-370-xp-system-controller"; reg = <0x18200 0x100>; };
@@ -208,14 +208,14 @@ #clock-cells = <1>; }; - thermal at 18300 { + thermal: thermal at 18300 { compatible = "marvell,armada370-thermal"; reg = <0x18300 0x4 0x18304 0x4>; status = "okay"; }; - sscg at 18330 { + sscg: sscg at 18330 { reg = <0x18330 0x4>; };
@@ -233,7 +233,7 @@ clocks = <&coreclk 2>; }; - cpu-config at 21000 { + cpuconf: cpu-config at 21000 { compatible = "marvell,armada-370-cpu-config"; reg = <0x21000 0x8>; };
@@ -256,7 +256,7 @@ clocks = <&coreclk 0>; }; - xor at 60800 { + xor0: xor at 60800 { compatible = "marvell,orion-xor"; reg = <0x60800 0x100 0x60A00 0x100>;
@@ -275,7 +275,7 @@ }; }; - xor at 60900 { + xor1: xor at 60900 { compatible = "marvell,orion-xor"; reg = <0x60900 0x100 0x60b00 0x100>;
@@ -302,7 +302,7 @@ compatible = "marvell,armada-370-neta"; }; - crypto at 90000 { + cesa: crypto at 90000 { compatible = "marvell,armada-370-crypto"; reg = <0x90000 0x10000>; reg-names = "regs";
arch/arm/boot/dts/armada-xp-mv78230.dtsi +6 -6
@@ -86,7 +86,7 @@ * configured as x4 or quad x1 lanes. One unit is * x1 only. */ - pcie-controller { + pciec: pcie-controller { compatible = "marvell,armada-xp-pcie"; status = "disabled"; device_type = "pci";
@@ -114,7 +114,7 @@ 0x82000000 0x5 0 MBUS_ID(0x08, 0xe8) 0 1 0 /* Port 1.0 MEM */ 0x81000000 0x5 0 MBUS_ID(0x08, 0xe0) 0 1 0 /* Port 1.0 IO */>; - pcie at 1,0 { + pcie1: pcie at 1,0 { device_type = "pci"; assigned-addresses = <0x82000800 0 0x40000 0 0x2000>; reg = <0x0800 0 0 0 0>;
@@ -131,7 +131,7 @@ status = "disabled"; }; - pcie at 2,0 { + pcie2: pcie at 2,0 { device_type = "pci"; assigned-addresses = <0x82000800 0 0x44000 0 0x2000>; reg = <0x1000 0 0 0 0>;
@@ -148,7 +148,7 @@ status = "disabled"; }; - pcie at 3,0 { + pcie3: pcie at 3,0 { device_type = "pci"; assigned-addresses = <0x82000800 0 0x48000 0 0x2000>; reg = <0x1800 0 0 0 0>;
@@ -165,7 +165,7 @@ status = "disabled"; }; - pcie at 4,0 { + pcie4: pcie at 4,0 { device_type = "pci"; assigned-addresses = <0x82000800 0 0x4c000 0 0x2000>; reg = <0x2000 0 0 0 0>;
@@ -182,7 +182,7 @@ status = "disabled"; }; - pcie at 5,0 { + pcie5: pcie at 5,0 { device_type = "pci"; assigned-addresses = <0x82000800 0 0x80000 0 0x2000>; reg = <0x2800 0 0 0 0>;
arch/arm/boot/dts/armada-xp-mv78260.dtsi +10 -10
@@ -87,7 +87,7 @@ * configured as x4 or quad x1 lanes. One unit is * x4 only. */ - pcie-controller { + pciec: pcie-controller { compatible = "marvell,armada-xp-pcie"; status = "disabled"; device_type = "pci";
@@ -129,7 +129,7 @@ 0x82000000 0x9 0 MBUS_ID(0x04, 0xf8) 0 1 0 /* Port 2.0 MEM */ 0x81000000 0x9 0 MBUS_ID(0x04, 0xf0) 0 1 0 /* Port 2.0 IO */>; - pcie at 1,0 { + pcie1: pcie at 1,0 { device_type = "pci"; assigned-addresses = <0x82000800 0 0x40000 0 0x2000>; reg = <0x0800 0 0 0 0>;
@@ -146,7 +146,7 @@ status = "disabled"; }; - pcie at 2,0 { + pcie2: pcie at 2,0 { device_type = "pci"; assigned-addresses = <0x82000800 0 0x44000 0 0x2000>; reg = <0x1000 0 0 0 0>;
@@ -163,7 +163,7 @@ status = "disabled"; }; - pcie at 3,0 { + pcie3: pcie at 3,0 { device_type = "pci"; assigned-addresses = <0x82000800 0 0x48000 0 0x2000>; reg = <0x1800 0 0 0 0>;
@@ -180,7 +180,7 @@ status = "disabled"; }; - pcie at 4,0 { + pcie4: pcie at 4,0 { device_type = "pci"; assigned-addresses = <0x82000800 0 0x4c000 0 0x2000>; reg = <0x2000 0 0 0 0>;
@@ -197,7 +197,7 @@ status = "disabled"; }; - pcie at 5,0 { + pcie5: pcie at 5,0 { device_type = "pci"; assigned-addresses = <0x82000800 0 0x80000 0 0x2000>; reg = <0x2800 0 0 0 0>;
@@ -214,7 +214,7 @@ status = "disabled"; }; - pcie at 6,0 { + pcie6: pcie at 6,0 { device_type = "pci"; assigned-addresses = <0x82000800 0 0x84000 0 0x2000>; reg = <0x3000 0 0 0 0>;
@@ -231,7 +231,7 @@ status = "disabled"; }; - pcie at 7,0 { + pcie7: pcie at 7,0 { device_type = "pci"; assigned-addresses = <0x82000800 0 0x88000 0 0x2000>; reg = <0x3800 0 0 0 0>;
@@ -248,7 +248,7 @@ status = "disabled"; }; - pcie at 8,0 { + pcie8: pcie at 8,0 { device_type = "pci"; assigned-addresses = <0x82000800 0 0x8c000 0 0x2000>; reg = <0x4000 0 0 0 0>;
@@ -265,7 +265,7 @@ status = "disabled"; }; - pcie at 9,0 { + pcie9: pcie at 9,0 { device_type = "pci"; assigned-addresses = <0x82000800 0 0x42000 0 0x2000>; reg = <0x4800 0 0 0 0>;
arch/arm/boot/dts/armada-xp-mv78460.dtsi +11 -11
@@ -104,7 +104,7 @@ * configured as x4 or quad x1 lanes. Two units are * x4/x1. */ - pcie-controller { + pciec: pcie-controller { compatible = "marvell,armada-xp-pcie"; status = "disabled"; device_type = "pci";
@@ -150,7 +150,7 @@ 0x82000000 0xa 0 MBUS_ID(0x08, 0xf8) 0 1 0 /* Port 3.0 MEM */ 0x81000000 0xa 0 MBUS_ID(0x08, 0xf0) 0 1 0 /* Port 3.0 IO */>; - pcie at 1,0 { + pcie1: pcie at 1,0 { device_type = "pci"; assigned-addresses = <0x82000800 0 0x40000 0 0x2000>; reg = <0x0800 0 0 0 0>;
@@ -167,7 +167,7 @@ status = "disabled"; }; - pcie at 2,0 { + pcie2: pcie at 2,0 { device_type = "pci"; assigned-addresses = <0x82001000 0 0x44000 0 0x2000>; reg = <0x1000 0 0 0 0>;
@@ -184,7 +184,7 @@ status = "disabled"; }; - pcie at 3,0 { + pcie3: pcie at 3,0 { device_type = "pci"; assigned-addresses = <0x82001800 0 0x48000 0 0x2000>; reg = <0x1800 0 0 0 0>;
@@ -201,7 +201,7 @@ status = "disabled"; }; - pcie at 4,0 { + pcie4: pcie at 4,0 { device_type = "pci"; assigned-addresses = <0x82002000 0 0x4c000 0 0x2000>; reg = <0x2000 0 0 0 0>;
@@ -218,7 +218,7 @@ status = "disabled"; }; - pcie at 5,0 { + pcie5: pcie at 5,0 { device_type = "pci"; assigned-addresses = <0x82002800 0 0x80000 0 0x2000>; reg = <0x2800 0 0 0 0>;
@@ -235,7 +235,7 @@ status = "disabled"; }; - pcie at 6,0 { + pcie6: pcie at 6,0 { device_type = "pci"; assigned-addresses = <0x82003000 0 0x84000 0 0x2000>; reg = <0x3000 0 0 0 0>;
@@ -252,7 +252,7 @@ status = "disabled"; }; - pcie at 7,0 { + pcie7: pcie at 7,0 { device_type = "pci"; assigned-addresses = <0x82003800 0 0x88000 0 0x2000>; reg = <0x3800 0 0 0 0>;
@@ -269,7 +269,7 @@ status = "disabled"; }; - pcie at 8,0 { + pcie8: pcie at 8,0 { device_type = "pci"; assigned-addresses = <0x82004000 0 0x8c000 0 0x2000>; reg = <0x4000 0 0 0 0>;
@@ -286,7 +286,7 @@ status = "disabled"; }; - pcie at 9,0 { + pcie9: pcie at 9,0 { device_type = "pci"; assigned-addresses = <0x82004800 0 0x42000 0 0x2000>; reg = <0x4800 0 0 0 0>;
@@ -303,7 +303,7 @@ status = "disabled"; }; - pcie at 10,0 { + pcie10: pcie at 10,0 { device_type = "pci"; assigned-addresses = <0x82005000 0 0x82000 0 0x2000>; reg = <0x5000 0 0 0 0>;
arch/arm/boot/dts/armada-xp.dtsi +6 -6
@@ -118,7 +118,7 @@ status = "disabled"; }; - system-controller at 18200 { + systemc: system-controller at 18200 { compatible = "marvell,armada-370-xp-system-controller"; reg = <0x18200 0x500>; };
@@ -136,7 +136,7 @@ #clock-cells = <1>; }; - thermal at 182b0 { + thermal: thermal at 182b0 { compatible = "marvell,armadaxp-thermal"; reg = <0x182b0 0x4 0x184d0 0x4>;
@@ -191,7 +191,7 @@ clocks = <&gateclk 19>; }; - usb at 52000 { + usb2: usb at 52000 { compatible = "marvell,orion-ehci"; reg = <0x52000 0x500>; interrupts = <47>;
@@ -199,7 +199,7 @@ status = "disabled"; }; - xor at 60900 { + xor1: xor at 60900 { compatible = "marvell,orion-xor"; reg = <0x60900 0x100 0x60b00 0x100>;
@@ -227,7 +227,7 @@ compatible = "marvell,armada-xp-neta"; }; - crypto at 90000 { + cesa: crypto at 90000 { compatible = "marvell,armada-xp-crypto"; reg = <0x90000 0x10000>; reg-names = "regs";
@@ -247,7 +247,7 @@ status = "disabled"; }; - xor at f0900 { + xor0: xor at f0900 { compatible = "marvell,orion-xor"; reg = <0xF0900 0x100 0xF0B00 0x100>;
Signature · 1 line
2.10.2
PATCH v2 4/19 ARM: dts: armada-370-xp: Use the node labels
In reply to Gregory CLEMENTUse the node label when possible. As a result it flattens the device tree and it makes more visible the IP blocks specific to each SoC variant.
--- arch/arm/boot/dts/armada-370.dtsi | 105 +++++++++++++++++++------------------- arch/arm/boot/dts/armada-xp.dtsi | 76 +++++++++++++-------------- 2 files changed, 91 insertions(+), 90 deletions(-)
arch/arm/boot/dts/armada-370.dtsi +53 -52
@@ -134,14 +134,6 @@ wt-override; }; - i2c0: i2c at 11000 { - reg = <0x11000 0x20>; - }; - - i2c1: i2c at 11100 { - reg = <0x11100 0x20>; - }; - gpio0: gpio at 18100 { compatible = "marvell,orion-gpio"; reg = <0x18100 0x40>;
@@ -175,20 +167,6 @@ interrupts = <91>; }; - /* - * Default UART pinctrl setting without RTS/CTS, can - * be overwritten on board level if a different - * configuration is used. - */ - uart0: serial at 12000 { - pinctrl-0 = <&uart0_pins>; - pinctrl-names = "default"; - }; - - uart1: serial at 12100 { - pinctrl-0 = <&uart1_pins>; - pinctrl-names = "default"; - }; systemc: system-controller at 18200 { compatible = "marvell,armada-370-xp-system-controller";
@@ -219,20 +197,6 @@ reg = <0x18330 0x4>; }; - interrupt-controller at 20a00 { - reg = <0x20a00 0x1d0>, <0x21870 0x58>; - }; - - timer at 20300 { - compatible = "marvell,armada-370-timer"; - clocks = <&coreclk 2>; - }; - - watchdog at 20300 { - compatible = "marvell,armada-370-wdt"; - clocks = <&coreclk 2>; - }; - cpuconf: cpu-config at 21000 { compatible = "marvell,armada-370-cpu-config"; reg = <0x21000 0x8>;
@@ -248,14 +212,6 @@ status = "disabled"; }; - usb at 50000 { - clocks = <&coreclk 0>; - }; - - usb at 51000 { - clocks = <&coreclk 0>; - }; - xor0: xor at 60800 { compatible = "marvell,orion-xor"; reg = <0x60800 0x100
@@ -294,14 +250,6 @@ }; }; - ethernet at 70000 { - compatible = "marvell,armada-370-neta"; - }; - - ethernet at 74000 { - compatible = "marvell,armada-370-neta"; - }; - cesa: crypto@90000 { compatible = "marvell,armada-370-crypto"; reg = <0x90000 0x10000>;
@@ -337,6 +285,59 @@ }; }; +/* + * Default UART pinctrl setting without RTS/CTS, can be overwritten on + * board level if a different configuration is used. + */ + +&uart0 { + pinctrl-0 = <&uart0_pins>; + pinctrl-names = "default"; +}; + +&uart1 { + pinctrl-0 = <&uart1_pins>; + pinctrl-names = "default"; +}; + +&i2c0 { + reg = <0x11000 0x20>; +}; + +&i2c1 { + reg = <0x11100 0x20>; +}; + +&mpic { + reg = <0x20a00 0x1d0>, <0x21870 0x58>; +}; + +&timer { + compatible = "marvell,armada-370-timer"; + clocks = <&coreclk 2>; +}; + +&watchdog { + compatible = "marvell,armada-370-wdt"; + clocks = <&coreclk 2>; +}; + +&usb0 { + clocks = <&coreclk 0>; +}; + +&usb1 { + clocks = <&coreclk 0>; +}; + +ð0 { + compatible = "marvell,armada-370-neta"; +}; + +ð1 { + compatible = "marvell,armada-370-neta"; +}; + &pinctrl { compatible = "marvell,mv88f6710-pinctrl";
arch/arm/boot/dts/armada-xp.dtsi +38 -38
100 lines not on this page · raw message
Signature · 1 line
2.10.2
PATCH v2 5/19 ARM: dts: armada-370-xp: Fixup mdio DT warning
In reply to Gregory CLEMENTMDIO has a reg property so the unit name should contain an address. Take the opportunity to use the node label instead of the full name.
--- arch/arm/boot/dts/armada-370-db.dts | 24 +++++++-------- arch/arm/boot/dts/armada-370-mirabox.dts | 23 +++++++------- arch/arm/boot/dts/armada-370-netgear-rn102.dts | 16 +++++----- arch/arm/boot/dts/armada-370-netgear-rn104.dts | 24 +++++++-------- arch/arm/boot/dts/armada-370-rd.dts | 19 ++++++------ arch/arm/boot/dts/armada-370-seagate-nas-4bay.dts | 13 ++++---- arch/arm/boot/dts/armada-370-seagate-nas-xbay.dtsi | 18 +++++------ .../dts/armada-370-seagate-personal-cloud.dtsi | 18 +++++------ arch/arm/boot/dts/armada-370-synology-ds213j.dts | 12 ++++---- arch/arm/boot/dts/armada-370-xp.dtsi | 2 +- arch/arm/boot/dts/armada-xp-axpwifiap.dts | 20 ++++++------ arch/arm/boot/dts/armada-xp-db.dts | 36 +++++++++++----------- arch/arm/boot/dts/armada-xp-gp.dts | 36 +++++++++++----------- arch/arm/boot/dts/armada-xp-lenovo-ix4-300d.dts | 20 ++++++------ arch/arm/boot/dts/armada-xp-netgear-rn2120.dts | 21 +++++++------ arch/arm/boot/dts/armada-xp-openblocks-ax3-4.dts | 36 +++++++++++----------- arch/arm/boot/dts/armada-xp-synology-ds414.dts | 20 ++++++------ 17 files changed, 181 insertions(+), 177 deletions(-)
arch/arm/boot/dts/armada-370-db.dts +12 -12
@@ -86,18 +86,6 @@ status = "okay"; }; - mdio { - pinctrl-0 = <&mdio_pins>; - pinctrl-names = "default"; - phy0: ethernet-phy at 0 { - reg = <0>; - }; - - phy1: ethernet-phy at 1 { - reg = <1>; - }; - }; - ethernet at 70000 { pinctrl-0 = <&ge0_rgmii_pins>; pinctrl-names = "default";
@@ -260,6 +248,18 @@ compatible = "linux,spdif-dir"; }; }; +&mdio { + pinctrl-0 = <&mdio_pins>; + pinctrl-names = "default"; + phy0: ethernet-phy at 0 { + reg = <0>; + }; + + phy1: ethernet-phy at 1 { + reg = <1>; + }; +}; + &spi0 { pinctrl-0 = <&spi0_pins2>;
arch/arm/boot/dts/armada-370-mirabox.dts +12 -11
@@ -113,17 +113,6 @@ }; }; - mdio { - pinctrl-0 = <&mdio_pins>; - pinctrl-names = "default"; - phy0: ethernet-phy at 0 { - reg = <0>; - }; - - phy1: ethernet-phy at 1 { - reg = <1>; - }; - }; ethernet at 70000 { pinctrl-0 = <&ge0_rgmii_pins>; pinctrl-names = "default";
@@ -197,6 +186,18 @@ }; }; +&mdio { + pinctrl-0 = <&mdio_pins>; + pinctrl-names = "default"; + phy0: ethernet-phy at 0 { + reg = <0>; + }; + + phy1: ethernet-phy at 1 { + reg = <1>; + }; +}; + &pinctrl { pwr_led_pin: pwr-led-pin { marvell,pins = "mpp63";
arch/arm/boot/dts/armada-370-netgear-rn102.dts +8 -8
@@ -99,14 +99,6 @@ status = "okay"; }; - mdio { - pinctrl-0 = <&mdio_pins>; - pinctrl-names = "default"; - phy0: ethernet-phy at 0 { /* Marvell 88E1318 */ - reg = <0>; - }; - }; - ethernet at 74000 { pinctrl-0 = <&ge1_rgmii_pins>; pinctrl-names = "default";
@@ -260,6 +252,14 @@ }; }; +&mdio { + pinctrl-0 = <&mdio_pins>; + pinctrl-names = "default"; + phy0: ethernet-phy at 0 { /* Marvell 88E1318 */ + reg = <0>; + }; +}; + &pinctrl { power_led_pin: power-led-pin { marvell,pins = "mpp57";
arch/arm/boot/dts/armada-370-netgear-rn104.dts +12 -12
@@ -93,18 +93,6 @@ status = "okay"; }; - mdio { - pinctrl-0 = <&mdio_pins>; - pinctrl-names = "default"; - phy0: ethernet-phy at 0 { /* Marvell 88E1318 */ - reg = <0>; - }; - - phy1: ethernet-phy at 1 { /* Marvell 88E1318 */ - reg = <1>; - }; - }; - ethernet at 70000 { pinctrl-0 = <&ge0_rgmii_pins>; pinctrl-names = "default";
@@ -282,6 +270,18 @@ }; }; +&mdio { + pinctrl-0 = <&mdio_pins>; + pinctrl-names = "default"; + phy0: ethernet-phy at 0 { /* Marvell 88E1318 */ + reg = <0>; + }; + + phy1: ethernet-phy at 1 { /* Marvell 88E1318 */ + reg = <1>; + }; +}; + &pinctrl { poweroff: poweroff { marvell,pins = "mpp60";
arch/arm/boot/dts/armada-370-rd.dts +10 -9
@@ -102,14 +102,6 @@ status = "okay"; }; - mdio { - pinctrl-0 = <&mdio_pins>; - pinctrl-names = "default"; - phy0: ethernet-phy at 0 { - reg = <0>; - }; - }; - ethernet at 70000 { status = "okay"; phy = <&phy0>;
@@ -235,7 +227,16 @@ }; }; }; - }; +}; + +&mdio { + pinctrl-0 = <&mdio_pins>; + pinctrl-names = "default"; + phy0: ethernet-phy at 0 { + reg = <0>; + }; +}; + &pinctrl { fan_pins: fan-pins {
arch/arm/boot/dts/armada-370-seagate-nas-4bay.dts +7 -6
@@ -36,12 +36,6 @@ }; internal-regs { - mdio { - phy1: ethernet-phy at 1 { - reg = <1>; - }; - }; - ethernet at 74000 { status = "okay"; pinctrl-0 = <&ge1_rgmii_pins>;
@@ -131,3 +125,10 @@ 1300 0>; }; }; + +&mdio { + phy1: ethernet-phy at 1 { + reg = <1>; + }; +}; +
arch/arm/boot/dts/armada-370-seagate-nas-xbay.dtsi +9 -9
@@ -51,15 +51,6 @@ status = "okay"; }; - mdio { - pinctrl-0 = <&mdio_pins>; - pinctrl-names = "default"; - - phy0: ethernet-phy at 0 { - reg = <0>; - }; - }; - ethernet at 70000 { status = "okay"; pinctrl-0 = <&ge0_rgmii_pins>;
@@ -208,6 +199,15 @@ }; }; +&mdio { + pinctrl-0 = <&mdio_pins>; + pinctrl-names = "default"; + + phy0: ethernet-phy at 0 { + reg = <0>; + }; +}; + &pinctrl { pinctrl-0 = <&hdd0_led_sata_pin>, <&hdd1_led_sata_pin>; pinctrl-names = "default";
arch/arm/boot/dts/armada-370-seagate-personal-cloud.dtsi +9 -9
@@ -51,15 +51,6 @@ status = "okay"; }; - mdio { - pinctrl-0 = <&mdio_pins>; - pinctrl-names = "default"; - - phy0: ethernet-phy at 0 { - reg = <0>; - }; - }; - ethernet at 74000 { status = "okay"; pinctrl-0 = <&ge1_rgmii_pins>;
@@ -143,6 +134,15 @@ }; }; +&mdio { + pinctrl-0 = <&mdio_pins>; + pinctrl-names = "default"; + + phy0: ethernet-phy at 0 { + reg = <0>; + }; +}; + &pinctrl { pinctrl-0 = <&sata_led_pin>; pinctrl-names = "default";
arch/arm/boot/dts/armada-370-synology-ds213j.dts +6 -6
@@ -127,12 +127,6 @@ status = "okay"; }; - mdio { - phy1: ethernet-phy at 1 { /* Marvell 88E1512 */ - reg = <1>; - }; - }; - ethernet at 70000 { status = "okay"; phy = <&phy1>;
@@ -220,6 +214,12 @@ }; }; +&mdio { + phy1: ethernet-phy at 1 { /* Marvell 88E1512 */ + reg = <1>; + }; +}; + &pinctrl { disk1_led_pin: disk1-led-pin { marvell,pins = "mpp31";
arch/arm/boot/dts/armada-370-xp.dtsi +1 -1
@@ -259,7 +259,7 @@ status = "disabled"; }; - mdio: mdio { + mdio: mdio at 72004 { #address-cells = <1>; #size-cells = <0>; compatible = "marvell,orion-mdio";
arch/arm/boot/dts/armada-xp-axpwifiap.dts +10 -10
@@ -111,16 +111,6 @@ status = "okay"; }; - mdio { - phy0: ethernet-phy at 0 { - reg = <0>; - }; - - phy1: ethernet-phy at 1 { - reg = <1>; - }; - }; - ethernet at 70000 { pinctrl-0 = <&ge0_rgmii_pins>; pinctrl-names = "default";
@@ -153,6 +143,16 @@ }; }; +&mdio { + phy0: ethernet-phy at 0 { + reg = <0>; + }; + + phy1: ethernet-phy at 1 { + reg = <1>; + }; +}; + &pinctrl { pinctrl-0 = <&phy_int_pin>; pinctrl-names = "default";
arch/arm/boot/dts/armada-xp-db.dts +18 -18
@@ -160,24 +160,6 @@ status = "okay"; }; - mdio { - phy0: ethernet-phy at 0 { - reg = <0>; - }; - - phy1: ethernet-phy at 1 { - reg = <1>; - }; - - phy2: ethernet-phy at 2 { - reg = <25>; - }; - - phy3: ethernet-phy at 3 { - reg = <27>; - }; - }; - ethernet at 70000 { status = "okay"; phy = <&phy0>;
@@ -266,6 +248,24 @@ }; }; +&mdio { + phy0: ethernet-phy at 0 { + reg = <0>; + }; + + phy1: ethernet-phy at 1 { + reg = <1>; + }; + + phy2: ethernet-phy at 2 { + reg = <25>; + }; + + phy3: ethernet-phy at 3 { + reg = <27>; + }; +}; + &spi0 { status = "okay";
arch/arm/boot/dts/armada-xp-gp.dts +18 -18
@@ -175,24 +175,6 @@ status = "okay"; }; - mdio { - phy0: ethernet-phy at 0 { - reg = <16>; - }; - - phy1: ethernet-phy at 1 { - reg = <17>; - }; - - phy2: ethernet-phy at 2 { - reg = <18>; - }; - - phy3: ethernet-phy at 3 { - reg = <19>; - }; - }; - ethernet at 70000 { status = "okay"; phy = <&phy0>;
@@ -251,6 +233,24 @@ }; }; +&mdio { + phy0: ethernet-phy at 0 { + reg = <16>; + }; + + phy1: ethernet-phy at 1 { + reg = <17>; + }; + + phy2: ethernet-phy at 2 { + reg = <18>; + }; + + phy3: ethernet-phy at 3 { + reg = <19>; + }; +}; + &spi0 { status = "okay";
arch/arm/boot/dts/armada-xp-lenovo-ix4-300d.dts +10 -10
@@ -89,16 +89,6 @@ status = "okay"; }; - mdio { - phy0: ethernet-phy at 0 { /* Marvell 88E1318 */ - reg = <0>; - }; - - phy1: ethernet-phy at 1 { /* Marvell 88E1318 */ - reg = <1>; - }; - }; - ethernet at 70000 { pinctrl-0 = <&ge0_rgmii_pins>; pinctrl-names = "default";
@@ -296,6 +286,16 @@ }; }; +&mdio { + phy0: ethernet-phy at 0 { /* Marvell 88E1318 */ + reg = <0>; + }; + + phy1: ethernet-phy at 1 { /* Marvell 88E1318 */ + reg = <1>; + }; +}; + &pinctrl { poweroff_pin: poweroff-pin { marvell,pins = "mpp24";
arch/arm/boot/dts/armada-xp-netgear-rn2120.dts +11 -10
@@ -153,16 +153,6 @@ status = "okay"; }; - mdio { - phy0: ethernet-phy at 0 { /* Marvell 88E1318 */ - reg = <0>; - }; - - phy1: ethernet-phy at 1 { /* Marvell 88E1318 */ - reg = <1>; - }; - }; - ethernet at 70000 { pinctrl-0 = <&ge0_rgmii_pins>; pinctrl-names = "default";
@@ -300,6 +290,17 @@ }; }; +&mdio { + phy0: ethernet-phy at 0 { /* Marvell 88E1318 */ + reg = <0>; + }; + + phy1: ethernet-phy at 1 { /* Marvell 88E1318 */ + reg = <1>; + }; +}; + + &pinctrl { poweroff: poweroff { marvell,pins = "mpp42";
arch/arm/boot/dts/armada-xp-openblocks-ax3-4.dts +18 -18
@@ -155,24 +155,6 @@ }; }; - mdio { - phy0: ethernet-phy at 0 { - reg = <0>; - }; - - phy1: ethernet-phy at 1 { - reg = <1>; - }; - - phy2: ethernet-phy at 2 { - reg = <2>; - }; - - phy3: ethernet-phy at 3 { - reg = <3>; - }; - }; - ethernet at 70000 { status = "okay"; phy = <&phy0>;
@@ -240,6 +222,24 @@ }; }; +&mdio { + phy0: ethernet-phy at 0 { + reg = <0>; + }; + + phy1: ethernet-phy at 1 { + reg = <1>; + }; + + phy2: ethernet-phy at 2 { + reg = <2>; + }; + + phy3: ethernet-phy at 3 { + reg = <3>; + }; +}; + &pinctrl { led_pins: led-pins-0 { marvell,pins = "mpp49", "mpp51", "mpp53";
arch/arm/boot/dts/armada-xp-synology-ds414.dts +10 -10
@@ -150,16 +150,6 @@ status = "okay"; }; - mdio { - phy0: ethernet-phy at 0 { /* Marvell 88E1512 */ - reg = <0>; - }; - - phy1: ethernet-phy at 1 { /* Marvell 88E1512 */ - reg = <1>; - }; - }; - ethernet at 70000 { status = "okay"; pinctrl-0 = <&ge0_rgmii_pins>;
@@ -240,6 +230,16 @@ }; }; +&mdio { + phy0: ethernet-phy at 0 { /* Marvell 88E1512 */ + reg = <0>; + }; + + phy1: ethernet-phy at 1 { /* Marvell 88E1512 */ + reg = <1>; + }; +}; + &pinctrl { sata1_pwr_pin: sata1-pwr-pin { marvell,pins = "mpp42";
Signature · 1 line
2.10.2
PATCH v2 6/19 ARM: dts: armada-370-xp: Fixup bootrom DT warning
In reply to Gregory CLEMENTbootrom has a reg property so the unit name should contain an address.
--- arch/arm/boot/dts/armada-370.dtsi | 2 +- arch/arm/boot/dts/armada-xp.dtsi | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
arch/arm/boot/dts/armada-370.dtsi +1 -1
@@ -65,7 +65,7 @@ soc { compatible = "marvell,armada370-mbus", "simple-bus"; - bootrom { + bootrom at 01_e0_0 { compatible = "marvell,bootrom"; reg = <MBUS_ID(0x01, 0xe0) 0 0x100000>; };
arch/arm/boot/dts/armada-xp.dtsi +1 -1
@@ -64,7 +64,7 @@ soc { compatible = "marvell,armadaxp-mbus", "simple-bus"; - bootrom { + bootrom at 01_1d_0 { compatible = "marvell,bootrom"; reg = <MBUS_ID(0x01, 0x1d) 0 0x100000>; };
Signature · 1 line
2.10.2
PATCH v2 6/19 ARM: dts: armada-370-xp: Fixup bootrom DT warning
Quoted 13 lines · Gregory CLEMENT
bootrom has a reg property so the unit name should contain an address.
Signed-off-by Gregory CLEMENT <[email protected]>--- arch/arm/boot/dts/armada-370.dtsi | 2 +- arch/arm/boot/dts/armada-xp.dtsi | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)arch/arm/boot/dts/armada-370.dtsi +0
-0
arch/arm/boot/dts/armada-370.dtsi line 68
Quoted 5 lines
arch/arm/boot/dts/armada-370.dtsi +1
-1@@ -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
Quoted 3 lines
arch/arm/boot/dts/armada-370.dtsi +0
-0compatible = "marvell,bootrom"; reg = <MBUS_ID(0x01, 0xe0) 0 0x100000>; };
PATCH v2 7/19 ARM: dts: armada-370-xp: Fixup devbus DT warning
In reply to Gregory CLEMENTdevbus has a reg property so the unit name should contain an address. Take the opportunity to use the node label instead of the full name.
--- arch/arm/boot/dts/armada-370-xp.dtsi | 10 ++--- arch/arm/boot/dts/armada-xp-db.dts | 56 ++++++++++++------------ arch/arm/boot/dts/armada-xp-gp.dts | 56 ++++++++++++------------ arch/arm/boot/dts/armada-xp-openblocks-ax3-4.dts | 56 ++++++++++++------------ 4 files changed, 89 insertions(+), 89 deletions(-)
arch/arm/boot/dts/armada-370-xp.dtsi +5 -5
@@ -86,7 +86,7 @@ pcie-mem-aperture = <0xf8000000 0x7e00000>; pcie-io-aperture = <0xffe00000 0x100000>; - devbus_bootcs: devbus-bootcs { + devbus_bootcs: devbus-bootcs at f0_01_10400 { compatible = "marvell,mvebu-devbus"; reg = <MBUS_ID(0xf0, 0x01) 0x10400 0x8>; ranges = <0 MBUS_ID(0x01, 0x2f) 0 0xffffffff>;
@@ -96,7 +96,7 @@ status = "disabled"; }; - devbus_cs0: devbus-cs0 { + devbus_cs0: devbus-cs at f0_01_10408 { compatible = "marvell,mvebu-devbus"; reg = <MBUS_ID(0xf0, 0x01) 0x10408 0x8>; ranges = <0 MBUS_ID(0x01, 0x3e) 0 0xffffffff>;
@@ -106,7 +106,7 @@ status = "disabled"; }; - devbus_cs1: devbus-cs1 { + devbus_cs1: devbus-cs at f0_01_10410 { compatible = "marvell,mvebu-devbus"; reg = <MBUS_ID(0xf0, 0x01) 0x10410 0x8>; ranges = <0 MBUS_ID(0x01, 0x3d) 0 0xffffffff>;
@@ -116,7 +116,7 @@ status = "disabled"; }; - devbus_cs2: devbus-cs2 { + devbus_cs2: devbus-cs at f0_01_10448 { compatible = "marvell,mvebu-devbus"; reg = <MBUS_ID(0xf0, 0x01) 0x10418 0x8>; ranges = <0 MBUS_ID(0x01, 0x3b) 0 0xffffffff>;
@@ -126,7 +126,7 @@ status = "disabled"; }; - devbus_cs3: devbus-cs3 { + devbus_cs3: devbus-cs at f0_01_10420 { compatible = "marvell,mvebu-devbus"; reg = <MBUS_ID(0xf0, 0x01) 0x10420 0x8>; ranges = <0 MBUS_ID(0x01, 0x37) 0 0xffffffff>;
arch/arm/boot/dts/armada-xp-db.dts +28 -28
68 lines not on this page · raw message
arch/arm/boot/dts/armada-xp-gp.dts +28 -28
68 lines not on this page · raw message
arch/arm/boot/dts/armada-xp-openblocks-ax3-4.dts +28 -28
68 lines not on this page · raw message
Signature · 1 line
2.10.2
PATCH v2 8/19 ARM: dts: armada-370-xp: Fixup bm-bppi DT warning
In reply to Gregory CLEMENTbm-bppi has a reg property so the unit name should contain an address. Take the opportunity to use the node label instead of the full name.
--- arch/arm/boot/dts/armada-xp-db.dts | 8 ++++---- arch/arm/boot/dts/armada-xp-gp.dts | 8 ++++---- arch/arm/boot/dts/armada-xp-openblocks-ax3-4.dts | 8 ++++---- arch/arm/boot/dts/armada-xp.dtsi | 2 +- 4 files changed, 13 insertions(+), 13 deletions(-)
arch/arm/boot/dts/armada-xp-db.dts +4 -4
@@ -213,10 +213,6 @@ }; }; }; - - bm-bppi { - status = "okay"; - }; }; };
@@ -248,6 +244,10 @@ }; }; +&bm_bppi { + status = "okay"; +}; + &mdio { phy0: ethernet-phy at 0 { reg = <0>;
arch/arm/boot/dts/armada-xp-gp.dts +4 -4
@@ -198,10 +198,6 @@ nand-on-flash-bbt; }; }; - - bm-bppi { - status = "okay"; - }; }; };
@@ -233,6 +229,10 @@ }; }; +&bm_bppi { + status = "okay"; +}; + &mdio { phy0: ethernet-phy at 0 { reg = <16>;
arch/arm/boot/dts/armada-xp-openblocks-ax3-4.dts +4 -4
@@ -187,10 +187,6 @@ status = "okay"; }; }; - - bm-bppi { - status = "okay"; - }; }; };
@@ -222,6 +218,10 @@ }; }; +&bm_bppi { + status = "okay"; +}; + &mdio { phy0: ethernet-phy at 0 { reg = <0>;
arch/arm/boot/dts/armada-xp.dtsi +1 -1
@@ -248,7 +248,7 @@ ranges = <0 MBUS_ID(0x09, 0x05) 0 0x800>; }; - bm_bppi: bm-bppi { + bm_bppi: bm-bppi at 0c_04_0 { compatible = "mmio-sram"; reg = <MBUS_ID(0x0c, 0x04) 0 0x100000>; ranges = <0 MBUS_ID(0x0c, 0x04) 0 0x100000>;
Signature · 1 line
2.10.2
PATCH v2 9/19 ARM: dts: armada-370-xp: Fixup sa-ram DT warning
In reply to Gregory CLEMENTsa-ram which is a mmio-sram has a reg property so the unit name should contain an address.
--- arch/arm/boot/dts/armada-370.dtsi | 2 +- arch/arm/boot/dts/armada-xp.dtsi | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-)
arch/arm/boot/dts/armada-370.dtsi +1 -1
@@ -262,7 +262,7 @@ }; }; - crypto_sram: sa-sram { + crypto_sram: sa-sram at 09_01_0 { compatible = "mmio-sram"; reg = <MBUS_ID(0x09, 0x01) 0 0x800>; reg-names = "sram";
arch/arm/boot/dts/armada-xp.dtsi +2 -2
@@ -230,7 +230,7 @@ }; }; - crypto_sram0: sa-sram0 { + crypto_sram0: sa-sram at 09_09_0 { compatible = "mmio-sram"; reg = <MBUS_ID(0x09, 0x09) 0 0x800>; clocks = <&gateclk 23>;
@@ -239,7 +239,7 @@ ranges = <0 MBUS_ID(0x09, 0x09) 0 0x800>; }; - crypto_sram1: sa-sram1 { + crypto_sram1: sa-sram at 09_05_0 { compatible = "mmio-sram"; reg = <MBUS_ID(0x09, 0x05) 0 0x800>; clocks = <&gateclk 23>;
Signature · 1 line
2.10.2
PATCH v2 10/19 ARM: dts: armada-xp: Fixup pcie DT warnings
In reply to Gregory CLEMENTPCIe has a range property, so the unit name should contain an address. Take the opportunity to use the node label instead of the full name.
--- arch/arm/boot/dts/armada-xp-axpwifiap.dts | 44 ++++++++-------- arch/arm/boot/dts/armada-xp-db.dts | 66 ++++++++++++------------ arch/arm/boot/dts/armada-xp-gp.dts | 42 +++++++-------- arch/arm/boot/dts/armada-xp-lenovo-ix4-300d.dts | 31 ++++++----- arch/arm/boot/dts/armada-xp-linksys-mamba.dts | 44 ++++++++-------- arch/arm/boot/dts/armada-xp-matrix.dts | 18 +++---- arch/arm/boot/dts/armada-xp-mv78230.dtsi | 2 +- arch/arm/boot/dts/armada-xp-mv78260.dtsi | 2 +- arch/arm/boot/dts/armada-xp-mv78460.dtsi | 2 +- arch/arm/boot/dts/armada-xp-netgear-rn2120.dts | 44 ++++++++-------- arch/arm/boot/dts/armada-xp-openblocks-ax3-4.dts | 18 +++---- arch/arm/boot/dts/armada-xp-synology-ds414.dts | 45 ++++++++-------- 12 files changed, 179 insertions(+), 179 deletions(-)
arch/arm/boot/dts/armada-xp-axpwifiap.dts +22 -22
@@ -73,28 +73,6 @@ MBUS_ID(0x09, 0x09) 0 0 0xf1100000 0x10000 MBUS_ID(0x09, 0x05) 0 0 0xf1110000 0x10000>; - pcie-controller { - status = "okay"; - - /* First mini-PCIe port */ - pcie at 1,0 { - /* Port 0, Lane 0 */ - status = "okay"; - }; - - /* Second mini-PCIe port */ - pcie at 2,0 { - /* Port 0, Lane 1 */ - status = "okay"; - }; - - /* Renesas uPD720202 USB 3.0 controller */ - pcie at 3,0 { - /* Port 0, Lane 3 */ - status = "okay"; - }; - }; - internal-regs { /* UART0 */ serial at 12000 {
@@ -153,6 +131,28 @@ }; }; +&pciec { + status = "okay"; + + /* First mini-PCIe port */ + pcie at 1,0 { + /* Port 0, Lane 0 */ + status = "okay"; + }; + + /* Second mini-PCIe port */ + pcie at 2,0 { + /* Port 0, Lane 1 */ + status = "okay"; + }; + + /* Renesas uPD720202 USB 3.0 controller */ + pcie at 3,0 { + /* Port 0, Lane 3 */ + status = "okay"; + }; +}; + &pinctrl { pinctrl-0 = <&phy_int_pin>; pinctrl-names = "default";
arch/arm/boot/dts/armada-xp-db.dts +33 -33
78 lines not on this page · raw message
arch/arm/boot/dts/armada-xp-gp.dts +21 -21
54 lines not on this page · raw message
arch/arm/boot/dts/armada-xp-lenovo-ix4-300d.dts +15 -16
@@ -68,22 +68,6 @@ MBUS_ID(0x09, 0x09) 0 0 0xf1100000 0x10000 MBUS_ID(0x09, 0x05) 0 0 0xf1110000 0x10000>; - pcie-controller { - status = "okay"; - - /* Quad port sata: Marvell 88SX7042 */ - pcie at 1,0 { - /* Port 0, Lane 0 */ - status = "okay"; - }; - - /* USB 3.0 xHCI controller: NEC D720200F1 */ - pcie at 5,0 { - /* Port 1, Lane 0 */ - status = "okay"; - }; - }; - internal-regs { serial at 12000 { status = "okay";
@@ -285,6 +269,21 @@ gpios = <&gpio0 24 GPIO_ACTIVE_HIGH>; }; }; +&pciec { + status = "okay"; + + /* Quad port sata: Marvell 88SX7042 */ + pcie at 1,0 { + /* Port 0, Lane 0 */ + status = "okay"; + }; + + /* USB 3.0 xHCI controller: NEC D720200F1 */ + pcie at 5,0 { + /* Port 1, Lane 0 */ + status = "okay"; + }; +}; &mdio { phy0: ethernet-phy at 0 { /* Marvell 88E1318 */
arch/arm/boot/dts/armada-xp-linksys-mamba.dts +22 -22
56 lines not on this page · raw message
arch/arm/boot/dts/armada-xp-matrix.dts +9 -9
@@ -71,15 +71,6 @@ MBUS_ID(0x09, 0x09) 0 0 0xf1100000 0x10000 MBUS_ID(0x09, 0x05) 0 0 0xf1110000 0x10000>; - pcie-controller { - status = "okay"; - - pcie at 1,0 { - /* Port 0, Lane 0 */ - status = "okay"; - }; - }; - internal-regs { serial at 12000 { status = "okay";
@@ -114,3 +105,12 @@ }; }; }; + +&pciec { + status = "okay"; + + pcie at 1,0 { + /* Port 0, Lane 0 */ + status = "okay"; + }; +};
arch/arm/boot/dts/armada-xp-mv78230.dtsi +1 -1
@@ -86,7 +86,7 @@ * configured as x4 or quad x1 lanes. One unit is * x1 only. */ - pciec: pcie-controller { + pciec: pcie-controller at 82000000 { compatible = "marvell,armada-xp-pcie"; status = "disabled"; device_type = "pci";
arch/arm/boot/dts/armada-xp-mv78260.dtsi +1 -1
@@ -87,7 +87,7 @@ * configured as x4 or quad x1 lanes. One unit is * x4 only. */ - pciec: pcie-controller { + pciec: pcie-controller at 82000000 { compatible = "marvell,armada-xp-pcie"; status = "disabled"; device_type = "pci";
arch/arm/boot/dts/armada-xp-mv78460.dtsi +1 -1
@@ -104,7 +104,7 @@ * configured as x4 or quad x1 lanes. Two units are * x4/x1. */ - pciec: pcie-controller { + pciec: pcie-controller at 82000000 { compatible = "marvell,armada-xp-pcie"; status = "disabled"; device_type = "pci";
arch/arm/boot/dts/armada-xp-netgear-rn2120.dts +22 -22
56 lines not on this page · raw message
arch/arm/boot/dts/armada-xp-openblocks-ax3-4.dts +9 -9
@@ -70,15 +70,6 @@ MBUS_ID(0x09, 0x05) 0 0 0xf1110000 0x10000 MBUS_ID(0x0c, 0x04) 0 0 0xd1200000 0x100000>; - pcie-controller { - status = "okay"; - /* Internal mini-PCIe connector */ - pcie at 1,0 { - /* Port 0, Lane 0 */ - status = "okay"; - }; - }; - internal-regs { rtc at 10300 { /* No crystal connected to the internal RTC */
@@ -222,6 +213,15 @@ status = "okay"; }; +&pciec { + status = "okay"; + /* Internal mini-PCIe connector */ + pcie at 1,0 { + /* Port 0, Lane 0 */ + status = "okay"; + }; +}; + &mdio { phy0: ethernet-phy at 0 { reg = <0>;
arch/arm/boot/dts/armada-xp-synology-ds414.dts +23 -22
57 lines not on this page · raw message
Signature · 1 line
2.10.2
PATCH v2 11/19 ARM: dts: armada-370: Fixup pcie DT warnings
In reply to Gregory CLEMENTPCIe has a ranges property, so the unit name should contain an address. Take the opportunity to use the node label instead of the full name.
--- arch/arm/boot/dts/armada-370-db.dts | 37 +++++++++++----------- arch/arm/boot/dts/armada-370-dlink-dns327l.dts | 28 ++++++++-------- arch/arm/boot/dts/armada-370-mirabox.dts | 32 +++++++++---------- arch/arm/boot/dts/armada-370-netgear-rn102.dts | 32 +++++++++---------- arch/arm/boot/dts/armada-370-netgear-rn104.dts | 32 +++++++++---------- arch/arm/boot/dts/armada-370-rd.dts | 32 +++++++++---------- arch/arm/boot/dts/armada-370-seagate-nas-4bay.dts | 14 ++++---- arch/arm/boot/dts/armada-370-seagate-nas-xbay.dtsi | 19 +++++------ .../dts/armada-370-seagate-personal-cloud.dtsi | 18 +++++------ arch/arm/boot/dts/armada-370.dtsi | 2 +- 10 files changed, 124 insertions(+), 122 deletions(-)
arch/arm/boot/dts/armada-370-db.dts +19 -18
@@ -170,24 +170,6 @@ }; }; }; - - pcie-controller { - status = "okay"; - /* - * The two PCIe units are accessible through - * both standard PCIe slots and mini-PCIe - * slots on the board. - */ - pcie at 1,0 { - /* Port 0, Lane 0 */ - status = "okay"; - }; - - pcie at 2,0 { - /* Port 1, Lane 0 */ - status = "okay"; - }; - }; }; sound {
@@ -248,6 +230,25 @@ compatible = "linux,spdif-dir"; }; }; + +&pciec { + status = "okay"; + /* + * The two PCIe units are accessible through + * both standard PCIe slots and mini-PCIe + * slots on the board. + */ + pcie at 1,0 { + /* Port 0, Lane 0 */ + status = "okay"; + }; + + pcie at 2,0 { + /* Port 1, Lane 0 */ + status = "okay"; + }; +}; + &mdio { pinctrl-0 = <&mdio_pins>; pinctrl-names = "default";
arch/arm/boot/dts/armada-370-dlink-dns327l.dts +14 -14
@@ -72,20 +72,6 @@ MBUS_ID(0x01, 0xe0) 0 0xfff00000 0x100000 MBUS_ID(0x09, 0x01) 0 0xf1100000 0x10000>; - pcie-controller { - status = "okay"; - - pcie at 1,0 { - /* Port 0, Lane 0 */ - status = "okay"; - }; - - pcie at 2,0 { - /* Port 1, Lane 0 */ - status = "okay"; - }; - }; - internal-regs { sata at a0000 { nr-ports = <2>;
@@ -262,6 +248,20 @@ }; }; +&pciec { + status = "okay"; + + pcie at 1,0 { + /* Port 0, Lane 0 */ + status = "okay"; + }; + + pcie at 2,0 { + /* Port 1, Lane 0 */ + status = "okay"; + }; +}; + &pinctrl { sata_l_white_pin: sata-l-white-pin { marvell,pins = "mpp57";
arch/arm/boot/dts/armada-370-mirabox.dts +16 -16
@@ -64,22 +64,6 @@ MBUS_ID(0x01, 0xe0) 0 0xfff00000 0x100000 MBUS_ID(0x09, 0x01) 0 0xf1100000 0x10000>; - pcie-controller { - status = "okay"; - - /* Internal mini-PCIe connector */ - pcie at 1,0 { - /* Port 0, Lane 0 */ - status = "okay"; - }; - - /* Connected on the PCB to a USB 3.0 XHCI controller */ - pcie at 2,0 { - /* Port 1, Lane 0 */ - status = "okay"; - }; - }; - internal-regs { serial at 12000 { status = "okay";
@@ -186,6 +170,22 @@ }; }; +&pciec { + status = "okay"; + + /* Internal mini-PCIe connector */ + pcie at 1,0 { + /* Port 0, Lane 0 */ + status = "okay"; + }; + + /* Connected on the PCB to a USB 3.0 XHCI controller */ + pcie at 2,0 { + /* Port 1, Lane 0 */ + status = "okay"; + }; +}; + &mdio { pinctrl-0 = <&mdio_pins>; pinctrl-names = "default";
arch/arm/boot/dts/armada-370-netgear-rn102.dts +16 -16
@@ -66,22 +66,6 @@ MBUS_ID(0x01, 0xe0) 0 0xfff00000 0x100000 MBUS_ID(0x09, 0x01) 0 0xf1100000 0x10000>; - pcie-controller { - status = "okay"; - - /* Connected to Marvell 88SE9170 SATA controller */ - pcie at 1,0 { - /* Port 0, Lane 0 */ - status = "okay"; - }; - - /* Connected to FL1009 USB 3.0 controller */ - pcie at 2,0 { - /* Port 1, Lane 0 */ - status = "okay"; - }; - }; - internal-regs { /* RTC is provided by Intersil ISL12057 I2C RTC chip */
@@ -252,6 +236,22 @@ }; }; +&pciec { + status = "okay"; + + /* Connected to Marvell 88SE9170 SATA controller */ + pcie at 1,0 { + /* Port 0, Lane 0 */ + status = "okay"; + }; + + /* Connected to FL1009 USB 3.0 controller */ + pcie at 2,0 { + /* Port 1, Lane 0 */ + status = "okay"; + }; +}; + &mdio { pinctrl-0 = <&mdio_pins>; pinctrl-names = "default";
arch/arm/boot/dts/armada-370-netgear-rn104.dts +16 -16
@@ -66,22 +66,6 @@ MBUS_ID(0x01, 0xe0) 0 0xfff00000 0x100000 MBUS_ID(0x09, 0x01) 0 0xf1100000 0x10000>; - pcie-controller { - status = "okay"; - - /* Connected to FL1009 USB 3.0 controller */ - pcie at 1,0 { - /* Port 0, Lane 0 */ - status = "okay"; - }; - - /* Connected to Marvell 88SE9215 SATA controller */ - pcie at 2,0 { - /* Port 1, Lane 0 */ - status = "okay"; - }; - }; - internal-regs { /* RTC is provided by Intersil ISL12057 I2C RTC chip */
@@ -270,6 +254,22 @@ }; }; +&pciec { + status = "okay"; + + /* Connected to FL1009 USB 3.0 controller */ + pcie at 1,0 { + /* Port 0, Lane 0 */ + status = "okay"; + }; + + /* Connected to Marvell 88SE9215 SATA controller */ + pcie at 2,0 { + /* Port 1, Lane 0 */ + status = "okay"; + }; +}; + &mdio { pinctrl-0 = <&mdio_pins>; pinctrl-names = "default";
arch/arm/boot/dts/armada-370-rd.dts +16 -16
@@ -77,22 +77,6 @@ MBUS_ID(0x01, 0xe0) 0 0xfff00000 0x100000 MBUS_ID(0x09, 0x01) 0 0xf1100000 0x10000>; - pcie-controller { - status = "okay"; - - /* Internal mini-PCIe connector */ - pcie at 1,0 { - /* Port 0, Lane 0 */ - status = "okay"; - }; - - /* Internal mini-PCIe connector */ - pcie at 2,0 { - /* Port 1, Lane 0 */ - status = "okay"; - }; - }; - internal-regs { serial at 12000 { status = "okay";
@@ -229,6 +213,22 @@ }; }; +&pciec { + status = "okay"; + + /* Internal mini-PCIe connector */ + pcie at 1,0 { + /* Port 0, Lane 0 */ + status = "okay"; + }; + + /* Internal mini-PCIe connector */ + pcie at 2,0 { + /* Port 1, Lane 0 */ + status = "okay"; + }; +}; + &mdio { pinctrl-0 = <&mdio_pins>; pinctrl-names = "default";
arch/arm/boot/dts/armada-370-seagate-nas-4bay.dts +7 -7
@@ -28,13 +28,6 @@ compatible = "seagate,dart-4", "marvell,armada370", "marvell,armada-370-xp"; soc { - pcie-controller { - /* SATA AHCI controller 88SE9170 */ - pcie at 1,0 { - status = "okay"; - }; - }; - internal-regs { ethernet at 74000 { status = "okay";
@@ -126,6 +119,13 @@ }; }; +&pciec { + /* SATA AHCI controller 88SE9170 */ + pcie at 1,0 { + status = "okay"; + }; +}; + &mdio { phy1: ethernet-phy at 1 { reg = <1>;
arch/arm/boot/dts/armada-370-seagate-nas-xbay.dtsi +10 -9
@@ -32,15 +32,6 @@ ranges = <MBUS_ID(0xf0, 0x01) 0 0xf1000000 0x100000 MBUS_ID(0x01, 0xe0) 0 0xfff00000 0x100000>; - pcie-controller { - status = "okay"; - - /* USB 3.0 bridge ASM1042A */ - pcie at 2,0 { - status = "okay"; - }; - }; - internal-regs { serial at 12000 { status = "okay";
@@ -199,6 +190,16 @@ }; }; +&pciec { + status = "okay"; + + /* USB 3.0 bridge ASM1042A */ + pcie at 2,0 { + status = "okay"; + }; +}; + + &mdio { pinctrl-0 = <&mdio_pins>; pinctrl-names = "default";
arch/arm/boot/dts/armada-370-seagate-personal-cloud.dtsi +9 -9
@@ -33,15 +33,6 @@ ranges = <MBUS_ID(0xf0, 0x01) 0 0xf1000000 0x100000 MBUS_ID(0x01, 0xe0) 0 0xfff00000 0x100000>; - pcie-controller { - status = "okay"; - - /* USB 3.0 Bridge ASM1042A */ - pcie at 1,0 { - status = "okay"; - }; - }; - internal-regs { coherency-fabric at 20200 { broken-idle;
@@ -134,6 +125,15 @@ }; }; +&pciec { + status = "okay"; + + /* USB 3.0 Bridge ASM1042A */ + pcie at 1,0 { + status = "okay"; + }; +}; + &mdio { pinctrl-0 = <&mdio_pins>; pinctrl-names = "default";
arch/arm/boot/dts/armada-370.dtsi +1 -1
@@ -70,7 +70,7 @@ reg = <MBUS_ID(0x01, 0xe0) 0 0x100000>; }; - pciec: pcie-controller { + pciec: pcie-controller at 82000000 { compatible = "marvell,armada-370-pcie"; status = "disabled"; device_type = "pci";
Signature · 1 line
2.10.2
PATCH v2 12/19 ARM: dts: armada-370-xp: Remove skeleton.dtsi
In reply to Gregory CLEMENTThe skeleton.dtsi file was removed in ARM64 for different reasons as explained in commit ("3ebee5a2e141 arm64: dts: kill skeleton.dtsi").
These also applies to ARM and it will also allow to get rid of the following DTC warnings in the future:
"Node /memory has a reg or ranges property, but no unit name"
--- arch/arm/boot/dts/armada-370-xp.dtsi | 2 -- arch/arm/boot/dts/armada-370.dtsi | 4 +++- arch/arm/boot/dts/armada-xp.dtsi | 3 +++ 3 files changed, 6 insertions(+), 3 deletions(-)
arch/arm/boot/dts/armada-370-xp.dtsi +0 -2
@@ -50,8 +50,6 @@ * 370 and Armada XP SoC. */ -/include/ "skeleton64.dtsi" - #define MBUS_ID(target,attributes) (((target) << 24) | ((attributes) << 16)) / {
arch/arm/boot/dts/armada-370.dtsi +3 -1
@@ -50,9 +50,11 @@ */ #include "armada-370-xp.dtsi" -/include/ "skeleton.dtsi" / { + #address-cells = <1>; + #size-cells = <1>; + model = "Marvell Armada 370 family SoC"; compatible = "marvell,armada370", "marvell,armada-370-xp";
arch/arm/boot/dts/armada-xp.dtsi +3 -0
@@ -53,6 +53,9 @@ #include "armada-370-xp.dtsi" / { + #address-cells = <2>; + #size-cells = <2>; + model = "Marvell Armada XP family SoC"; compatible = "marvell,armadaxp", "marvell,armada-370-xp";
Signature · 1 line
2.10.2
PATCH v2 13/19 ARM: dts: armada-370-xp: Fixup l2-cache DT warning
In reply to Gregory CLEMENTl2-cache which is either an aurora-outer-cache or an aurora-system-cache has a reg property so the unit name should contain an address.
--- arch/arm/boot/dts/armada-370.dtsi | 2 +- arch/arm/boot/dts/armada-xp.dtsi | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
arch/arm/boot/dts/armada-370.dtsi +1 -1
@@ -127,7 +127,7 @@ }; internal-regs { - L2: l2-cache { + L2: l2-cache at 8000 { compatible = "marvell,aurora-outer-cache"; reg = <0x08000 0x1000>; cache-id-part = <0x100>;
arch/arm/boot/dts/armada-xp.dtsi +1 -1
@@ -78,7 +78,7 @@ reg = <0x1400 0x500>; }; - L2: l2-cache { + L2: l2-cache at 8000 { compatible = "marvell,aurora-system-cache"; reg = <0x08000 0x1000>; cache-id-part = <0x100>;
Signature · 1 line
2.10.2
PATCH v2 14/19 ARM: dts: armada-370-xp: Fixup internal-regs DT warning
In reply to Gregory CLEMENTinternal-regs has a ranges property so the unit name should contain an address.
--- arch/arm/boot/dts/armada-370-db.dts | 2 +- arch/arm/boot/dts/armada-370-dlink-dns327l.dts | 2 +- arch/arm/boot/dts/armada-370-mirabox.dts | 2 +- arch/arm/boot/dts/armada-370-netgear-rn102.dts | 2 +- arch/arm/boot/dts/armada-370-netgear-rn104.dts | 2 +- arch/arm/boot/dts/armada-370-rd.dts | 2 +- arch/arm/boot/dts/armada-370-seagate-nas-4bay.dts | 2 +- arch/arm/boot/dts/armada-370-seagate-nas-xbay.dtsi | 2 +- arch/arm/boot/dts/armada-370-seagate-personal-cloud-2bay.dts | 2 +- arch/arm/boot/dts/armada-370-seagate-personal-cloud.dts | 2 +- arch/arm/boot/dts/armada-370-seagate-personal-cloud.dtsi | 2 +- arch/arm/boot/dts/armada-370-synology-ds213j.dts | 2 +- arch/arm/boot/dts/armada-370-xp.dtsi | 2 +- arch/arm/boot/dts/armada-370.dtsi | 2 +- arch/arm/boot/dts/armada-xp-axpwifiap.dts | 2 +- arch/arm/boot/dts/armada-xp-db.dts | 2 +- arch/arm/boot/dts/armada-xp-gp.dts | 2 +- arch/arm/boot/dts/armada-xp-lenovo-ix4-300d.dts | 2 +- arch/arm/boot/dts/armada-xp-linksys-mamba.dts | 2 +- arch/arm/boot/dts/armada-xp-matrix.dts | 2 +- arch/arm/boot/dts/armada-xp-mv78230.dtsi | 2 +- arch/arm/boot/dts/armada-xp-mv78260.dtsi | 2 +- arch/arm/boot/dts/armada-xp-mv78460.dtsi | 2 +- arch/arm/boot/dts/armada-xp-netgear-rn2120.dts | 2 +- arch/arm/boot/dts/armada-xp-openblocks-ax3-4.dts | 2 +- arch/arm/boot/dts/armada-xp-synology-ds414.dts | 2 +- arch/arm/boot/dts/armada-xp.dtsi | 2 +- 27 files changed, 27 insertions(+), 27 deletions(-)
arch/arm/boot/dts/armada-370-db.dts +1 -1
@@ -77,7 +77,7 @@ MBUS_ID(0x01, 0xe0) 0 0xfff00000 0x100000 MBUS_ID(0x09, 0x01) 0 0xf1100000 0x10000>; - internal-regs { + internal-regs at f0_01_0 { serial at 12000 { status = "okay"; };
arch/arm/boot/dts/armada-370-dlink-dns327l.dts +1 -1
@@ -72,7 +72,7 @@ MBUS_ID(0x01, 0xe0) 0 0xfff00000 0x100000 MBUS_ID(0x09, 0x01) 0 0xf1100000 0x10000>; - internal-regs { + internal-regs at f0_01_0 { sata at a0000 { nr-ports = <2>; status = "okay";
arch/arm/boot/dts/armada-370-mirabox.dts +1 -1
@@ -64,7 +64,7 @@ MBUS_ID(0x01, 0xe0) 0 0xfff00000 0x100000 MBUS_ID(0x09, 0x01) 0 0xf1100000 0x10000>; - internal-regs { + internal-regs at f0_01_0 { serial at 12000 { status = "okay"; };
arch/arm/boot/dts/armada-370-netgear-rn102.dts +1 -1
@@ -66,7 +66,7 @@ MBUS_ID(0x01, 0xe0) 0 0xfff00000 0x100000 MBUS_ID(0x09, 0x01) 0 0xf1100000 0x10000>; - internal-regs { + internal-regs at f0_01_0 { /* RTC is provided by Intersil ISL12057 I2C RTC chip */ rtc at 10300 {
arch/arm/boot/dts/armada-370-netgear-rn104.dts +1 -1
@@ -66,7 +66,7 @@ MBUS_ID(0x01, 0xe0) 0 0xfff00000 0x100000 MBUS_ID(0x09, 0x01) 0 0xf1100000 0x10000>; - internal-regs { + internal-regs at f0_01_0 { /* RTC is provided by Intersil ISL12057 I2C RTC chip */ rtc at 10300 {
arch/arm/boot/dts/armada-370-rd.dts +1 -1
@@ -77,7 +77,7 @@ MBUS_ID(0x01, 0xe0) 0 0xfff00000 0x100000 MBUS_ID(0x09, 0x01) 0 0xf1100000 0x10000>; - internal-regs { + internal-regs at f0_01_0 { serial at 12000 { status = "okay"; };
arch/arm/boot/dts/armada-370-seagate-nas-4bay.dts +1 -1
@@ -28,7 +28,7 @@ compatible = "seagate,dart-4", "marvell,armada370", "marvell,armada-370-xp"; soc { - internal-regs { + internal-regs at f0_01_0 { ethernet at 74000 { status = "okay"; pinctrl-0 = <&ge1_rgmii_pins>;
arch/arm/boot/dts/armada-370-seagate-nas-xbay.dtsi +1 -1
@@ -32,7 +32,7 @@ ranges = <MBUS_ID(0xf0, 0x01) 0 0xf1000000 0x100000 MBUS_ID(0x01, 0xe0) 0 0xfff00000 0x100000>; - internal-regs { + internal-regs at f0_01_0 { serial at 12000 { status = "okay"; };
arch/arm/boot/dts/armada-370-seagate-personal-cloud-2bay.dts +1 -1
@@ -27,7 +27,7 @@ compatible = "seagate,cumulus-max", "marvell,armada370", "marvell,armada-370-xp"; soc { - internal-regs { + internal-regs at f0_01_0 { sata at a0000 { status = "okay"; nr-ports = <2>;
arch/arm/boot/dts/armada-370-seagate-personal-cloud.dts +1 -1
@@ -27,7 +27,7 @@ compatible = "seagate,cumulus", "marvell,armada370", "marvell,armada-370-xp"; soc { - internal-regs { + internal-regs at f0_01_0 { sata at a0000 { status = "okay"; nr-ports = <1>;
arch/arm/boot/dts/armada-370-seagate-personal-cloud.dtsi +1 -1
@@ -33,7 +33,7 @@ ranges = <MBUS_ID(0xf0, 0x01) 0 0xf1000000 0x100000 MBUS_ID(0x01, 0xe0) 0 0xfff00000 0x100000>; - internal-regs { + internal-regs at f0_01_0 { coherency-fabric at 20200 { broken-idle; };
arch/arm/boot/dts/armada-370-synology-ds213j.dts +1 -1
@@ -80,7 +80,7 @@ MBUS_ID(0x01, 0xe0) 0 0xfff00000 0x100000 MBUS_ID(0x09, 0x01) 0 0xf1100000 0x10000>; - internal-regs { + internal-regs at f0_01_0 { /* RTC provided by Seiko S-35390A I2C RTC chip below */ rtc at 10300 {
arch/arm/boot/dts/armada-370-xp.dtsi +1 -1
@@ -134,7 +134,7 @@ status = "disabled"; }; - internal-regs { + internal-regs at f0_01_0 { compatible = "simple-bus"; #address-cells = <1>; #size-cells = <1>;
arch/arm/boot/dts/armada-370.dtsi +1 -1
@@ -126,7 +126,7 @@ }; }; - internal-regs { + internal-regs at f0_01_0 { L2: l2-cache at 8000 { compatible = "marvell,aurora-outer-cache"; reg = <0x08000 0x1000>;
arch/arm/boot/dts/armada-xp-axpwifiap.dts +1 -1
@@ -73,7 +73,7 @@ MBUS_ID(0x09, 0x09) 0 0 0xf1100000 0x10000 MBUS_ID(0x09, 0x05) 0 0 0xf1110000 0x10000>; - internal-regs { + internal-regs at f0_01_0 { /* UART0 */ serial at 12000 { status = "okay";
arch/arm/boot/dts/armada-xp-db.dts +1 -1
@@ -80,7 +80,7 @@ MBUS_ID(0x09, 0x05) 0 0 0xf1110000 0x10000 MBUS_ID(0x0c, 0x04) 0 0 0xf1200000 0x100000>; - internal-regs { + internal-regs at f0_01_0 { serial at 12000 { status = "okay"; };
arch/arm/boot/dts/armada-xp-gp.dts +1 -1
@@ -99,7 +99,7 @@ MBUS_ID(0x09, 0x05) 0 0 0xf1110000 0x10000 MBUS_ID(0x0c, 0x04) 0 0 0xf1200000 0x100000>; - internal-regs { + internal-regs at f0_01_0 { serial at 12000 { status = "okay"; };
arch/arm/boot/dts/armada-xp-lenovo-ix4-300d.dts +1 -1
@@ -68,7 +68,7 @@ MBUS_ID(0x09, 0x09) 0 0 0xf1100000 0x10000 MBUS_ID(0x09, 0x05) 0 0 0xf1110000 0x10000>; - internal-regs { + internal-regs at f0_01_0 { serial at 12000 { status = "okay"; };
arch/arm/boot/dts/armada-xp-linksys-mamba.dts +1 -1
@@ -73,7 +73,7 @@ MBUS_ID(0x09, 0x09) 0 0 0xf1100000 0x10000 MBUS_ID(0x09, 0x05) 0 0 0xf1110000 0x10000>; - internal-regs { + internal-regs at f0_01_0 { rtc at 10300 { /* No crystal connected to the internal RTC */
arch/arm/boot/dts/armada-xp-matrix.dts +1 -1
@@ -71,7 +71,7 @@ MBUS_ID(0x09, 0x09) 0 0 0xf1100000 0x10000 MBUS_ID(0x09, 0x05) 0 0 0xf1110000 0x10000>; - internal-regs { + internal-regs at f0_01_0 { serial at 12000 { status = "okay"; };
arch/arm/boot/dts/armada-xp-mv78230.dtsi +1 -1
@@ -200,7 +200,7 @@ }; }; - internal-regs { + internal-regs at f0_01_0 { gpio0: gpio at 18100 { compatible = "marvell,orion-gpio"; reg = <0x18100 0x40>;
arch/arm/boot/dts/armada-xp-mv78260.dtsi +1 -1
@@ -283,7 +283,7 @@ }; }; - internal-regs { + internal-regs at f0_01_0 { gpio0: gpio at 18100 { compatible = "marvell,orion-gpio"; reg = <0x18100 0x40>;
arch/arm/boot/dts/armada-xp-mv78460.dtsi +1 -1
@@ -321,7 +321,7 @@ }; }; - internal-regs { + internal-regs at f0_01_0 { gpio0: gpio at 18100 { compatible = "marvell,orion-gpio"; reg = <0x18100 0x40>;
arch/arm/boot/dts/armada-xp-netgear-rn2120.dts +1 -1
@@ -67,7 +67,7 @@ MBUS_ID(0x09, 0x09) 0 0 0xf1100000 0x10000 MBUS_ID(0x09, 0x05) 0 0 0xf1110000 0x10000>; - internal-regs { + internal-regs at f0_01_0 { /* RTC is provided by Intersil ISL12057 I2C RTC chip */ rtc at 10300 {
arch/arm/boot/dts/armada-xp-openblocks-ax3-4.dts +1 -1
@@ -70,7 +70,7 @@ MBUS_ID(0x09, 0x05) 0 0 0xf1110000 0x10000 MBUS_ID(0x0c, 0x04) 0 0 0xd1200000 0x100000>; - internal-regs { + internal-regs at f0_01_0 { rtc at 10300 { /* No crystal connected to the internal RTC */ status = "disabled";
arch/arm/boot/dts/armada-xp-synology-ds414.dts +1 -1
@@ -81,7 +81,7 @@ MBUS_ID(0x09, 0x09) 0 0 0xf1100000 0x10000 MBUS_ID(0x09, 0x05) 0 0 0xf1110000 0x10000>; - internal-regs { + internal-regs at f0_01_0 { /* RTC is provided by Seiko S-35390A below */ rtc at 10300 {
arch/arm/boot/dts/armada-xp.dtsi +1 -1
@@ -72,7 +72,7 @@ reg = <MBUS_ID(0x01, 0x1d) 0 0x100000>; }; - internal-regs { + internal-regs at f0_01_0 { sdramc at 1400 { compatible = "marvell,armada-xp-sdram-controller"; reg = <0x1400 0x500>;
Signature · 1 line
2.10.2
PATCH v2 15/19 ARM: dts: armada-370-xp: Fixup soc DT warning
In reply to Gregory CLEMENTsoc has a ranges property so the unit name should contain an address.
--- arch/arm/boot/dts/armada-370-db.dts | 2 +- arch/arm/boot/dts/armada-370-dlink-dns327l.dts | 2 +- arch/arm/boot/dts/armada-370-mirabox.dts | 2 +- arch/arm/boot/dts/armada-370-netgear-rn102.dts | 2 +- arch/arm/boot/dts/armada-370-netgear-rn104.dts | 2 +- arch/arm/boot/dts/armada-370-rd.dts | 2 +- arch/arm/boot/dts/armada-370-seagate-nas-4bay.dts | 2 +- arch/arm/boot/dts/armada-370-seagate-nas-xbay.dtsi | 2 +- arch/arm/boot/dts/armada-370-seagate-personal-cloud-2bay.dts | 2 +- arch/arm/boot/dts/armada-370-seagate-personal-cloud.dts | 2 +- arch/arm/boot/dts/armada-370-seagate-personal-cloud.dtsi | 2 +- arch/arm/boot/dts/armada-370-synology-ds213j.dts | 2 +- arch/arm/boot/dts/armada-370-xp.dtsi | 2 +- arch/arm/boot/dts/armada-370.dtsi | 2 +- arch/arm/boot/dts/armada-xp-axpwifiap.dts | 2 +- arch/arm/boot/dts/armada-xp-db.dts | 2 +- arch/arm/boot/dts/armada-xp-gp.dts | 2 +- arch/arm/boot/dts/armada-xp-lenovo-ix4-300d.dts | 2 +- arch/arm/boot/dts/armada-xp-linksys-mamba.dts | 2 +- arch/arm/boot/dts/armada-xp-matrix.dts | 2 +- arch/arm/boot/dts/armada-xp-mv78230.dtsi | 2 +- arch/arm/boot/dts/armada-xp-mv78260.dtsi | 2 +- arch/arm/boot/dts/armada-xp-mv78460.dtsi | 2 +- arch/arm/boot/dts/armada-xp-netgear-rn2120.dts | 2 +- arch/arm/boot/dts/armada-xp-openblocks-ax3-4.dts | 2 +- arch/arm/boot/dts/armada-xp-synology-ds414.dts | 2 +- arch/arm/boot/dts/armada-xp.dtsi | 2 +- 27 files changed, 27 insertions(+), 27 deletions(-)
arch/arm/boot/dts/armada-370-db.dts +1 -1
@@ -72,7 +72,7 @@ reg = <0x00000000 0x40000000>; /* 1 GB */ }; - soc { + soc at f0_01_0 { ranges = <MBUS_ID(0xf0, 0x01) 0 0xf1000000 0x100000 MBUS_ID(0x01, 0xe0) 0 0xfff00000 0x100000 MBUS_ID(0x09, 0x01) 0 0xf1100000 0x10000>;
arch/arm/boot/dts/armada-370-dlink-dns327l.dts +1 -1
@@ -67,7 +67,7 @@ reg = <0x00000000 0x20000000>; /* 512 MiB */ }; - soc { + soc at f0_01_0 { ranges = <MBUS_ID(0xf0, 0x01) 0 0xd0000000 0x100000 MBUS_ID(0x01, 0xe0) 0 0xfff00000 0x100000 MBUS_ID(0x09, 0x01) 0 0xf1100000 0x10000>;
arch/arm/boot/dts/armada-370-mirabox.dts +1 -1
@@ -59,7 +59,7 @@ reg = <0x00000000 0x20000000>; /* 512 MB */ }; - soc { + soc at f0_01_0 { ranges = <MBUS_ID(0xf0, 0x01) 0 0xd0000000 0x100000 MBUS_ID(0x01, 0xe0) 0 0xfff00000 0x100000 MBUS_ID(0x09, 0x01) 0 0xf1100000 0x10000>;
arch/arm/boot/dts/armada-370-netgear-rn102.dts +1 -1
@@ -61,7 +61,7 @@ reg = <0x00000000 0x20000000>; /* 512 MB */ }; - soc { + soc at f0_01_0 { ranges = <MBUS_ID(0xf0, 0x01) 0 0xd0000000 0x100000 MBUS_ID(0x01, 0xe0) 0 0xfff00000 0x100000 MBUS_ID(0x09, 0x01) 0 0xf1100000 0x10000>;
arch/arm/boot/dts/armada-370-netgear-rn104.dts +1 -1
@@ -61,7 +61,7 @@ reg = <0x00000000 0x20000000>; /* 512 MB */ }; - soc { + soc at f0_01_0 { ranges = <MBUS_ID(0xf0, 0x01) 0 0xd0000000 0x100000 MBUS_ID(0x01, 0xe0) 0 0xfff00000 0x100000 MBUS_ID(0x09, 0x01) 0 0xf1100000 0x10000>;
arch/arm/boot/dts/armada-370-rd.dts +1 -1
@@ -72,7 +72,7 @@ reg = <0x00000000 0x20000000>; /* 512 MB */ }; - soc { + soc at f0_01_0 { ranges = <MBUS_ID(0xf0, 0x01) 0 0xf1000000 0x100000 MBUS_ID(0x01, 0xe0) 0 0xfff00000 0x100000 MBUS_ID(0x09, 0x01) 0 0xf1100000 0x10000>;
arch/arm/boot/dts/armada-370-seagate-nas-4bay.dts +1 -1
@@ -27,7 +27,7 @@ model = "Seagate NAS 4-Bay (Dart, SRPD40)"; compatible = "seagate,dart-4", "marvell,armada370", "marvell,armada-370-xp"; - soc { + soc at f0_01_0 { internal-regs at f0_01_0 { ethernet at 74000 { status = "okay";
arch/arm/boot/dts/armada-370-seagate-nas-xbay.dtsi +1 -1
@@ -28,7 +28,7 @@ reg = <0x00000000 0x20000000>; /* 512 MB */ }; - soc { + soc at f0_01_0 { ranges = <MBUS_ID(0xf0, 0x01) 0 0xf1000000 0x100000 MBUS_ID(0x01, 0xe0) 0 0xfff00000 0x100000>;
arch/arm/boot/dts/armada-370-seagate-personal-cloud-2bay.dts +1 -1
@@ -26,7 +26,7 @@ model = "Seagate Personal Cloud 2-Bay (Cumulus, SRN22C)"; compatible = "seagate,cumulus-max", "marvell,armada370", "marvell,armada-370-xp"; - soc { + soc at f0_01_0 { internal-regs at f0_01_0 { sata at a0000 { status = "okay";
arch/arm/boot/dts/armada-370-seagate-personal-cloud.dts +1 -1
@@ -26,7 +26,7 @@ model = "Seagate Personal Cloud (Cumulus, SRN21C)"; compatible = "seagate,cumulus", "marvell,armada370", "marvell,armada-370-xp"; - soc { + soc at f0_01_0 { internal-regs at f0_01_0 { sata at a0000 { status = "okay";
arch/arm/boot/dts/armada-370-seagate-personal-cloud.dtsi +1 -1
@@ -29,7 +29,7 @@ reg = <0x00000000 0x20000000>; /* 512 MB */ }; - soc { + soc at f0_01_0 { ranges = <MBUS_ID(0xf0, 0x01) 0 0xf1000000 0x100000 MBUS_ID(0x01, 0xe0) 0 0xfff00000 0x100000>;
arch/arm/boot/dts/armada-370-synology-ds213j.dts +1 -1
@@ -75,7 +75,7 @@ reg = <0x00000000 0x20000000>; /* 512 MB */ }; - soc { + soc at f0_01_0 { ranges = <MBUS_ID(0xf0, 0x01) 0 0xf1000000 0x100000 MBUS_ID(0x01, 0xe0) 0 0xfff00000 0x100000 MBUS_ID(0x09, 0x01) 0 0xf1100000 0x10000>;
arch/arm/boot/dts/armada-370-xp.dtsi +1 -1
@@ -76,7 +76,7 @@ interrupts-extended = <&mpic 3>; }; - soc { + soc at f0_01_0 { #address-cells = <2>; #size-cells = <1>; controller = <&mbusc>;
arch/arm/boot/dts/armada-370.dtsi +1 -1
@@ -64,7 +64,7 @@ gpio2 = &gpio2; }; - soc { + soc at f0_01_0 { compatible = "marvell,armada370-mbus", "simple-bus"; bootrom at 01_e0_0 {
arch/arm/boot/dts/armada-xp-axpwifiap.dts +1 -1
@@ -67,7 +67,7 @@ reg = <0x00000000 0x00000000 0x00000000 0x40000000>; /* 1GB */ }; - soc { + soc at f0_01_0 { ranges = <MBUS_ID(0xf0, 0x01) 0 0 0xf1000000 0x100000 MBUS_ID(0x01, 0x1d) 0 0 0xfff00000 0x100000 MBUS_ID(0x09, 0x09) 0 0 0xf1100000 0x10000
arch/arm/boot/dts/armada-xp-db.dts +1 -1
@@ -72,7 +72,7 @@ reg = <0 0x00000000 0 0x80000000>; /* 2 GB */ }; - soc { + soc at f0_01_0 { ranges = <MBUS_ID(0xf0, 0x01) 0 0 0xf1000000 0x100000 MBUS_ID(0x01, 0x1d) 0 0 0xfff00000 0x100000 MBUS_ID(0x01, 0x2f) 0 0 0xf0000000 0x1000000
arch/arm/boot/dts/armada-xp-gp.dts +1 -1
@@ -91,7 +91,7 @@ }; }; - soc { + soc@f0_01_0 { ranges = <MBUS_ID(0xf0, 0x01) 0 0 0xf1000000 0x100000 MBUS_ID(0x01, 0x1d) 0 0 0xfff00000 0x100000 MBUS_ID(0x01, 0x2f) 0 0 0xf0000000 0x1000000
arch/arm/boot/dts/armada-xp-lenovo-ix4-300d.dts +1 -1
@@ -62,7 +62,7 @@ reg = <0 0x00000000 0 0x20000000>; /* 512MB */ }; - soc { + soc at f0_01_0 { ranges = <MBUS_ID(0xf0, 0x01) 0 0 0xd0000000 0x100000 MBUS_ID(0x01, 0x1d) 0 0 0xfff00000 0x100000 MBUS_ID(0x09, 0x09) 0 0 0xf1100000 0x10000
arch/arm/boot/dts/armada-xp-linksys-mamba.dts +1 -1
@@ -67,7 +67,7 @@ reg = <0x00000000 0x00000000 0x00000000 0x10000000>; /* 256MB */ }; - soc { + soc at f0_01_0 { ranges = <MBUS_ID(0xf0, 0x01) 0 0 0xf1000000 0x100000 MBUS_ID(0x01, 0x1d) 0 0 0xfff00000 0x100000 MBUS_ID(0x09, 0x09) 0 0 0xf1100000 0x10000
arch/arm/boot/dts/armada-xp-matrix.dts +1 -1
@@ -65,7 +65,7 @@ reg = <0 0x00000000 0 0xf0000000>; }; - soc { + soc at f0_01_0 { ranges = <MBUS_ID(0xf0, 0x01) 0 0 0xf1000000 0x100000 MBUS_ID(0x01, 0x1d) 0 0 0xfff00000 0x100000 MBUS_ID(0x09, 0x09) 0 0 0xf1100000 0x10000
arch/arm/boot/dts/armada-xp-mv78230.dtsi +1 -1
@@ -80,7 +80,7 @@ }; }; - soc { + soc at f0_01_0 { /* * MV78230 has 2 PCIe units Gen2.0: One unit can be * configured as x4 or quad x1 lanes. One unit is
arch/arm/boot/dts/armada-xp-mv78260.dtsi +1 -1
@@ -81,7 +81,7 @@ }; }; - soc { + soc at f0_01_0 { /* * MV78260 has 3 PCIe units Gen2.0: Two units can be * configured as x4 or quad x1 lanes. One unit is
arch/arm/boot/dts/armada-xp-mv78460.dtsi +1 -1
@@ -98,7 +98,7 @@ }; }; - soc { + soc@f0_01_0 { /* * MV78460 has 4 PCIe units Gen2.0: Two units can be * configured as x4 or quad x1 lanes. Two units are
arch/arm/boot/dts/armada-xp-netgear-rn2120.dts +1 -1
@@ -61,7 +61,7 @@ reg = <0 0x00000000 0 0x80000000>; /* 2GB */ }; - soc { + soc at f0_01_0 { ranges = <MBUS_ID(0xf0, 0x01) 0 0 0xd0000000 0x100000 MBUS_ID(0x01, 0x1d) 0 0 0xfff00000 0x100000 MBUS_ID(0x09, 0x09) 0 0 0xf1100000 0x10000
arch/arm/boot/dts/armada-xp-openblocks-ax3-4.dts +1 -1
@@ -62,7 +62,7 @@ reg = <0 0x00000000 0 0x40000000>; /* 1 GB soldered on */ }; - soc { + soc at f0_01_0 { ranges = <MBUS_ID(0xf0, 0x01) 0 0 0xd0000000 0x100000 MBUS_ID(0x01, 0x1d) 0 0 0xfff00000 0x100000 MBUS_ID(0x01, 0x2f) 0 0 0xe8000000 0x8000000
arch/arm/boot/dts/armada-xp-synology-ds414.dts +1 -1
@@ -75,7 +75,7 @@ reg = <0 0x00000000 0 0x40000000>; /* 1GB */ }; - soc { + soc at f0_01_0 { ranges = <MBUS_ID(0xf0, 0x01) 0 0 0xf1000000 0x100000 MBUS_ID(0x01, 0x1d) 0 0 0xfff00000 0x100000 MBUS_ID(0x09, 0x09) 0 0 0xf1100000 0x10000
arch/arm/boot/dts/armada-xp.dtsi +1 -1
@@ -64,7 +64,7 @@ serial3 = &uart3; }; - soc { + soc at f0_01_0 { compatible = "marvell,armadaxp-mbus", "simple-bus"; bootrom@01_1d_0 {
Signature · 1 line
2.10.2
PATCH v2 16/19 ARM: dts: armada-370-xp: Fixup memory DT warning
In reply to Gregory CLEMENTmemory has a reg property so the unit name should contain an address.
--- arch/arm/boot/dts/armada-370-db.dts | 2 +- arch/arm/boot/dts/armada-370-dlink-dns327l.dts | 2 +- arch/arm/boot/dts/armada-370-mirabox.dts | 2 +- arch/arm/boot/dts/armada-370-netgear-rn102.dts | 2 +- arch/arm/boot/dts/armada-370-netgear-rn104.dts | 2 +- arch/arm/boot/dts/armada-370-rd.dts | 2 +- arch/arm/boot/dts/armada-370-seagate-nas-xbay.dtsi | 2 +- arch/arm/boot/dts/armada-370-seagate-personal-cloud.dtsi | 2 +- arch/arm/boot/dts/armada-370-synology-ds213j.dts | 2 +- arch/arm/boot/dts/armada-xp-axpwifiap.dts | 2 +- arch/arm/boot/dts/armada-xp-db.dts | 2 +- arch/arm/boot/dts/armada-xp-gp.dts | 2 +- arch/arm/boot/dts/armada-xp-lenovo-ix4-300d.dts | 2 +- arch/arm/boot/dts/armada-xp-linksys-mamba.dts | 2 +- arch/arm/boot/dts/armada-xp-matrix.dts | 2 +- arch/arm/boot/dts/armada-xp-netgear-rn2120.dts | 2 +- arch/arm/boot/dts/armada-xp-openblocks-ax3-4.dts | 2 +- arch/arm/boot/dts/armada-xp-synology-ds414.dts | 2 +- 18 files changed, 18 insertions(+), 18 deletions(-)
arch/arm/boot/dts/armada-370-db.dts +1 -1
@@ -67,7 +67,7 @@ stdout-path = "serial0:115200n8"; }; - memory { + memory at 0 { device_type = "memory"; reg = <0x00000000 0x40000000>; /* 1 GB */ };
arch/arm/boot/dts/armada-370-dlink-dns327l.dts +1 -1
@@ -62,7 +62,7 @@ stdout-path = &uart0; }; - memory { + memory at 0 { device_type = "memory"; reg = <0x00000000 0x20000000>; /* 512 MiB */ };
arch/arm/boot/dts/armada-370-mirabox.dts +1 -1
@@ -54,7 +54,7 @@ stdout-path = "serial0:115200n8"; }; - memory { + memory at 0 { device_type = "memory"; reg = <0x00000000 0x20000000>; /* 512 MB */ };
arch/arm/boot/dts/armada-370-netgear-rn102.dts +1 -1
@@ -56,7 +56,7 @@ stdout-path = "serial0:115200n8"; }; - memory { + memory at 0 { device_type = "memory"; reg = <0x00000000 0x20000000>; /* 512 MB */ };
arch/arm/boot/dts/armada-370-netgear-rn104.dts +1 -1
@@ -56,7 +56,7 @@ stdout-path = "serial0:115200n8"; }; - memory { + memory at 0 { device_type = "memory"; reg = <0x00000000 0x20000000>; /* 512 MB */ };
arch/arm/boot/dts/armada-370-rd.dts +1 -1
@@ -67,7 +67,7 @@ stdout-path = "serial0:115200n8"; }; - memory { + memory at 0 { device_type = "memory"; reg = <0x00000000 0x20000000>; /* 512 MB */ };
arch/arm/boot/dts/armada-370-seagate-nas-xbay.dtsi +1 -1
@@ -23,7 +23,7 @@ stdout-path = "serial0:115200n8"; }; - memory { + memory at 0 { device_type = "memory"; reg = <0x00000000 0x20000000>; /* 512 MB */ };
arch/arm/boot/dts/armada-370-seagate-personal-cloud.dtsi +1 -1
@@ -24,7 +24,7 @@ stdout-path = "serial0:115200n8"; }; - memory { + memory at 0 { device_type = "memory"; reg = <0x00000000 0x20000000>; /* 512 MB */ };
arch/arm/boot/dts/armada-370-synology-ds213j.dts +1 -1
@@ -70,7 +70,7 @@ stdout-path = "serial0:115200n8"; }; - memory { + memory at 0 { device_type = "memory"; reg = <0x00000000 0x20000000>; /* 512 MB */ };
arch/arm/boot/dts/armada-xp-axpwifiap.dts +1 -1
@@ -62,7 +62,7 @@ stdout-path = "serial0:115200n8"; }; - memory { + memory at 0 { device_type = "memory"; reg = <0x00000000 0x00000000 0x00000000 0x40000000>; /* 1GB */ };
arch/arm/boot/dts/armada-xp-db.dts +1 -1
@@ -67,7 +67,7 @@ stdout-path = "serial0:115200n8"; }; - memory { + memory at 0 { device_type = "memory"; reg = <0 0x00000000 0 0x80000000>; /* 2 GB */ };
arch/arm/boot/dts/armada-xp-gp.dts +1 -1
@@ -68,7 +68,7 @@ stdout-path = "serial0:115200n8"; }; - memory { + memory at 0 { device_type = "memory"; /* * 8 GB of plug-in RAM modules by default.The amount
arch/arm/boot/dts/armada-xp-lenovo-ix4-300d.dts +1 -1
@@ -57,7 +57,7 @@ stdout-path = "serial0:115200n8"; }; - memory { + memory at 0 { device_type = "memory"; reg = <0 0x00000000 0 0x20000000>; /* 512MB */ };
arch/arm/boot/dts/armada-xp-linksys-mamba.dts +1 -1
@@ -62,7 +62,7 @@ stdout-path = &uart0; }; - memory { + memory at 0 { device_type = "memory"; reg = <0x00000000 0x00000000 0x00000000 0x10000000>; /* 256MB */ };
arch/arm/boot/dts/armada-xp-matrix.dts +1 -1
@@ -55,7 +55,7 @@ stdout-path = "serial0:115200n8"; }; - memory { + memory at 0 { device_type = "memory"; /* * This board has 4 GB of RAM, but the last 256 MB of
arch/arm/boot/dts/armada-xp-netgear-rn2120.dts +1 -1
@@ -56,7 +56,7 @@ stdout-path = "serial0:115200n8"; }; - memory { + memory at 0 { device_type = "memory"; reg = <0 0x00000000 0 0x80000000>; /* 2GB */ };
arch/arm/boot/dts/armada-xp-openblocks-ax3-4.dts +1 -1
@@ -57,7 +57,7 @@ stdout-path = "serial0:115200n8"; }; - memory { + memory at 0 { device_type = "memory"; reg = <0 0x00000000 0 0x40000000>; /* 1 GB soldered on */ };
arch/arm/boot/dts/armada-xp-synology-ds414.dts +1 -1
@@ -70,7 +70,7 @@ stdout-path = "serial0:115200n8"; }; - memory { + memory at 0 { device_type = "memory"; reg = <0 0x00000000 0 0x40000000>; /* 1GB */ };
Signature · 1 line
2.10.2
PATCH v2 17/19 ARM: dts: armada-370-xp: Remove address from dsa unit name
In reply to Gregory CLEMENTThe dsa node does not have a reg property, so remove the address from the unit name.
--- arch/arm/boot/dts/armada-370-rd.dts | 2 +- arch/arm/boot/dts/armada-xp-linksys-mamba.dts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
arch/arm/boot/dts/armada-370-rd.dts +1 -1
@@ -172,7 +172,7 @@ }; }; - dsa at 0 { + dsa { compatible = "marvell,dsa"; #address-cells = <2>; #size-cells = <0>;
arch/arm/boot/dts/armada-xp-linksys-mamba.dts +1 -1
@@ -301,7 +301,7 @@ 4500 1>; }; - dsa at 0 { + dsa { compatible = "marvell,dsa"; #address-cells = <2>; #size-cells = <0>;
Signature · 1 line
2.10.2
PATCH v2 18/19 ARM: dts: armada-370-xp: Remove button address and fixup names
In reply to Gregory CLEMENTThe gpio-key nodes do not have a reg property, so remove the address from the unit name.
--- arch/arm/boot/dts/armada-370-rd.dts | 2 +- arch/arm/boot/dts/armada-370-seagate-nas-xbay.dtsi | 6 +++--- arch/arm/boot/dts/armada-370-seagate-personal-cloud.dtsi | 6 +++--- arch/arm/boot/dts/armada-xp-axpwifiap.dts | 2 +- arch/arm/boot/dts/armada-xp-linksys-mamba.dts | 4 ++-- arch/arm/boot/dts/armada-xp-openblocks-ax3-4.dts | 2 +- 6 files changed, 11 insertions(+), 11 deletions(-)
arch/arm/boot/dts/armada-370-rd.dts +1 -1
@@ -122,7 +122,7 @@ compatible = "gpio-keys"; #address-cells = <1>; #size-cells = <0>; - button at 1 { + button { label = "Software Button"; linux,code = <KEY_POWER>; gpios = <&gpio0 6 GPIO_ACTIVE_LOW>;
arch/arm/boot/dts/armada-370-seagate-nas-xbay.dtsi +3 -3
@@ -141,19 +141,19 @@ #address-cells = <1>; #size-cells = <0>; - button at 1 { + power { label = "Power button"; linux,code = <KEY_POWER>; gpios = <&gpio1 19 GPIO_ACTIVE_LOW>; debounce-interval = <100>; }; - button at 2 { + backup { label = "Backup button"; linux,code = <KEY_OPTION>; gpios = <&gpio0 31 GPIO_ACTIVE_LOW>; debounce-interval = <100>; }; - button at 3 { + reset { label = "Reset Button"; linux,code = <KEY_RESTART>; gpios = <&gpio1 23 GPIO_ACTIVE_LOW>;
arch/arm/boot/dts/armada-370-seagate-personal-cloud.dtsi +3 -3
@@ -89,19 +89,19 @@ #address-cells = <1>; #size-cells = <0>; - button at 1 { + power { label = "Power button"; linux,code = <KEY_POWER>; gpios = <&gpio1 19 GPIO_ACTIVE_HIGH>; debounce-interval = <100>; }; - button at 2 { + reset { label = "Reset Button"; linux,code = <KEY_RESTART>; gpios = <&gpio1 23 GPIO_ACTIVE_LOW>; debounce-interval = <100>; }; - button at 3 { + button { label = "USB VBUS error"; linux,code = <KEY_UNKNOWN>; gpios = <&gpio1 21 GPIO_ACTIVE_LOW>;
arch/arm/boot/dts/armada-xp-axpwifiap.dts +1 -1
@@ -113,7 +113,7 @@ pinctrl-0 = <&keys_pin>; pinctrl-names = "default"; - button at 1 { + reset { label = "Factory Reset Button"; linux,code = <KEY_SETUP>; gpios = <&gpio1 1 GPIO_ACTIVE_LOW>;
arch/arm/boot/dts/armada-xp-linksys-mamba.dts +2 -2
@@ -267,13 +267,13 @@ pinctrl-0 = <&keys_pin>; pinctrl-names = "default"; - button at 1 { + wps { label = "WPS"; linux,code = <KEY_WPS_BUTTON>; gpios = <&gpio1 0 GPIO_ACTIVE_LOW>; }; - button at 2 { + reset { label = "Factory Reset Button"; linux,code = <KEY_RESTART>; gpios = <&gpio1 1 GPIO_ACTIVE_LOW>;
arch/arm/boot/dts/armada-xp-openblocks-ax3-4.dts +1 -1
@@ -111,7 +111,7 @@ #address-cells = <1>; #size-cells = <0>; - button at 1 { + init { label = "Init Button"; linux,code = <KEY_POWER>; gpios = <&gpio1 28 GPIO_ACTIVE_HIGH>;
Signature · 1 line
2.10.2
PATCH v2 19/19 ARM: dts: armada-370-xp: Fixup regulator DT warning
In reply to Gregory CLEMENTregulator has a reg property so the unit name should contain an address.
--- arch/arm/boot/dts/armada-370-synology-ds213j.dts | 4 ++-- arch/arm/boot/dts/armada-xp-synology-ds414.dts | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-)
arch/arm/boot/dts/armada-370-synology-ds213j.dts +2 -2
@@ -186,7 +186,7 @@ pinctrl-0 = <&sata1_pwr_pin &sata2_pwr_pin>; pinctrl-names = "default"; - sata1_regulator: sata1-regulator { + sata1_regulator: sata1-regulator at 1 { compatible = "regulator-fixed"; reg = <1>; regulator-name = "SATA1 Power";
@@ -199,7 +199,7 @@ gpio = <&gpio1 5 GPIO_ACTIVE_HIGH>; }; - sata2_regulator: sata2-regulator { + sata2_regulator: sata2-regulator at 2 { compatible = "regulator-fixed"; reg = <2>; regulator-name = "SATA2 Power";
arch/arm/boot/dts/armada-xp-synology-ds414.dts +4 -4
@@ -154,7 +154,7 @@ &sata3_pwr_pin &sata4_pwr_pin>; pinctrl-names = "default"; - sata1_regulator: sata1-regulator { + sata1_regulator: sata1-regulator at 1 { compatible = "regulator-fixed"; reg = <1>; regulator-name = "SATA1 Power";
@@ -167,7 +167,7 @@ gpio = <&gpio1 10 GPIO_ACTIVE_HIGH>; }; - sata2_regulator: sata2-regulator { + sata2_regulator: sata2-regulator at 2 { compatible = "regulator-fixed"; reg = <2>; regulator-name = "SATA2 Power";
@@ -180,7 +180,7 @@ gpio = <&gpio1 12 GPIO_ACTIVE_HIGH>; }; - sata3_regulator: sata3-regulator { + sata3_regulator: sata3-regulator at 3 { compatible = "regulator-fixed"; reg = <3>; regulator-name = "SATA3 Power";
@@ -193,7 +193,7 @@ gpio = <&gpio1 13 GPIO_ACTIVE_HIGH>; }; - sata4_regulator: sata4-regulator { + sata4_regulator: sata4-regulator at 4 { compatible = "regulator-fixed"; reg = <4>; regulator-name = "SATA4 Power";
Signature · 1 line
2.10.2