ramips: DTS rework
[openwrt/openwrt.git] / target / linux / ramips / dts / BC2.dts
index 9161a553232c31386e3137c57c7fc9a20c3fbe30..5ae10a31a0f796813da37ffc1b5895b47c60e611 100644 (file)
@@ -6,15 +6,6 @@
        compatible = "BC2", "ralink,rt3052-soc";
        model = "NexAira BC2";
 
-       pinctrl {
-               state_default: pinctrl0 {
-                       gpio {
-                               ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
-                               ralink,function = "gpio";
-                       };
-               };
-       };
-
        cfi@1f000000 {
                compatible = "cfi-flash";
                reg = <0x1f000000 0x800000>;
                        linux,code = <0x198>;
                };
        };
+};
 
-       ethernet@10100000 {
-               mtd-mac-address = <&factory 0x4>;
+&pinctrl {
+       state_default: pinctrl0 {
+               gpio {
+                       ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
+                       ralink,function = "gpio";
+               };
        };
+};
 
-       esw@10110000 {
-               mediatek,portmap = <0x2f>;
-       };
+&ethernet {
+       mtd-mac-address = <&factory 0x4>;
+};
 
-       wmac@10180000 {
-               ralink,mtd-eeprom = <&factory 0>;
-       };
+&esw {
+       mediatek,portmap = <0x2f>;
+};
 
-       otg@101c0000 {
-               status = "okay";
-       };
+&wmac {
+       ralink,mtd-eeprom = <&factory 0>;
+};
+
+&otg {
+       status = "okay";
 };