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-boot = &led_power_green;
14 led-failsafe = &led_power_green;
15 led-running = &led_power_green;
16 led-upgrade = &led_power_green;
20 device_type = "memory";
21 reg = <0x0 0x8000000>;
25 bootargs = "console=ttyS0,57600";
29 compatible = "gpio-leds";
32 label = "dir-860l-b1:orange:power";
33 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
36 led_power_green: power2 {
37 label = "dir-860l-b1:green:power";
38 gpios = <&gpio0 15 GPIO_ACTIVE_LOW>;
42 label = "dir-860l-b1:orange:net";
43 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
47 label = "dir-860l-b1:green:net";
48 gpios = <&gpio0 16 GPIO_ACTIVE_LOW>;
53 compatible = "gpio-keys-polled";
58 gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
59 linux,code = <KEY_RESTART>;
64 gpios = <&gpio0 18 GPIO_ACTIVE_LOW>;
65 linux,code = <KEY_WPS_BUTTON>;
74 compatible = "jedec,spi-nor";
76 spi-max-frequency = <10000000>;
77 m25p,chunked-io = <32>;
80 compatible = "fixed-partitions";
92 reg = <0x30000 0x4000>;
96 radio: partition@34000 {
98 reg = <0x34000 0x4000>;
102 factory: partition@38000 {
104 reg = <0x38000 0x8000>;
110 reg = <0x40000 0x10000>;
115 compatible = "denx,uimage";
117 reg = <0x50000 0xfb0000>;
129 reg = <0x0000 0 0 0 0>;
130 mediatek,mtd-eeprom = <&radio 0x2000>;
131 ieee80211-freq-limit = <5000000 6000000>;
137 reg = <0x0000 0 0 0 0>;
138 mediatek,mtd-eeprom = <&radio 0>;
139 ieee80211-freq-limit = <2400000 2500000>;
144 state_default: pinctrl0 {
146 ralink,group = "i2c", "uart2", "uart3", "rgmii2", "sdhci";
147 ralink,function = "gpio";