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-1350", "ralink,rt3052-soc";
9 model = "D-Link DAP-1350";
12 led-boot = &led_power_blue;
13 led-failsafe = &led_power_blue;
14 led-running = &led_power_blue;
15 led-upgrade = &led_power_blue;
19 bootargs = "console=ttyS0,115200";
23 compatible = "cfi-flash";
24 reg = <0x1f000000 0x800000>;
29 compatible = "fixed-partitions";
41 reg = <0x30000 0x10000>;
45 compatible = "fixed-layout";
49 eeprom_devdata_0: eeprom@0 {
53 macaddr_devdata_2e: macaddr@2e {
61 reg = <0x40000 0x30000>;
67 reg = <0x70000 0x40000>;
72 compatible = "denx,uimage";
74 reg = <0xb0000 0x750000>;
80 compatible = "gpio-leds";
82 led_power_blue: power {
83 function = LED_FUNCTION_POWER;
84 color = <LED_COLOR_ID_BLUE>;
85 gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
89 function = LED_FUNCTION_POWER;
90 color = <LED_COLOR_ID_RED>;
91 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
95 function = LED_FUNCTION_WPS;
96 color = <LED_COLOR_ID_BLUE>;
97 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
102 compatible = "gpio-keys-polled";
103 poll-interval = <20>;
107 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
108 linux,code = <KEY_RESTART>;
113 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
114 linux,code = <KEY_WPS_BUTTON>;
119 gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
120 linux,code = <BTN_0>;
125 gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
126 linux,code = <BTN_1>;
133 groups = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
139 nvmem-cells = <&macaddr_devdata_2e>;
140 nvmem-cell-names = "mac-address";
144 mediatek,portmap = <0x2f>;
148 nvmem-cells = <&eeprom_devdata_0>;
149 nvmem-cell-names = "eeprom";