3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
7 compatible = "dlink,dir-860l-b1", "mediatek,mt7621-soc";
8 model = "D-Link DIR-860L B1";
11 led-boot = &led_power_green;
12 led-failsafe = &led_power_green;
13 led-running = &led_power_green;
14 led-upgrade = &led_power_green;
15 label-mac-device = &gmac0;
19 compatible = "gpio-leds";
22 label = "orange:power";
23 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
26 led_power_green: power2 {
27 label = "green:power";
28 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
33 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
38 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
43 compatible = "gpio-keys";
47 gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
48 linux,code = <KEY_RESTART>;
53 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
54 linux,code = <KEY_WPS_BUTTON>;
63 compatible = "jedec,spi-nor";
65 spi-max-frequency = <10000000>;
68 compatible = "fixed-partitions";
80 reg = <0x30000 0x4000>;
84 radio: partition@34000 {
86 reg = <0x34000 0x4000>;
90 factory: partition@38000 {
92 reg = <0x38000 0x8000>;
98 reg = <0x40000 0x10000>;
103 compatible = "seama";
105 reg = <0x50000 0xfb0000>;
112 nvmem-cells = <&macaddr_radio_4>;
113 nvmem-cell-names = "mac-address";
148 reset-gpios = <&gpio 19 GPIO_ACTIVE_LOW>,
149 <&gpio 8 GPIO_ACTIVE_LOW>;
154 reg = <0x0000 0 0 0 0>;
155 mediatek,mtd-eeprom = <&radio 0x2000>;
156 ieee80211-freq-limit = <5000000 6000000>;
162 reg = <0x0000 0 0 0 0>;
163 mediatek,mtd-eeprom = <&radio 0x0>;
164 ieee80211-freq-limit = <2400000 2500000>;
170 groups = "uart3", "jtag", "wdt";
176 compatible = "nvmem-cells";
177 #address-cells = <1>;
180 macaddr_radio_4: macaddr@4 {