#include "rt3050.dtsi"
+#include <dt-bindings/gpio/gpio.h>
+#include <dt-bindings/input/input.h>
+
/ {
- compatible = "AWAPN2403", "ralink,rt3052-soc";
+ compatible = "asiarf,awapn2403", "ralink,rt3052-soc";
model = "AsiaRF AWAPN2403";
+ aliases {
+ led-status = &led_wps;
+ };
+
+
gpio-leds {
compatible = "gpio-leds";
- link {
+ led_wps: wps {
label = "awapn2403:green:wps";
- gpios = <&gpio0 14 1>;
+ gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
};
};
reset {
label = "reset";
- gpios = <&gpio0 0 1>;
- linux,code = <0x198>;
+ gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
+ linux,code = <KEY_RESTART>;
};
};
};
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
- linux,modalias = "m25p80", "mx25l3205d";
spi-max-frequency = <10000000>;
partition@0 {