5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "dlink,dap-1522-a1", "ralink,rt2880-soc";
10 model = "D-Link DAP-1522 A1";
13 compatible = "cfi-flash";
14 reg = <0xbc400000 0x800000>;
26 factory: partition@30000 {
28 reg = <0x30000 0x10000>;
34 reg = <0x40000 0x3a0000>;
39 compatible = "realtek,rtl8366s";
40 gpio-sda = <&gpio0 1 GPIO_ACTIVE_HIGH>;
41 gpio-sck = <&gpio0 2 GPIO_ACTIVE_HIGH>;
45 compatible = "gpio-keys-polled";
48 poll-interval = <100>;
52 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
53 linux,code = <KEY_RESTART>;
58 gpios = <&gpio2 16 GPIO_ACTIVE_LOW>;
59 linux,code = <KEY_WPS_BUTTON>;
64 gpios = <&gpio2 13 GPIO_ACTIVE_LOW>;
66 linux,input-type = <EV_SW>;
71 gpios = <&gpio2 14 GPIO_ACTIVE_LOW>;
73 linux,input-type = <EV_SW>;
78 compatible = "gpio-leds";
81 label = "dap-1522-a1:blue:wps";
82 gpios = <&gpio2 17 GPIO_ACTIVE_LOW>;
86 label = "dap-1522-a1:blue:ap";
87 gpios = <&gpio2 18 GPIO_ACTIVE_LOW>;
91 label = "dap-1522-a1:red:sta";
92 gpios = <&gpio2 19 GPIO_ACTIVE_LOW>;
96 label = "dap-1522-a1:blue:status";
97 gpios = <&gpio2 20 GPIO_ACTIVE_LOW>;
111 state_default: pinctrl0 {
113 ralink,group = "i2c", "uartlite", "pci";
114 ralink,function = "gpio";
121 mtd-mac-address = <&factory 0x2004>;
124 mediatek,fixed-link = <1000 1 1 1>;
130 phy0: ethernet-phy@0 {
138 ralink,mtd-eeprom = <&factory 0x2000>;