ramips: add wmac to mt7620a device tree
[openwrt.git] / target / linux / ramips / dts / HG255D.dts
index 7ecb4f3..7496ca5 100644 (file)
@@ -6,15 +6,12 @@
        compatible = "HG255D", "ralink,rt3052-soc";
        model = "HuaWei HG255D";
 
-       palmbus@10000000 {
-               sysc@0 {
-                       ralink,pinmux = "i2c", "spi", "uartlite", "jtag", "mdio", "sdram", "rgmii";
-                       ralink,uartmux = "gpio";
-                       ralink,wdtmux = <1>;
-               };
-
-               gpio0: gpio@600 {
-                       status = "okay";
+       pinctrl {
+               state_default: pinctrl0 {
+                       gpio {
+                               ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
+                               ralink,function = "gpio";
+                       };
                };
        };
 
@@ -49,7 +46,7 @@
                        label = "firmware";
                        reg = <0x80000 0xf60000>;
                };
-               
+
                partition@fa0000 {
                        label = "factory-orig";
                        reg = <0xfa0000 0x20000>;
        };
 
        ethernet@10100000 {
-               status = "okay";
+               mtd-mac-address = <&factory 0x28>;
        };
 
        esw@10110000 {
-               status = "okay";
                ralink,portmap = <0x2f>;
        };
 
-       wmac@10180000 {
-               status = "okay";
-       };
-
        otg@101c0000 {
                status = "okay";
        };