3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
5 #include <dt-bindings/leds/common.h>
8 compatible = "dlink,dir-620-d1", "ralink,rt3352-soc";
9 model = "D-Link DIR-620 D1";
12 led-boot = &led_status;
13 led-failsafe = &led_status;
14 led-running = &led_status;
15 led-upgrade = &led_status;
19 compatible = "gpio-leds";
22 function = LED_FUNCTION_STATUS;
23 color = <LED_COLOR_ID_GREEN>;
24 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
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>;
76 compatible = "fixed-layout";
80 eeprom_factory_0: eeprom@0 {
84 macaddr_factory_4: macaddr@4 {
91 compatible = "denx,uimage";
93 reg = <0x50000 0x7b0000>;
101 groups = "i2c", "jtag", "uartf";
107 nvmem-cells = <&macaddr_factory_4>;
108 nvmem-cell-names = "mac-address";
109 pinctrl-names = "default";
110 pinctrl-0 = <&rgmii_pins &mdio_pins>;
114 mediatek,portmap = <0x2f>;
118 nvmem-cells = <&eeprom_factory_0>;
119 nvmem-cell-names = "eeprom";