3 #include "mt7620a.dtsi"
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "dlink,dir-810l", "ralink,mt7620a-soc";
10 model = "D-Link DIR-810L";
13 compatible = "gpio-keys-polled";
20 gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
26 gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
32 compatible = "gpio-leds";
35 label = "dir-810l:green:power";
36 gpios = <&gpio0 9 GPIO_ACTIVE_HIGH>;
40 label = "dir-810l:orange:wan";
41 gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>;
45 label = "dir-810l:orange:power";
46 gpios = <&gpio0 13 GPIO_ACTIVE_HIGH>;
57 compatible = "jedec,spi-nor";
59 spi-max-frequency = <10000000>;
69 reg = <0x30000 0x10000>;
73 factory: partition@40000 {
75 reg = <0x40000 0x10000>;
79 factory5g: partition@50000 {
81 reg = <0x50000 0x10000>;
86 label = "Wolf_Config";
87 reg = <0x60000 0x10000>;
93 reg = <0x70000 0x80000>;
99 reg = <0xe0000 0x80000>;
105 reg = <0x170000 0x690000>;
111 state_default: pinctrl0 {
113 ralink,group = "mdio", "rgmii1", "i2c", "wled", "uartf";
114 ralink,function = "gpio";
120 mtd-mac-address = <&factory 0x28>;
121 mediatek,portmap = "llllw";
125 mediatek,port4 = "ephy";
126 pinctrl-names = "default";
127 pinctrl-0 = <&ephy_pins>;
135 ralink,mtd-eeprom = <&factory 0>;