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>;
44 compatible = "fixed-layout";
48 eeprom_devdata_0: eeprom@0 {
52 macaddr_devdata_2e: macaddr@2e {
60 reg = <0x40000 0x30000>;
66 reg = <0x70000 0x40000>;
71 compatible = "denx,uimage";
73 reg = <0xb0000 0x750000>;
79 compatible = "gpio-leds";
81 led_power_blue: power {
83 gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
88 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
93 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
98 compatible = "gpio-keys-polled";
103 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
104 linux,code = <KEY_RESTART>;
109 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
110 linux,code = <KEY_WPS_BUTTON>;
115 gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
116 linux,code = <BTN_0>;
121 gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
122 linux,code = <BTN_1>;
129 groups = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
135 nvmem-cells = <&macaddr_devdata_2e>;
136 nvmem-cell-names = "mac-address";
140 mediatek,portmap = <0x2f>;
144 nvmem-cells = <&eeprom_devdata_0>;
145 nvmem-cell-names = "eeprom";