Commit 1fc21295 authored by Gregory CLEMENT's avatar Gregory CLEMENT

ARM: dts: armada-370-xp: Fixup mdio DT warning

MDIO 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.
Signed-off-by: default avatarGregory CLEMENT <gregory.clement@free-electrons.com>
parent f60f9139
...@@ -86,18 +86,6 @@ sata@a0000 { ...@@ -86,18 +86,6 @@ sata@a0000 {
status = "okay"; status = "okay";
}; };
mdio {
pinctrl-0 = <&mdio_pins>;
pinctrl-names = "default";
phy0: ethernet-phy@0 {
reg = <0>;
};
phy1: ethernet-phy@1 {
reg = <1>;
};
};
ethernet@70000 { ethernet@70000 {
pinctrl-0 = <&ge0_rgmii_pins>; pinctrl-0 = <&ge0_rgmii_pins>;
pinctrl-names = "default"; pinctrl-names = "default";
...@@ -260,6 +248,18 @@ spdif_in: spdif-in { ...@@ -260,6 +248,18 @@ spdif_in: spdif-in {
compatible = "linux,spdif-dir"; compatible = "linux,spdif-dir";
}; };
}; };
&mdio {
pinctrl-0 = <&mdio_pins>;
pinctrl-names = "default";
phy0: ethernet-phy@0 {
reg = <0>;
};
phy1: ethernet-phy@1 {
reg = <1>;
};
};
&spi0 { &spi0 {
pinctrl-0 = <&spi0_pins2>; pinctrl-0 = <&spi0_pins2>;
......
...@@ -113,17 +113,6 @@ green_stat_led { ...@@ -113,17 +113,6 @@ green_stat_led {
}; };
}; };
mdio {
pinctrl-0 = <&mdio_pins>;
pinctrl-names = "default";
phy0: ethernet-phy@0 {
reg = <0>;
};
phy1: ethernet-phy@1 {
reg = <1>;
};
};
ethernet@70000 { ethernet@70000 {
pinctrl-0 = <&ge0_rgmii_pins>; pinctrl-0 = <&ge0_rgmii_pins>;
pinctrl-names = "default"; pinctrl-names = "default";
...@@ -197,6 +186,18 @@ partition@800000 { ...@@ -197,6 +186,18 @@ partition@800000 {
}; };
}; };
&mdio {
pinctrl-0 = <&mdio_pins>;
pinctrl-names = "default";
phy0: ethernet-phy@0 {
reg = <0>;
};
phy1: ethernet-phy@1 {
reg = <1>;
};
};
&pinctrl { &pinctrl {
pwr_led_pin: pwr-led-pin { pwr_led_pin: pwr-led-pin {
marvell,pins = "mpp63"; marvell,pins = "mpp63";
......
...@@ -99,14 +99,6 @@ sata@a0000 { ...@@ -99,14 +99,6 @@ sata@a0000 {
status = "okay"; status = "okay";
}; };
mdio {
pinctrl-0 = <&mdio_pins>;
pinctrl-names = "default";
phy0: ethernet-phy@0 { /* Marvell 88E1318 */
reg = <0>;
};
};
ethernet@74000 { ethernet@74000 {
pinctrl-0 = <&ge1_rgmii_pins>; pinctrl-0 = <&ge1_rgmii_pins>;
pinctrl-names = "default"; pinctrl-names = "default";
...@@ -260,6 +252,14 @@ gpio-poweroff { ...@@ -260,6 +252,14 @@ gpio-poweroff {
}; };
}; };
&mdio {
pinctrl-0 = <&mdio_pins>;
pinctrl-names = "default";
phy0: ethernet-phy@0 { /* Marvell 88E1318 */
reg = <0>;
};
};
&pinctrl { &pinctrl {
power_led_pin: power-led-pin { power_led_pin: power-led-pin {
marvell,pins = "mpp57"; marvell,pins = "mpp57";
......
...@@ -93,18 +93,6 @@ serial@12000 { ...@@ -93,18 +93,6 @@ serial@12000 {
status = "okay"; status = "okay";
}; };
mdio {
pinctrl-0 = <&mdio_pins>;
pinctrl-names = "default";
phy0: ethernet-phy@0 { /* Marvell 88E1318 */
reg = <0>;
};
phy1: ethernet-phy@1 { /* Marvell 88E1318 */
reg = <1>;
};
};
ethernet@70000 { ethernet@70000 {
pinctrl-0 = <&ge0_rgmii_pins>; pinctrl-0 = <&ge0_rgmii_pins>;
pinctrl-names = "default"; pinctrl-names = "default";
...@@ -282,6 +270,18 @@ gpio-poweroff { ...@@ -282,6 +270,18 @@ gpio-poweroff {
}; };
}; };
&mdio {
pinctrl-0 = <&mdio_pins>;
pinctrl-names = "default";
phy0: ethernet-phy@0 { /* Marvell 88E1318 */
reg = <0>;
};
phy1: ethernet-phy@1 { /* Marvell 88E1318 */
reg = <1>;
};
};
&pinctrl { &pinctrl {
poweroff: poweroff { poweroff: poweroff {
marvell,pins = "mpp60"; marvell,pins = "mpp60";
......
...@@ -102,14 +102,6 @@ sata@a0000 { ...@@ -102,14 +102,6 @@ sata@a0000 {
status = "okay"; status = "okay";
}; };
mdio {
pinctrl-0 = <&mdio_pins>;
pinctrl-names = "default";
phy0: ethernet-phy@0 {
reg = <0>;
};
};
ethernet@70000 { ethernet@70000 {
status = "okay"; status = "okay";
phy = <&phy0>; phy = <&phy0>;
...@@ -235,7 +227,16 @@ port@5 { ...@@ -235,7 +227,16 @@ port@5 {
}; };
}; };
}; };
};
&mdio {
pinctrl-0 = <&mdio_pins>;
pinctrl-names = "default";
phy0: ethernet-phy@0 {
reg = <0>;
}; };
};
&pinctrl { &pinctrl {
fan_pins: fan-pins { fan_pins: fan-pins {
......
...@@ -36,12 +36,6 @@ pcie@1,0 { ...@@ -36,12 +36,6 @@ pcie@1,0 {
}; };
internal-regs { internal-regs {
mdio {
phy1: ethernet-phy@1 {
reg = <1>;
};
};
ethernet@74000 { ethernet@74000 {
status = "okay"; status = "okay";
pinctrl-0 = <&ge1_rgmii_pins>; pinctrl-0 = <&ge1_rgmii_pins>;
...@@ -131,3 +125,10 @@ gpio-fan { ...@@ -131,3 +125,10 @@ gpio-fan {
1300 0>; 1300 0>;
}; };
}; };
&mdio {
phy1: ethernet-phy@1 {
reg = <1>;
};
};
...@@ -51,15 +51,6 @@ sata@a0000 { ...@@ -51,15 +51,6 @@ sata@a0000 {
status = "okay"; status = "okay";
}; };
mdio {
pinctrl-0 = <&mdio_pins>;
pinctrl-names = "default";
phy0: ethernet-phy@0 {
reg = <0>;
};
};
ethernet@70000 { ethernet@70000 {
status = "okay"; status = "okay";
pinctrl-0 = <&ge0_rgmii_pins>; pinctrl-0 = <&ge0_rgmii_pins>;
...@@ -208,6 +199,15 @@ gpio_poweroff { ...@@ -208,6 +199,15 @@ gpio_poweroff {
}; };
}; };
&mdio {
pinctrl-0 = <&mdio_pins>;
pinctrl-names = "default";
phy0: ethernet-phy@0 {
reg = <0>;
};
};
&pinctrl { &pinctrl {
pinctrl-0 = <&hdd0_led_sata_pin>, <&hdd1_led_sata_pin>; pinctrl-0 = <&hdd0_led_sata_pin>, <&hdd1_led_sata_pin>;
pinctrl-names = "default"; pinctrl-names = "default";
......
...@@ -51,15 +51,6 @@ serial@12000 { ...@@ -51,15 +51,6 @@ serial@12000 {
status = "okay"; status = "okay";
}; };
mdio {
pinctrl-0 = <&mdio_pins>;
pinctrl-names = "default";
phy0: ethernet-phy@0 {
reg = <0>;
};
};
ethernet@74000 { ethernet@74000 {
status = "okay"; status = "okay";
pinctrl-0 = <&ge1_rgmii_pins>; pinctrl-0 = <&ge1_rgmii_pins>;
...@@ -143,6 +134,15 @@ gpio_poweroff { ...@@ -143,6 +134,15 @@ gpio_poweroff {
}; };
}; };
&mdio {
pinctrl-0 = <&mdio_pins>;
pinctrl-names = "default";
phy0: ethernet-phy@0 {
reg = <0>;
};
};
&pinctrl { &pinctrl {
pinctrl-0 = <&sata_led_pin>; pinctrl-0 = <&sata_led_pin>;
pinctrl-names = "default"; pinctrl-names = "default";
......
...@@ -127,12 +127,6 @@ usb@51000 { ...@@ -127,12 +127,6 @@ usb@51000 {
status = "okay"; status = "okay";
}; };
mdio {
phy1: ethernet-phy@1 { /* Marvell 88E1512 */
reg = <1>;
};
};
ethernet@70000 { ethernet@70000 {
status = "okay"; status = "okay";
phy = <&phy1>; phy = <&phy1>;
...@@ -220,6 +214,12 @@ sata2_regulator: sata2-regulator { ...@@ -220,6 +214,12 @@ sata2_regulator: sata2-regulator {
}; };
}; };
&mdio {
phy1: ethernet-phy@1 { /* Marvell 88E1512 */
reg = <1>;
};
};
&pinctrl { &pinctrl {
disk1_led_pin: disk1-led-pin { disk1_led_pin: disk1-led-pin {
marvell,pins = "mpp31"; marvell,pins = "mpp31";
......
...@@ -259,7 +259,7 @@ eth0: ethernet@70000 { ...@@ -259,7 +259,7 @@ eth0: ethernet@70000 {
status = "disabled"; status = "disabled";
}; };
mdio: mdio { mdio: mdio@72004 {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
compatible = "marvell,orion-mdio"; compatible = "marvell,orion-mdio";
......
...@@ -111,16 +111,6 @@ sata@a0000 { ...@@ -111,16 +111,6 @@ sata@a0000 {
status = "okay"; status = "okay";
}; };
mdio {
phy0: ethernet-phy@0 {
reg = <0>;
};
phy1: ethernet-phy@1 {
reg = <1>;
};
};
ethernet@70000 { ethernet@70000 {
pinctrl-0 = <&ge0_rgmii_pins>; pinctrl-0 = <&ge0_rgmii_pins>;
pinctrl-names = "default"; pinctrl-names = "default";
...@@ -153,6 +143,16 @@ button@1 { ...@@ -153,6 +143,16 @@ button@1 {
}; };
}; };
&mdio {
phy0: ethernet-phy@0 {
reg = <0>;
};
phy1: ethernet-phy@1 {
reg = <1>;
};
};
&pinctrl { &pinctrl {
pinctrl-0 = <&phy_int_pin>; pinctrl-0 = <&phy_int_pin>;
pinctrl-names = "default"; pinctrl-names = "default";
......
...@@ -160,24 +160,6 @@ sata@a0000 { ...@@ -160,24 +160,6 @@ sata@a0000 {
status = "okay"; status = "okay";
}; };
mdio {
phy0: ethernet-phy@0 {
reg = <0>;
};
phy1: ethernet-phy@1 {
reg = <1>;
};
phy2: ethernet-phy@2 {
reg = <25>;
};
phy3: ethernet-phy@3 {
reg = <27>;
};
};
ethernet@70000 { ethernet@70000 {
status = "okay"; status = "okay";
phy = <&phy0>; phy = <&phy0>;
...@@ -266,6 +248,24 @@ bm-bppi { ...@@ -266,6 +248,24 @@ bm-bppi {
}; };
}; };
&mdio {
phy0: ethernet-phy@0 {
reg = <0>;
};
phy1: ethernet-phy@1 {
reg = <1>;
};
phy2: ethernet-phy@2 {
reg = <25>;
};
phy3: ethernet-phy@3 {
reg = <27>;
};
};
&spi0 { &spi0 {
status = "okay"; status = "okay";
......
...@@ -175,24 +175,6 @@ sata@a0000 { ...@@ -175,24 +175,6 @@ sata@a0000 {
status = "okay"; status = "okay";
}; };
mdio {
phy0: ethernet-phy@0 {
reg = <16>;
};
phy1: ethernet-phy@1 {
reg = <17>;
};
phy2: ethernet-phy@2 {
reg = <18>;
};
phy3: ethernet-phy@3 {
reg = <19>;
};
};
ethernet@70000 { ethernet@70000 {
status = "okay"; status = "okay";
phy = <&phy0>; phy = <&phy0>;
...@@ -251,6 +233,24 @@ bm-bppi { ...@@ -251,6 +233,24 @@ bm-bppi {
}; };
}; };
&mdio {
phy0: ethernet-phy@0 {
reg = <16>;
};
phy1: ethernet-phy@1 {
reg = <17>;
};
phy2: ethernet-phy@2 {
reg = <18>;
};
phy3: ethernet-phy@3 {
reg = <19>;
};
};
&spi0 { &spi0 {
status = "okay"; status = "okay";
......
...@@ -89,16 +89,6 @@ serial@12000 { ...@@ -89,16 +89,6 @@ serial@12000 {
status = "okay"; status = "okay";
}; };
mdio {
phy0: ethernet-phy@0 { /* Marvell 88E1318 */
reg = <0>;
};
phy1: ethernet-phy@1 { /* Marvell 88E1318 */
reg = <1>;
};
};
ethernet@70000 { ethernet@70000 {
pinctrl-0 = <&ge0_rgmii_pins>; pinctrl-0 = <&ge0_rgmii_pins>;
pinctrl-names = "default"; pinctrl-names = "default";
...@@ -296,6 +286,16 @@ gpio-poweroff { ...@@ -296,6 +286,16 @@ gpio-poweroff {
}; };
}; };
&mdio {
phy0: ethernet-phy@0 { /* Marvell 88E1318 */
reg = <0>;
};
phy1: ethernet-phy@1 { /* Marvell 88E1318 */
reg = <1>;
};
};
&pinctrl { &pinctrl {
poweroff_pin: poweroff-pin { poweroff_pin: poweroff-pin {
marvell,pins = "mpp24"; marvell,pins = "mpp24";
......
...@@ -153,16 +153,6 @@ usb@50000 { ...@@ -153,16 +153,6 @@ usb@50000 {
status = "okay"; status = "okay";
}; };
mdio {
phy0: ethernet-phy@0 { /* Marvell 88E1318 */
reg = <0>;
};
phy1: ethernet-phy@1 { /* Marvell 88E1318 */
reg = <1>;
};
};
ethernet@70000 { ethernet@70000 {
pinctrl-0 = <&ge0_rgmii_pins>; pinctrl-0 = <&ge0_rgmii_pins>;
pinctrl-names = "default"; pinctrl-names = "default";
...@@ -300,6 +290,17 @@ gpio-poweroff { ...@@ -300,6 +290,17 @@ gpio-poweroff {
}; };
}; };
&mdio {
phy0: ethernet-phy@0 { /* Marvell 88E1318 */
reg = <0>;
};
phy1: ethernet-phy@1 { /* Marvell 88E1318 */
reg = <1>;
};
};
&pinctrl { &pinctrl {
poweroff: poweroff { poweroff: poweroff {
marvell,pins = "mpp42"; marvell,pins = "mpp42";
......
...@@ -155,24 +155,6 @@ button@1 { ...@@ -155,24 +155,6 @@ button@1 {
}; };
}; };
mdio {
phy0: ethernet-phy@0 {
reg = <0>;
};
phy1: ethernet-phy@1 {
reg = <1>;
};
phy2: ethernet-phy@2 {
reg = <2>;
};
phy3: ethernet-phy@3 {
reg = <3>;
};
};
ethernet@70000 { ethernet@70000 {
status = "okay"; status = "okay";
phy = <&phy0>; phy = <&phy0>;
...@@ -240,6 +222,24 @@ bm-bppi { ...@@ -240,6 +222,24 @@ bm-bppi {
}; };
}; };
&mdio {
phy0: ethernet-phy@0 {
reg = <0>;
};
phy1: ethernet-phy@1 {
reg = <1>;
};
phy2: ethernet-phy@2 {
reg = <2>;
};
phy3: ethernet-phy@3 {
reg = <3>;
};
};
&pinctrl { &pinctrl {
led_pins: led-pins-0 { led_pins: led-pins-0 {
marvell,pins = "mpp49", "mpp51", "mpp53"; marvell,pins = "mpp49", "mpp51", "mpp53";
......
...@@ -150,16 +150,6 @@ usb@50000 { ...@@ -150,16 +150,6 @@ usb@50000 {
status = "okay"; status = "okay";
}; };
mdio {
phy0: ethernet-phy@0 { /* Marvell 88E1512 */
reg = <0>;
};
phy1: ethernet-phy@1 { /* Marvell 88E1512 */
reg = <1>;
};
};
ethernet@70000 { ethernet@70000 {
status = "okay"; status = "okay";
pinctrl-0 = <&ge0_rgmii_pins>; pinctrl-0 = <&ge0_rgmii_pins>;
...@@ -240,6 +230,16 @@ sata4_regulator: sata4-regulator { ...@@ -240,6 +230,16 @@ sata4_regulator: sata4-regulator {
}; };
}; };
&mdio {
phy0: ethernet-phy@0 { /* Marvell 88E1512 */
reg = <0>;
};
phy1: ethernet-phy@1 { /* Marvell 88E1512 */
reg = <1>;
};
};
&pinctrl { &pinctrl {
sata1_pwr_pin: sata1-pwr-pin { sata1_pwr_pin: sata1-pwr-pin {
marvell,pins = "mpp42"; marvell,pins = "mpp42";
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment