3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
5 #include <dt-bindings/leds/common.h>
8 compatible = "dlink,dap-1522-a1", "ralink,rt2880-soc";
9 model = "D-Link DAP-1522 A1";
12 led-boot = &led_status;
13 led-failsafe = &led_status;
14 led-running = &led_status;
15 led-upgrade = &led_status;
19 compatible = "cfi-flash";
20 reg = <0xbc400000 0x800000>;
25 compatible = "fixed-partitions";
37 reg = <0x30000 0x10000>;
41 compatible = "fixed-layout";
45 eeprom_factory_2000: eeprom@2000 {
49 macaddr_factory_2004: macaddr@2004 {
58 reg = <0x40000 0x3a0000>;
64 compatible = "realtek,rtl8366s";
65 gpio-sda = <&gpio0 1 GPIO_ACTIVE_HIGH>;
66 gpio-sck = <&gpio0 2 GPIO_ACTIVE_HIGH>;
70 compatible = "gpio-keys-polled";
71 poll-interval = <100>;
75 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
76 linux,code = <KEY_RESTART>;
81 gpios = <&gpio2 16 GPIO_ACTIVE_LOW>;
82 linux,code = <KEY_WPS_BUTTON>;
87 gpios = <&gpio2 13 GPIO_ACTIVE_LOW>;
89 linux,input-type = <EV_SW>;
94 gpios = <&gpio2 14 GPIO_ACTIVE_LOW>;
96 linux,input-type = <EV_SW>;
101 compatible = "gpio-leds";
104 function = LED_FUNCTION_WPS;
105 color = <LED_COLOR_ID_BLUE>;
106 gpios = <&gpio2 17 GPIO_ACTIVE_LOW>;
111 gpios = <&gpio2 18 GPIO_ACTIVE_LOW>;
116 gpios = <&gpio2 19 GPIO_ACTIVE_LOW>;
120 function = LED_FUNCTION_STATUS;
121 color = <LED_COLOR_ID_BLUE>;
122 gpios = <&gpio2 20 GPIO_ACTIVE_LOW>;
133 groups = "i2c", "uartlite", "pci";
140 nvmem-cells = <&macaddr_factory_2004>;
141 nvmem-cell-names = "mac-address";
144 mediatek,fixed-link = <1000 1 1 1>;
150 phy0: ethernet-phy@0 {
158 nvmem-cells = <&eeprom_factory_2000>;
159 nvmem-cell-names = "eeprom";