ath79: add support for ON Networks N150R
[oweals/openwrt.git] / target / linux / ath79 / dts / ar9344_tl-wdr4300.dtsi
index e7f24bfe3433f4c498761f5c6400b3008d444c95..84dd721224859d35b9dab80b9236930c4260417e 100644 (file)
                #size-cells = <0>;
                poll-interval = <20>;
 
-               button@0 {
-                       label = "reset";
+               reset {
                        linux,code = <KEY_RESTART>;
                        gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
                        debounce-interval = <60>;
                };
 
-               button@1 {
-                       label = "wifi";
+               wifi {
                        linux,code = <KEY_RFKILL>;
                        linux,input-type = <EV_SW>;
                        gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
                                reg = <0x020000 0x7d0000>;
                        };
 
-                       partition@7f0000 {
+                       art: partition@7f0000 {
                                label = "art";
                                reg = <0x7f0000 0x010000>;
                                read-only;
        };
 };
 
+&wmac {
+       status = "okay";
+
+       mtd-cal-data = <&art 0x1000>;
+       mtd-mac-address = <&uboot 0x1fc00>;
+       mtd-mac-address-increment = <(-1)>;
+};
+
 &mdio0 {
        status = "okay";