ramips: DTS rework
[openwrt/openwrt.git] / target / linux / ramips / dts / CARAMBOLA.dts
index 5ff60c3af65224c1dc542822218172ea73f68707..e38c49f9574f6a2a3e8cb6a13f84306a2849884f 100644 (file)
                bootargs = "console=ttyS0,115200";
        };
 
-       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 0x28>;
+       i2c-gpio {
+               compatible = "i2c-gpio";
+               gpios = <&gpio0 1 0 &gpio0 2 0>;
+               i2c-gpio,delay-us = <10>;
        };
+};
 
-       esw@10110000 {
-               mediatek,portmap = <0x3f>;
+&pinctrl {
+       state_default: pinctrl0 {
+               gpio {
+                       ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
+                       ralink,function = "gpio";
+               };
        };
+};
 
-       wmac@10180000 {
-               ralink,mtd-eeprom = <&factory 0>;
-       };
+&ethernet {
+       mtd-mac-address = <&factory 0x28>;
+};
 
-       otg@101c0000 {
-               status = "okay";
-       };
+&esw {
+       mediatek,portmap = <0x3f>;
+};
 
-       i2c-gpio {
-               compatible = "i2c-gpio";
-               gpios = <&gpio0 1 0 &gpio0 2 0>;
-               i2c-gpio,delay-us = <10>;
-       };
+&wmac {
+       ralink,mtd-eeprom = <&factory 0>;
+};
+
+&otg {
+       status = "okay";
 };