};
keys {
- compatible = "gpio-keys-polled";
- poll-interval = <20>;
+ compatible = "gpio-keys";
reset {
label = "reset";
- gpios = <&gpio1 6 GPIO_ACTIVE_LOW>;
+ gpios = <&gpio 38 GPIO_ACTIVE_LOW>;
linux,code = <KEY_RESTART>;
};
};
led_system: system {
label = "awusfree1:orange:system";
- gpios = <&gpio1 11 GPIO_ACTIVE_LOW>;
+ gpios = <&gpio 43 GPIO_ACTIVE_LOW>;
};
wlan {
label = "awusfree1:blue:wlan";
- gpios = <&gpio1 12 GPIO_ACTIVE_LOW>;
+ gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
};
};
-
- memory@0 {
- device_type = "memory";
- reg = <0x0 0x4000000>;
- };
};
&ehci {
mtd-mac-address = <&factory 0x2e>;
};
-&gpio1 {
- status = "okay";
-};
-
&ohci {
status = "disabled";
};
-&pinctrl {
- state_default: pinctrl0 {
- gpio {
- ralink,group = "p0led_an", "wdt", "wled_an";
- ralink,function = "gpio";
- };
+&state_default {
+ gpio {
+ groups = "p0led_an", "wdt", "wled_an";
+ function = "gpio";
+ };
- ext_lna {
- ralink,group = "uart1";
- ralink,function = "sw_r";
- };
+ ext_lna {
+ groups = "uart1";
+ function = "sw_r";
+ };
- ext_pa {
- ralink,group = "i2s";
- ralink,function = "antenna";
- };
+ ext_pa {
+ groups = "i2s";
+ function = "antenna";
};
};
&wmac {
status = "okay";
- mediatek,mtd-eeprom = <&factory 0x0>;
};