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 factory: partition@40000 {
76 reg = <0x40000 0x10000>;
83 reg = <0x50000 0x3b0000>;
91 groups = "i2c", "jtag", "uartf";
97 nvmem-cells = <&macaddr_devdata_4004>;
98 nvmem-cell-names = "mac-address";
103 mediatek,portmap = <0x2f>;
104 mediatek,led_polarity = <0x17>;
109 ralink,led-polarity = <1>;
110 ralink,mtd-eeprom = <&devdata 0x4000>;
114 compatible = "nvmem-cells";
115 #address-cells = <1>;
118 macaddr_devdata_4004: macaddr@4004 {