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 {
40 reg = <0x30000 0x10000>;
46 reg = <0x40000 0x30000>;
52 reg = <0x70000 0x40000>;
57 compatible = "denx,uimage";
59 reg = <0xb0000 0x750000>;
65 compatible = "gpio-leds";
67 led_power_blue: power {
69 gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
74 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
79 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
84 compatible = "gpio-keys-polled";
89 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
90 linux,code = <KEY_RESTART>;
95 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
96 linux,code = <KEY_WPS_BUTTON>;
101 gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
102 linux,code = <BTN_0>;
107 gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
108 linux,code = <BTN_1>;
115 groups = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
121 nvmem-cells = <&macaddr_devdata_2e>;
122 nvmem-cell-names = "mac-address";
126 mediatek,portmap = <0x2f>;
130 ralink,mtd-eeprom = <&devdata 0x0>;
138 compatible = "nvmem-cells";
139 #address-cells = <1>;
142 macaddr_devdata_2e: macaddr@2e {