5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "dlink,dir-860l-b1", "mediatek,mt7621-soc";
10 model = "D-Link DIR-860L B1";
13 led-status = &led_power_green;
17 device_type = "memory";
18 reg = <0x0 0x8000000>;
22 bootargs = "console=ttyS0,57600";
26 compatible = "gpio-leds";
29 label = "dir-860l-b1:orange:power";
30 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
33 led_power_green: power2 {
34 label = "dir-860l-b1:green:power";
35 gpios = <&gpio0 15 GPIO_ACTIVE_LOW>;
39 label = "dir-860l-b1:orange:net";
40 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
44 label = "dir-860l-b1:green:net";
45 gpios = <&gpio0 16 GPIO_ACTIVE_LOW>;
50 compatible = "gpio-keys-polled";
57 gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
58 linux,code = <KEY_RESTART>;
63 gpios = <&gpio0 18 GPIO_ACTIVE_LOW>;
64 linux,code = <KEY_WPS_BUTTON>;
75 compatible = "jedec,spi-nor";
77 spi-max-frequency = <10000000>;
78 m25p,chunked-io = <32>;
88 reg = <0x30000 0x4000>;
92 radio: partition@34000 {
94 reg = <0x34000 0x4000>;
98 factory: partition@38000 {
100 reg = <0x38000 0x8000>;
106 reg = <0x40000 0x10000>;
112 reg = <0x50000 0xfb0000>;
122 reg = <0x0000 0 0 0 0>;
124 mediatek,mtd-eeprom = <&radio 0x2000>;
125 ieee80211-freq-limit = <5000000 6000000>;
131 reg = <0x0000 0 0 0 0>;
133 mediatek,mtd-eeprom = <&radio 0>;
134 ieee80211-freq-limit = <2400000 2500000>;
140 state_default: pinctrl0 {
142 ralink,group = "i2c", "uart2", "uart3", "rgmii2", "sdhci";
143 ralink,function = "gpio";