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 {
83 reg = <0x40000 0x10000>;
88 compatible = "denx,uimage";
90 reg = <0x50000 0xfb0000>;
107 line-name = "enable-leds";
109 gpios = <10 GPIO_ACTIVE_HIGH>;
119 groups = "i2c", "wled", "uartf";
125 mtd-mac-address = <&factory 0x28>;
127 mediatek,portmap = "wllll";
131 ralink,mtd-eeprom = <&factory 0x0>;