ramips: add support for ZBT-WE1326
[openwrt/staging/florian.git] / target / linux / ramips / dts / F5D8235_V2.dts
index d0a49f60e24a4b5e5178afc26e973150b60d9230..b38dbbb072a0946d4f359dae271d6771d41ba4fa 100644 (file)
@@ -1,20 +1,11 @@
 /dts-v1/;
 
-/include/ "rt3050.dtsi"
+#include "rt3050.dtsi"
 
 / {
        compatible = "F5D8235_V2", "ralink,rt3052-soc";
        model = "Belkin F5D8235 v2";
 
-       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 = <&uboot 0x40004>;
-       };
-
-       esw@10110000 {
-               ralink,portmap = <0x3f>;
-       };
-
-       wmac@10180000 {
-               ralink,mtd-eeprom = <&uboot 0x40000>;
-       };
-
-       otg@101c0000 {
-               status = "okay";
-       };
-
        rtl8366rb {
-               compatible = "rtl8366rb";
+               compatible = "realtek,rtl8366rb";
                gpio-sda = <&gpio0 1 0>;
                gpio-sck = <&gpio0 2 0>;
        };
                };
        };
 };
+
+&pinctrl {
+       state_default: pinctrl0 {
+               gpio {
+                       ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
+                       ralink,function = "gpio";
+               };
+       };
+};
+
+&ethernet {
+       mtd-mac-address = <&uboot 0x40004>;
+};
+
+&esw {
+       mediatek,portmap = <0x3f>;
+};
+
+&wmac {
+       ralink,mtd-eeprom = <&uboot 0x40000>;
+};
+
+&otg {
+       status = "okay";
+};