ARM: dts: armada-385-linksys: flatten dependants

Flatten dts of individual boards to match the new style used in
armada-385-linksys.dtsi and for the Rango addition.

* Caiman - Linksys WRT1200AC v1 & v2
* Cobra - Linksys WRT1900AC v2
* Shelby - Linksys WRT1900ACS v1 & v2

Signed-off-by: Ralph Sennhauser <ralph.sennhauser@gmail.com>
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
This commit is contained in:
Ralph Sennhauser 2017-05-21 14:48:52 +02:00 committed by Gregory CLEMENT
parent 77c82b5f83
commit ecdcd24864
3 changed files with 162 additions and 183 deletions

View File

@ -44,71 +44,64 @@
model = "Linksys WRT1200AC"; model = "Linksys WRT1200AC";
compatible = "linksys,caiman", "linksys,armada385", "marvell,armada385", compatible = "linksys,caiman", "linksys,armada385", "marvell,armada385",
"marvell,armada380"; "marvell,armada380";
};
soc { &expander0 {
internal-regs{ #address-cells = <1>;
i2c@11000 { #size-cells = <0>;
pca9635@68 { wan_amber@0 {
#address-cells = <1>; label = "caiman:amber:wan";
#size-cells = <0>; reg = <0x0>;
wan_amber@0 {
label = "caiman:amber:wan";
reg = <0x0>;
};
wan_white@1 {
label = "caiman:white:wan";
reg = <0x1>;
};
wlan_2g@2 {
label = "caiman:white:wlan_2g";
reg = <0x2>;
};
wlan_5g@3 {
label = "caiman:white:wlan_5g";
reg = <0x3>;
};
usb2@5 {
label = "caiman:white:usb2";
reg = <0x5>;
};
usb3_1@6 {
label = "caiman:white:usb3_1";
reg = <0x6>;
};
usb3_2@7 {
label = "caiman:white:usb3_2";
reg = <0x7>;
};
wps_white@8 {
label = "caiman:white:wps";
reg = <0x8>;
};
wps_amber@9 {
label = "caiman:amber:wps";
reg = <0x9>;
};
};
};
};
}; };
gpio-leds { wan_white@1 {
power { label = "caiman:white:wan";
label = "caiman:white:power"; reg = <0x1>;
}; };
sata { wlan_2g@2 {
label = "caiman:white:sata"; label = "caiman:white:wlan_2g";
}; reg = <0x2>;
};
wlan_5g@3 {
label = "caiman:white:wlan_5g";
reg = <0x3>;
};
usb2@5 {
label = "caiman:white:usb2";
reg = <0x5>;
};
usb3_1@6 {
label = "caiman:white:usb3_1";
reg = <0x6>;
};
usb3_2@7 {
label = "caiman:white:usb3_2";
reg = <0x7>;
};
wps_white@8 {
label = "caiman:white:wps";
reg = <0x8>;
};
wps_amber@9 {
label = "caiman:amber:wps";
reg = <0x9>;
};
};
&gpio_leds {
power {
label = "caiman:white:power";
};
sata {
label = "caiman:white:sata";
}; };
}; };

View File

