ramips: various Netgear R6120 fixes
[openwrt/staging/jogo.git] / target / linux / ramips / dts / R6120.dts
index e7eb3f9aaa37896552e0c675ecd28bc890d0280b..07b1a165d344ca35ca58e4bce705256e5a84343c 100644 (file)
                        gpios = <&gpio1 9 GPIO_ACTIVE_LOW>;
                };
 
-               wlan5 {
-                       label = "r6120:green:wlan5g";
+               wan {
+                       label = "r6120:green:wan";
                        gpios = <&gpio1 8 GPIO_ACTIVE_LOW>;
                };
 
-               wlan5_orange {
-                       label = "r6120:orange:wlan5g";
+               wan_orange {
+                       label = "r6120:orange:wan";
                        gpios = <&gpio1 7 GPIO_ACTIVE_LOW>;
                };
        };
                                read-only;
                        };
 
-                       nvram: partition@60000 {
+                       partition@60000 {
                                label = "nvram";
                                reg = <0x60000 0x30000>;
                                read-only;
 
 &wmac {
        status = "okay";
-       mtd-mac-address = <&nvram 0x100b0>;
-       mediatek,mtd-eeprom = <&factory 0x20000>;
+       mtd-mac-address = <&factory 0x4>;
+       mediatek,mtd-eeprom = <&factory 0x0>;
 };
 
 &ethernet {
-       mtd-mac-address = <&nvram 0x100b0>;
+       mtd-mac-address = <&factory 0x4>;
 };
 
 &pcie {
 &pcie0 {
        wifi@0,0 {
                reg = <0x0000 0 0 0 0>;
-               mediatek,mtd-eeprom = <&factory 0x28000>;
+               mediatek,mtd-eeprom = <&factory 0x8000>;
                ieee80211-freq-limit = <5000000 6000000>;
-               mtd-mac-address = <&nvram 0x100b0>;
+               mtd-mac-address = <&factory 0x4>;
                mtd-mac-address-increment = <(2)>;
        };
 };