ramips: fix partition offset for D-Link DIR-810L
[openwrt/staging/wigyori.git] / target / linux / ramips / dts / mt7620a_dlink_dir-810l.dts
index 687d80fa5d86cf9457726248c8fa3409effe5b78..0b1ca26ba433a003fd13b4295e5a7c9a8fd0fb8b 100644 (file)
@@ -18,8 +18,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
                                read-only;
                        };
 
-                       partition@e0000 {
+                       partition@f0000 {
                                label = "Jffs2";
-                               reg = <0xe0000 0x80000>;
+                               reg = <0xf0000 0x80000>;
                                read-only;
                        };
 
        };
 };
 
-&pinctrl {
-       state_default: pinctrl0 {
-               gpio {
-                       ralink,group = "mdio", "rgmii1", "i2c", "wled", "uartf";
-                       ralink,function = "gpio";
-               };
+&state_default {
+       gpio {
+               ralink,group = "mdio", "rgmii1", "i2c", "wled", "uartf";
+               ralink,function = "gpio";
        };
 };
 
 };
 
 &wmac {
-       ralink,mtd-eeprom = <&factory 0>;
+       ralink,mtd-eeprom = <&factory 0x0>;
        pinctrl-names = "default";
        pinctrl-0 = <&pa_pins>;
+       mtd-mac-address = <&factory 0x28>;
 };
 
 &pcie0 {
                reg = <0x0000 0 0 0 0>;
                mediatek,mtd-eeprom = <&factory 0x8000>;
                ieee80211-freq-limit = <5000000 6000000>;
+               mtd-mac-address = <&factory 0x28>;
+               mtd-mac-address-increment = <2>;
        };
 };