ramips: DTS rework
[openwrt/openwrt.git] / target / linux / ramips / dts / BROADWAY.dts
index 34696ad9ad9e62746e25b5dd4d56df215c8b7e4f..790dcc0467f2664dc10664540ee4fe658e0d4a11 100644 (file)
@@ -1,20 +1,11 @@
 /dts-v1/;
 
-/include/ "rt3050.dtsi"
+#include "rt3050.dtsi"
 
 / {
        compatible = "BROADWAY", "ralink,rt3052-soc";
        model = "Hauppauge Broadway";
 
-       pinctrl {
-               state_default: pinctrl0 {
-                       gpio {
-                               ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
-                               ralink,function = "gpio";
-                       };
-               };
-       };
-
        cfi@1f000000 {
                compatible = "cfi-flash";
                reg = <0x1f000000 0x800000>;
                };
        };
 
-       ethernet@10100000 {
-               mtd-mac-address = <&factory 0x4>;
-       };
-
-       esw@10110000 {
-               ralink,portmap = <0x3e>;
-       };
-
-       wmac@10180000 {
-               ralink,mtd-eeprom = <&factory 0>;
-       };
-
        gpio-leds {
                compatible = "gpio-leds";
 
                diskmounted {
-                       label = "red:diskmounted";
+                       label = "broadway:red:diskmounted";
                        gpios = <&gpio0 9 1>;
                };
 
                wps_active {
-                       label = "red:wps_active";
+                       label = "broadway:red:wps_active";
                        gpios = <&gpio0 14 1>;
                };
        };
                        linux,code = <0x198>;
                };
        };
+};
 
-       otg@101c0000 {
-               status = "okay";
+&pinctrl {
+       state_default: pinctrl0 {
+               gpio {
+                       ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
+                       ralink,function = "gpio";
+               };
        };
 };
+
+&ethernet {
+       mtd-mac-address = <&factory 0x4>;
+};
+
+&esw {
+       mediatek,portmap = <0x3e>;
+};
+
+&wmac {
+       ralink,mtd-eeprom = <&factory 0>;
+};
+
+&otg {
+       status = "okay";
+};