3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
7 compatible = "dlink,dir-610-a1", "ralink,rt5350-soc";
8 model = "D-Link DIR-610 A1";
11 led-boot = &led_status;
12 led-failsafe = &led_status;
13 led-running = &led_status;
14 led-upgrade = &led_status;
18 compatible = "gpio-leds";
21 label = "green:status";
22 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
27 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
32 compatible = "gpio-keys-polled";
37 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
38 linux,code = <KEY_RESTART>;
43 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
44 linux,code = <KEY_WPS_BUTTON>;
53 compatible = "jedec,spi-nor";
55 spi-max-frequency = <10000000>;
58 compatible = "fixed-partitions";
68 devdata: partition@30000 {
70 reg = <0x30000 0x10000>;
74 compatible = "fixed-layout";
78 eeprom_devdata_4000: eeprom@4000 {
82 macaddr_devdata_4004: macaddr@4004 {
88 factory: partition@40000 {
90 reg = <0x40000 0x10000>;
97 reg = <0x50000 0x3b0000>;
105 groups = "i2c", "jtag", "uartf";
111 nvmem-cells = <&macaddr_devdata_4004>;
112 nvmem-cell-names = "mac-address";
117 mediatek,portmap = <0x2f>;
118 mediatek,led_polarity = <0x17>;
122 ralink,led-polarity = <1>;
123 nvmem-cells = <&eeprom_devdata_4000>;
124 nvmem-cell-names = "eeprom";