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 led-boot = &led_power_green;
14 led-failsafe = &led_power_green;
15 led-running = &led_power_green;
16 led-upgrade = &led_power_green;
17 label-mac-device = ðernet;
21 compatible = "gpio-keys-polled";
26 gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
32 gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
38 compatible = "gpio-leds";
40 led_power_green: power {
41 label = "dir-810l:green:power";
42 gpios = <&gpio0 9 GPIO_ACTIVE_HIGH>;
46 label = "dir-810l:orange:wan";
47 gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>;
51 label = "dir-810l:orange:power";
52 gpios = <&gpio0 13 GPIO_ACTIVE_HIGH>;
61 compatible = "jedec,spi-nor";
63 spi-max-frequency = <10000000>;
66 compatible = "fixed-partitions";
78 reg = <0x30000 0x10000>;
82 factory: partition@40000 {
84 reg = <0x40000 0x10000>;
88 factory5g: partition@50000 {
90 reg = <0x50000 0x10000>;
95 label = "Wolf_Config";
96 reg = <0x60000 0x10000>;
102 reg = <0x70000 0x80000>;
108 reg = <0xe0000 0x80000>;
113 compatible = "denx,uimage";
115 reg = <0x170000 0x690000>;
122 state_default: pinctrl0 {
124 ralink,group = "mdio", "rgmii1", "i2c", "wled", "uartf";
125 ralink,function = "gpio";
131 mtd-mac-address = <&factory 0x28>;
132 mediatek,portmap = "llllw";
136 mediatek,port4 = "ephy";
137 pinctrl-names = "default";
138 pinctrl-0 = <&ephy_pins>;
146 ralink,mtd-eeprom = <&factory 0>;
147 pinctrl-names = "default";
148 pinctrl-0 = <&pa_pins>;
153 reg = <0x0000 0 0 0 0>;
154 mediatek,mtd-eeprom = <&factory 0x8000>;
155 ieee80211-freq-limit = <5000000 6000000>;