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 {
36 reg = <0x30000 0x10000>;
40 compatible = "fixed-layout";
44 eeprom_factory_2000: eeprom@2000 {
48 macaddr_factory_2004: macaddr@2004 {
57 reg = <0x40000 0x3a0000>;
63 compatible = "realtek,rtl8366s";
64 gpio-sda = <&gpio0 1 GPIO_ACTIVE_HIGH>;
65 gpio-sck = <&gpio0 2 GPIO_ACTIVE_HIGH>;
69 compatible = "gpio-keys-polled";
70 poll-interval = <100>;
74 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
75 linux,code = <KEY_RESTART>;
80 gpios = <&gpio2 16 GPIO_ACTIVE_LOW>;
81 linux,code = <KEY_WPS_BUTTON>;
86 gpios = <&gpio2 13 GPIO_ACTIVE_LOW>;
88 linux,input-type = <EV_SW>;
93 gpios = <&gpio2 14 GPIO_ACTIVE_LOW>;
95 linux,input-type = <EV_SW>;
100 compatible = "gpio-leds";
104 gpios = <&gpio2 17 GPIO_ACTIVE_LOW>;
109 gpios = <&gpio2 18 GPIO_ACTIVE_LOW>;
114 gpios = <&gpio2 19 GPIO_ACTIVE_LOW>;
118 label = "blue:status";
119 gpios = <&gpio2 20 GPIO_ACTIVE_LOW>;
130 groups = "i2c", "uartlite", "pci";
137 nvmem-cells = <&macaddr_factory_2004>;
138 nvmem-cell-names = "mac-address";
141 mediatek,fixed-link = <1000 1 1 1>;
147 phy0: ethernet-phy@0 {
155 nvmem-cells = <&eeprom_factory_2000>;
156 nvmem-cell-names = "eeprom";