3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
7 compatible = "dlink,dap-1350", "ralink,rt3052-soc";
8 model = "D-Link DAP-1350";
11 led-boot = &led_power_blue;
12 led-failsafe = &led_power_blue;
13 led-running = &led_power_blue;
14 led-upgrade = &led_power_blue;
18 bootargs = "console=ttyS0,115200";
22 compatible = "cfi-flash";
23 reg = <0x1f000000 0x800000>;
28 compatible = "fixed-partitions";
38 devdata: partition@30000 {
39 compatible = "nvmem-cells";
41 reg = <0x30000 0x10000>;
46 eeprom_devdata_0: eeprom@0 {
50 macaddr_devdata_2e: macaddr@2e {
57 reg = <0x40000 0x30000>;
63 reg = <0x70000 0x40000>;
68 compatible = "denx,uimage";
70 reg = <0xb0000 0x750000>;
76 compatible = "gpio-leds";
78 led_power_blue: power {
80 gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
85 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
90 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
95 compatible = "gpio-keys-polled";
100 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
101 linux,code = <KEY_RESTART>;
106 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
107 linux,code = <KEY_WPS_BUTTON>;
112 gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
113 linux,code = <BTN_0>;
118 gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
119 linux,code = <BTN_1>;
126 groups = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
132 nvmem-cells = <&macaddr_devdata_2e>;
133 nvmem-cell-names = "mac-address";
137 mediatek,portmap = <0x2f>;
141 nvmem-cells = <&eeprom_devdata_0>;
142 nvmem-cell-names = "eeprom";