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 compatible = "gpio-leds";
16 label = "dir-620-d1:green:status";
17 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
21 label = "dir-620-d1:green:wifi";
22 gpios = <&gpio0 17 GPIO_ACTIVE_LOW>;
27 compatible = "gpio-keys-polled";
34 gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
35 linux,code = <KEY_RESTART>;
46 compatible = "jedec,spi-nor";
48 spi-max-frequency = <10000000>;
58 reg = <0x30000 0x10000>;
62 factory: partition@40000 {
64 reg = <0x40000 0x10000>;
70 reg = <0x50000 0x7b0000>;
76 state_default: pinctrl0 {
78 ralink,group = "i2c", "jtag", "uartf";
79 ralink,function = "gpio";
83 ralink,group = "rgmii";
84 ralink,function = "rgmii";
88 ralink,group = "mdio";
89 ralink,function = "mdio";
95 mtd-mac-address = <&factory 0x4>;
99 mediatek,portmap = <0x2f>;
103 ralink,mtd-eeprom = <&factory 0>;