3 /include/ "mt7620a.dtsi"
6 compatible = "dlink,dir-810l", "ralink,mt7620a-soc";
7 model = "D-Link DIR-810L";
16 compatible = "jedec,spi-nor";
18 linux,modalias = "m25p80";
19 spi-max-frequency = <10000000>;
29 reg = <0x30000 0x10000>;
33 factory: partition@40000 {
35 reg = <0x40000 0x10000>;
39 factory5g: partition@50000 {
41 reg = <0x50000 0x10000>;
46 label = "Wolf_Config";
47 reg = <0x60000 0x10000>;
53 reg = <0x70000 0x80000>;
59 reg = <0xe0000 0x80000>;
65 reg = <0x170000 0x690000>;
72 state_default: pinctrl0 {
74 ralink,group = "mdio", "rgmii1", "i2c", "wled", "uartf";
75 ralink,function = "gpio";
81 mtd-mac-address = <&factory 0x28>;
82 mediatek,portmap = "llllw";
86 mediatek,port4 = "ephy";
87 pinctrl-names = "default";
88 pinctrl-0 = <&ephy_pins>;
96 ralink,mtd-eeprom = <&factory 0>;
100 compatible = "gpio-keys-polled";
101 #address-cells = <1>;
103 poll-interval = <20>;
107 gpios = <&gpio0 1 1>;
108 linux,code = <0x100>;
113 gpios = <&gpio0 2 1>;
114 linux,code = <0x100>;
119 compatible = "gpio-leds";
122 label = "dir-810l:green:power";
123 gpios = <&gpio0 9 0>;
127 label = "dir-810l:orange:wan";
128 gpios = <&gpio0 12 0>;
132 label = "dir-810l:orange:power";
133 gpios = <&gpio0 13 0>;