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-status = &led_status;
17 compatible = "gpio-leds";
20 label = "dir-620-d1:green:status";
21 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
25 label = "dir-620-d1:green:wifi";
26 gpios = <&gpio0 17 GPIO_ACTIVE_LOW>;
31 compatible = "gpio-keys-polled";
36 gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
37 linux,code = <KEY_RESTART>;
46 compatible = "jedec,spi-nor";
48 spi-max-frequency = <10000000>;
51 compatible = "fixed-partitions";
63 reg = <0x30000 0x10000>;
67 factory: partition@40000 {
69 reg = <0x40000 0x10000>;
75 reg = <0x50000 0x7b0000>;
82 state_default: pinctrl0 {
84 ralink,group = "i2c", "jtag", "uartf";
85 ralink,function = "gpio";
91 mtd-mac-address = <&factory 0x4>;
92 pinctrl-names = "default";
93 pinctrl-0 = <&rgmii_pins &mdio_pins>;
97 mediatek,portmap = <0x2f>;
101 ralink,mtd-eeprom = <&factory 0>;