3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
7 compatible = "dlink,dap-1522-a1", "ralink,rt2880-soc";
8 model = "D-Link DAP-1522 A1";
11 led-boot = &led_status;
12 led-failsafe = &led_status;
13 led-running = &led_status;
14 led-upgrade = &led_status;
18 compatible = "cfi-flash";
19 reg = <0xbc400000 0x800000>;
24 compatible = "fixed-partitions";
34 factory: partition@30000 {
35 compatible = "nvmem-cells";
37 reg = <0x30000 0x10000>;
42 eeprom_factory_2000: eeprom@2000 {
46 macaddr_factory_2004: macaddr@2004 {
54 reg = <0x40000 0x3a0000>;
60 compatible = "realtek,rtl8366s";
61 gpio-sda = <&gpio0 1 GPIO_ACTIVE_HIGH>;
62 gpio-sck = <&gpio0 2 GPIO_ACTIVE_HIGH>;
66 compatible = "gpio-keys-polled";
67 poll-interval = <100>;
71 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
72 linux,code = <KEY_RESTART>;
77 gpios = <&gpio2 16 GPIO_ACTIVE_LOW>;
78 linux,code = <KEY_WPS_BUTTON>;
83 gpios = <&gpio2 13 GPIO_ACTIVE_LOW>;
85 linux,input-type = <EV_SW>;
90 gpios = <&gpio2 14 GPIO_ACTIVE_LOW>;
92 linux,input-type = <EV_SW>;
97 compatible = "gpio-leds";
101 gpios = <&gpio2 17 GPIO_ACTIVE_LOW>;
106 gpios = <&gpio2 18 GPIO_ACTIVE_LOW>;
111 gpios = <&gpio2 19 GPIO_ACTIVE_LOW>;
115 label = "blue:status";
116 gpios = <&gpio2 20 GPIO_ACTIVE_LOW>;
127 groups = "i2c", "uartlite", "pci";
134 nvmem-cells = <&macaddr_factory_2004>;
135 nvmem-cell-names = "mac-address";
138 mediatek,fixed-link = <1000 1 1 1>;
144 phy0: ethernet-phy@0 {
152 nvmem-cells = <&eeprom_factory_2000>;
153 nvmem-cell-names = "eeprom";