1 #include "mt7620a.dtsi"
3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
5 #include <dt-bindings/leds/common.h>
9 label-mac-device = ðernet;
10 led-boot = &led_power;
11 led-failsafe = &led_power;
12 led-running = &led_power;
13 led-upgrade = &led_power;
17 compatible = "gpio-keys";
21 gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
22 linux,code = <KEY_RESTART>;
27 gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
28 linux,code = <KEY_WPS_BUTTON>;
33 compatible = "gpio-leds";
36 function = LED_FUNCTION_POWER;
37 color = <LED_COLOR_ID_BLUE>;
38 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
42 function = LED_FUNCTION_USB;
43 color = <LED_COLOR_ID_BLUE>;
44 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
45 trigger-sources = <&ohci_port1>, <&ehci_port1>;
46 linux,default-trigger = "usbport";
50 label = "blue:wifi2g";
51 gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
52 linux,default-trigger = "phy1tpt";
61 compatible = "jedec,spi-nor";
64 spi-max-frequency = <50000000>;
68 compatible = "fixed-partitions";
80 reg = <0x30000 0x10000>;
86 reg = <0x40000 0x10000>;
90 compatible = "fixed-layout";
94 eeprom_factory_0: eeprom@0 {
98 eeprom_factory_8000: eeprom@8000 {
102 macaddr_factory_28: macaddr@28 {
109 compatible = "denx,uimage";
111 reg = <0x50000 0xfb0000>;
128 line-name = "enable-leds";
130 gpios = <10 GPIO_ACTIVE_HIGH>;
140 groups = "i2c", "wled", "uartf";
146 nvmem-cells = <&macaddr_factory_28>;
147 nvmem-cell-names = "mac-address";
149 mediatek,portmap = "wllll";
153 nvmem-cells = <&eeprom_factory_0>;
154 nvmem-cell-names = "eeprom";