1 #include "mt7620a.dtsi"
3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
8 label-mac-device = ðernet;
10 led-failsafe = &led_power;
11 led-running = &led_power;
12 led-upgrade = &led_power;
16 compatible = "gpio-keys";
20 gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
21 linux,code = <KEY_RESTART>;
26 gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
27 linux,code = <KEY_WPS_BUTTON>;
32 compatible = "gpio-leds";
36 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
41 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
42 trigger-sources = <&ohci_port1>, <&ehci_port1>;
43 linux,default-trigger = "usbport";
47 label = "blue:wifi2g";
48 gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
49 linux,default-trigger = "phy1tpt";
58 compatible = "jedec,spi-nor";
61 spi-max-frequency = <50000000>;
65 compatible = "fixed-partitions";
77 reg = <0x30000 0x10000>;
81 factory: partition@40000 {
82 compatible = "nvmem-cells";
84 reg = <0x40000 0x10000>;
89 eeprom_factory_0: eeprom@0 {
93 eeprom_factory_8000: eeprom@8000 {
97 macaddr_factory_28: macaddr@28 {
103 compatible = "denx,uimage";
105 reg = <0x50000 0xfb0000>;
122 line-name = "enable-leds";
124 gpios = <10 GPIO_ACTIVE_HIGH>;
134 groups = "i2c", "wled", "uartf";
140 nvmem-cells = <&macaddr_factory_28>;
141 nvmem-cell-names = "mac-address";
143 mediatek,portmap = "wllll";
147 nvmem-cells = <&eeprom_factory_0>;
148 nvmem-cell-names = "eeprom";