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";
55 gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
56 linux,code = <KEY_RESTART>;
61 gpios = <&gpio0 18 GPIO_ACTIVE_LOW>;
62 linux,code = <KEY_WPS_BUTTON>;
71 compatible = "jedec,spi-nor";
73 spi-max-frequency = <10000000>;
74 m25p,chunked-io = <32>;
77 compatible = "fixed-partitions";
89 reg = <0x30000 0x4000>;
93 radio: partition@34000 {
95 reg = <0x34000 0x4000>;
99 factory: partition@38000 {
101 reg = <0x38000 0x8000>;
107 reg = <0x40000 0x10000>;
113 reg = <0x50000 0xfb0000>;
125 reg = <0x0000 0 0 0 0>;
126 mediatek,mtd-eeprom = <&radio 0x2000>;
127 ieee80211-freq-limit = <5000000 6000000>;
133 reg = <0x0000 0 0 0 0>;
134 mediatek,mtd-eeprom = <&radio 0>;
135 ieee80211-freq-limit = <2400000 2500000>;
140 state_default: pinctrl0 {
142 ralink,group = "i2c", "uart2", "uart3", "rgmii2", "sdhci";
143 ralink,function = "gpio";