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 device_type = "memory";
14 reg = <0x0 0x8000000>;
18 bootargs = "console=ttyS0,57600";
22 compatible = "gpio-leds";
25 label = "dir-860l-b1:orange:power";
26 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
30 label = "dir-860l-b1:green:power";
31 gpios = <&gpio0 15 GPIO_ACTIVE_LOW>;
35 label = "dir-860l-b1:orange:net";
36 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
40 label = "dir-860l-b1:green:net";
41 gpios = <&gpio0 16 GPIO_ACTIVE_LOW>;
46 compatible = "gpio-keys-polled";
53 gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
54 linux,code = <KEY_RESTART>;
59 gpios = <&gpio0 18 GPIO_ACTIVE_LOW>;
60 linux,code = <KEY_WPS_BUTTON>;
71 compatible = "jedec,spi-nor";
73 spi-max-frequency = <10000000>;
74 m25p,chunked-io = <32>;
84 reg = <0x30000 0x4000>;
88 radio: partition@34000 {
90 reg = <0x34000 0x4000>;
94 factory: partition@38000 {
96 reg = <0x38000 0x8000>;
102 reg = <0x40000 0x10000>;
108 reg = <0x50000 0xfb0000>;
118 reg = <0x0000 0 0 0 0>;
120 mediatek,mtd-eeprom = <&radio 0x2000>;
121 ieee80211-freq-limit = <5000000 6000000>;
127 reg = <0x0000 0 0 0 0>;
129 mediatek,mtd-eeprom = <&radio 0>;
130 ieee80211-freq-limit = <2400000 2500000>;
136 state_default: pinctrl0 {
138 ralink,group = "i2c", "uart2", "uart3", "rgmii2", "sdhci";
139 ralink,function = "gpio";