]> git.baikalelectronics.ru Git - kernel.git/commitdiff
arm64: dts: armada-3720-turris-mox: Correct reg property for mdio devices
authorChris Packham <chris.packham@alliedtelesis.co.nz>
Mon, 16 May 2022 22:48:00 +0000 (10:48 +1200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 18 May 2022 12:03:43 +0000 (13:03 +0100)
MDIO devices have #address-cells = <1>, #size-cells = <0>. Now that we
have a schema enforcing this for marvell,orion-mdio we can see that the
turris-mox has a unnecessary 2nd cell for the switch nodes reg property
of it's switch devices. Remove the unnecessary 2nd cell from the
switches reg property.

Signed-off-by: Chris Packham <chris.packham@alliedtelesis.co.nz>
Reviewed-by: Marek BehĂșn <kabel@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/arm64/boot/dts/marvell/armada-3720-turris-mox.dts

index 1cee26479bfecec78480ab73703067ed43d9e20a..98c9a3265446dcc614a4c49cf7418eed9dc96f2b 100644 (file)
        /* switch nodes are enabled by U-Boot if modules are present */
        switch0@10 {
                compatible = "marvell,mv88e6190";
-               reg = <0x10 0>;
+               reg = <0x10>;
                dsa,member = <0 0>;
                interrupt-parent = <&moxtet>;
                interrupts = <MOXTET_IRQ_PERIDOT(0)>;
 
        switch0@2 {
                compatible = "marvell,mv88e6085";
-               reg = <0x2 0>;
+               reg = <0x2>;
                dsa,member = <0 0>;
                interrupt-parent = <&moxtet>;
                interrupts = <MOXTET_IRQ_TOPAZ>;
 
        switch1@11 {
                compatible = "marvell,mv88e6190";
-               reg = <0x11 0>;
+               reg = <0x11>;
                dsa,member = <0 1>;
                interrupt-parent = <&moxtet>;
                interrupts = <MOXTET_IRQ_PERIDOT(1)>;
 
        switch1@2 {
                compatible = "marvell,mv88e6085";
-               reg = <0x2 0>;
+               reg = <0x2>;
                dsa,member = <0 1>;
                interrupt-parent = <&moxtet>;
                interrupts = <MOXTET_IRQ_TOPAZ>;
 
        switch2@12 {
                compatible = "marvell,mv88e6190";
-               reg = <0x12 0>;
+               reg = <0x12>;
                dsa,member = <0 2>;
                interrupt-parent = <&moxtet>;
                interrupts = <MOXTET_IRQ_PERIDOT(2)>;
 
        switch2@2 {
                compatible = "marvell,mv88e6085";
-               reg = <0x2 0>;
+               reg = <0x2>;
                dsa,member = <0 2>;
                interrupt-parent = <&moxtet>;
                interrupts = <MOXTET_IRQ_TOPAZ>;