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>;
43 reg = <0x40000 0x3a0000>;
49 compatible = "realtek,rtl8366s";
50 gpio-sda = <&gpio0 1 GPIO_ACTIVE_HIGH>;
51 gpio-sck = <&gpio0 2 GPIO_ACTIVE_HIGH>;
55 compatible = "gpio-keys-polled";
56 poll-interval = <100>;
60 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
61 linux,code = <KEY_RESTART>;
66 gpios = <&gpio2 16 GPIO_ACTIVE_LOW>;
67 linux,code = <KEY_WPS_BUTTON>;
72 gpios = <&gpio2 13 GPIO_ACTIVE_LOW>;
74 linux,input-type = <EV_SW>;
79 gpios = <&gpio2 14 GPIO_ACTIVE_LOW>;
81 linux,input-type = <EV_SW>;
86 compatible = "gpio-leds";
90 gpios = <&gpio2 17 GPIO_ACTIVE_LOW>;
95 gpios = <&gpio2 18 GPIO_ACTIVE_LOW>;
100 gpios = <&gpio2 19 GPIO_ACTIVE_LOW>;
104 label = "blue:status";
105 gpios = <&gpio2 20 GPIO_ACTIVE_LOW>;
116 groups = "i2c", "uartlite", "pci";
123 nvmem-cells = <&macaddr_factory_2004>;
124 nvmem-cell-names = "mac-address";
127 mediatek,fixed-link = <1000 1 1 1>;
133 phy0: ethernet-phy@0 {
141 ralink,mtd-eeprom = <&factory 0x2000>;
145 compatible = "nvmem-cells";
146 #address-cells = <1>;
149 macaddr_factory_2004: macaddr@2004 {