3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
5 #include <dt-bindings/leds/common.h>
8 compatible = "dlink,dir-860l-b1", "mediatek,mt7621-soc";
9 model = "D-Link DIR-860L B1";
12 label-mac-device = &gmac0;
14 led-boot = &led_power_green;
15 led-failsafe = &led_power_green;
16 led-running = &led_power_green;
17 led-upgrade = &led_power_green;
21 compatible = "gpio-leds";
24 function = LED_FUNCTION_POWER;
25 color = <LED_COLOR_ID_ORANGE>;
26 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
29 led_power_green: power2 {
30 function = LED_FUNCTION_POWER;
31 color = <LED_COLOR_ID_GREEN>;
32 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
37 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
42 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
47 compatible = "gpio-keys";
51 gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
52 linux,code = <KEY_RESTART>;
57 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
58 linux,code = <KEY_WPS_BUTTON>;
67 compatible = "jedec,spi-nor";
69 spi-max-frequency = <10000000>;
72 compatible = "fixed-partitions";
84 reg = <0x30000 0x4000>;
90 reg = <0x34000 0x4000>;
94 compatible = "fixed-layout";
98 macaddr_radio_4: macaddr@4 {
102 eeprom_radio_0: eeprom@0 {
106 eeprom_radio_2000: eeprom@2000 {
107 reg = <0x2000 0x200>;
114 reg = <0x38000 0x8000>;
120 reg = <0x40000 0x10000>;
125 compatible = "seama";
127 reg = <0x50000 0xfb0000>;
134 nvmem-cells = <&macaddr_radio_4>;
135 nvmem-cell-names = "mac-address";
141 phy-handle = <ðphy0>;
143 nvmem-cells = <&macaddr_radio_4>;
144 nvmem-cell-names = "mac-address";
148 ethphy0: ethernet-phy@0 {
180 reset-gpios = <&gpio 19 GPIO_ACTIVE_LOW>,
181 <&gpio 8 GPIO_ACTIVE_LOW>;
186 reg = <0x0000 0 0 0 0>;
187 nvmem-cells = <&eeprom_radio_2000>;
188 nvmem-cell-names = "eeprom";
189 ieee80211-freq-limit = <5000000 6000000>;
195 reg = <0x0000 0 0 0 0>;
196 nvmem-cells = <&eeprom_radio_0>;
197 nvmem-cell-names = "eeprom";
198 ieee80211-freq-limit = <2400000 2500000>;
204 groups = "uart3", "jtag", "wdt";