5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "dlink,dir-620-d1", "ralink,rt3352-soc";
10 model = "D-Link DIR-620 D1";
13 led-boot = &led_status;
14 led-failsafe = &led_status;
15 led-running = &led_status;
16 led-upgrade = &led_status;
20 compatible = "gpio-leds";
23 label = "dir-620-d1:green:status";
24 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
28 label = "dir-620-d1:green:wifi";
29 gpios = <&gpio0 17 GPIO_ACTIVE_LOW>;
34 compatible = "gpio-keys-polled";
39 gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
40 linux,code = <KEY_RESTART>;
49 compatible = "jedec,spi-nor";
51 spi-max-frequency = <10000000>;
54 compatible = "fixed-partitions";
66 reg = <0x30000 0x10000>;
70 factory: partition@40000 {
72 reg = <0x40000 0x10000>;
77 compatible = "denx,uimage";
79 reg = <0x50000 0x7b0000>;
86 state_default: pinctrl0 {
88 ralink,group = "i2c", "jtag", "uartf";
89 ralink,function = "gpio";
95 mtd-mac-address = <&factory 0x4>;
96 pinctrl-names = "default";
97 pinctrl-0 = <&rgmii_pins &mdio_pins>;
101 mediatek,portmap = <0x2f>;
105 ralink,mtd-eeprom = <&factory 0>;