@ -44,71 +44,64 @@
model = "Linksys WRT1900ACv2"; model = "Linksys WRT1900ACv2";
compatible = "linksys,cobra", "linksys,armada385", "marvell,armada385", compatible = "linksys,cobra", "linksys,armada385", "marvell,armada385",
"marvell,armada380"; "marvell,armada380";
};
soc { &expander0 {
internal-regs{ #address-cells = <1>;
i2c@11000 { #size-cells = <0>;
pca9635@68 { wan_amber@0 {
#address-cells = <1>; label = "cobra:amber:wan";
#size-cells = <0>; reg = <0x0>;
wan_amber@0 {
label = "cobra:amber:wan";
reg = <0x0>;
};
wan_white@1 {
label = "cobra:white:wan";
reg = <0x1>;
};
wlan_2g@2 {
label = "cobra:white:wlan_2g";
reg = <0x2>;
};
wlan_5g@3 {
label = "cobra:white:wlan_5g";
reg = <0x3>;
};
usb2@5 {
label = "cobra:white:usb2";
reg = <0x5>;
};
usb3_1@6 {
label = "cobra:white:usb3_1";
reg = <0x6>;
};
usb3_2@7 {
label = "cobra:white:usb3_2";
reg = <0x7>;
};
wps_white@8 {
label = "cobra:white:wps";
reg = <0x8>;
};
wps_amber@9 {
label = "cobra:amber:wps";
reg = <0x9>;
};
};
};
};
}; };
gpio-leds { wan_white@1 {
power { label = "cobra:white:wan";
label = "cobra:white:power"; reg = <0x1>;
}; };
sata { wlan_2g@2 {
label = "cobra:white:sata"; label = "cobra:white:wlan_2g";
}; reg = <0x2>;
};
wlan_5g@3 {
label = "cobra:white:wlan_5g";
reg = <0x3>;
};
usb2@5 {
label = "cobra:white:usb2";
reg = <0x5>;
};
usb3_1@6 {
label = "cobra:white:usb3_1";
reg = <0x6>;
};
usb3_2@7 {
label = "cobra:white:usb3_2";
reg = <0x7>;
};
wps_white@8 {
label = "cobra:white:wps";
reg = <0x8>;
};
wps_amber@9 {
label = "cobra:amber:wps";
reg = <0x9>;
};
};
&gpio_leds {
power {
label = "cobra:white:power";
};
sata {
label = "cobra:white:sata";
}; };
}; };

View File

@ -44,71 +44,64 @@
model = "Linksys WRT1900ACS"; model = "Linksys WRT1900ACS";
compatible = "linksys,shelby", "linksys,armada385", "marvell,armada385", compatible = "linksys,shelby", "linksys,armada385", "marvell,armada385",
"marvell,armada380"; "marvell,armada380";
};
soc { &expander0 {
internal-regs{ #address-cells = <1>;
i2c@11000 { #size-cells = <0>;
pca9635@68 { wan_amber@0 {
#address-cells = <1>; label = "shelby:amber:wan";
#size-cells = <0>; reg = <0x0>;
wan_amber@0 {
label = "shelby:amber:wan";
reg = <0x0>;
};
wan_white@1 {
label = "shelby:white:wan";
reg = <0x1>;
};
wlan_2g@2 {
label = "shelby:white:wlan_2g";
reg = <0x2>;
};
wlan_5g@3 {
label = "shelby:white:wlan_5g";
reg = <0x3>;
};
usb2@5 {
label = "shelby:white:usb2";
reg = <0x5>;
};
usb3_1@6 {
label = "shelby:white:usb3_1";
reg = <0x6>;
};
usb3_2@7 {
label = "shelby:white:usb3_2";
reg = <0x7>;
};
wps_white@8 {
label = "shelby:white:wps";
reg = <0x8>;
};
wps_amber@9 {
label = "shelby:amber:wps";
reg = <0x9>;
};
};
};
};
}; };
gpio-leds { wan_white@1 {
power { label = "shelby:white:wan";
label = "shelby:white:power"; reg = <0x1>;
}; };
sata { wlan_2g@2 {
label = "shelby:white:sata"; label = "shelby:white:wlan_2g";
}; reg = <0x2>;
};
wlan_5g@3 {
label = "shelby:white:wlan_5g";
reg = <0x3>;
};
usb2@5 {
label = "shelby:white:usb2";
reg = <0x5>;
};
usb3_1@6 {
label = "shelby:white:usb3_1";
reg = <0x6>;
};
usb3_2@7 {
label = "shelby:white:usb3_2";
reg = <0x7>;
};
wps_white@8 {
label = "shelby:white:wps";
reg = <0x8>;
};
wps_amber@9 {
label = "shelby:amber:wps";
reg = <0x9>;
};
};
&gpio_leds {
power {
label = "shelby:white:power";
};
sata {
label = "shelby:white:sata";
}; };
}; };