5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "dlink,dap-1350", "ralink,rt3052-soc";
10 model = "D-Link DAP-1350";
13 led-boot = &led_power_blue;
14 led-failsafe = &led_power_blue;
15 led-running = &led_power_blue;
16 led-upgrade = &led_power_blue;
20 bootargs = "console=ttyS0,115200";
24 compatible = "cfi-flash";
25 reg = <0x1f000000 0x800000>;
30 compatible = "fixed-partitions";
40 devdata: partition@30000 {
42 reg = <0x30000 0x10000>;
48 reg = <0x40000 0x30000>;
54 reg = <0x70000 0x40000>;
59 compatible = "denx,uimage";
61 reg = <0xb0000 0x750000>;
67 compatible = "gpio-leds";
69 led_power_blue: power {
70 label = "dap-1350:blue:power";
71 gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
75 label = "dap-1350:red:power";
76 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
80 label = "dap-1350:blue:wps";
81 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
86 compatible = "gpio-keys-polled";
91 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
92 linux,code = <KEY_RESTART>;
97 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
98 linux,code = <KEY_WPS_BUTTON>;
103 gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
104 linux,code = <BTN_0>;
109 gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
110 linux,code = <BTN_1>;
116 state_default: pinctrl0 {
118 ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
119 ralink,function = "gpio";
125 mtd-mac-address = <&devdata 0x2e>;
129 mediatek,portmap = <0x2f>;
133 ralink,mtd-eeprom = <&devdata 0>;