ramips: ethernet mac cleanup
[openwrt.git] / target / linux / ramips / dts / FONERA20N.dts
index 31e087b..2e01457 100644 (file)
                switch {
                        label = "switch";
                        gpios = <&gpio0 13 1>;
-                       linux,code = <0x101>;
+                       linux,code = <0xf7>;
+                       linux,input-type = <5>; /* EV_SW */
                };
        };
 
+       ethernet@10100000 {
+               mtd-mac-address = <&factory 0x28>;
+       };
+
        esw@10110000 {
                ralink,portmap = <0x2f>;
 
                };
        };
 
+       wmac@10180000 {
+               ralink,mtd-eeprom = <&factory 0>;
+       };
+
        otg@101c0000 {
                status = "okay";
        };