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 bootargs = "console=ttyS0,115200";
17 compatible = "cfi-flash";
18 reg = <0x1f000000 0x800000>;
30 devdata: partition@30000 {
32 reg = <0x30000 0x10000>;
38 reg = <0x40000 0x30000>;
44 reg = <0x70000 0x40000>;
50 reg = <0xb0000 0x750000>;
55 compatible = "gpio-leds";
58 label = "dap-1350:blue:power";
59 gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
63 label = "dap-1350:red:power";
64 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
68 label = "dap-1350:blue:wps";
69 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
74 compatible = "gpio-keys-polled";
81 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
82 linux,code = <KEY_RESTART>;
87 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
88 linux,code = <KEY_WPS_BUTTON>;
93 gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
99 gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
100 linux,code = <BTN_1>;
106 state_default: pinctrl0 {
108 ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
109 ralink,function = "gpio";
115 mtd-mac-address = <&devdata 0x2e>;
119 mediatek,portmap = <0x2f>;
123 ralink,mtd-eeprom = <&devdata 0>;