led-status = &system;
};
- memory@0 {
- device_type = "memory";
- reg = <0x0 0x8000000>;
- };
-
leds {
compatible = "gpio-leds";
#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";