1 #include "mt7620a.dtsi"
3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
8 led-boot = &led_power_amber;
9 led-failsafe = &led_power_amber;
10 led-running = &led_power_green;
11 led-upgrade = &led_power_green;
15 compatible = "gpio-keys";
19 gpios = <&gpio2 26 GPIO_ACTIVE_LOW>;
20 linux,code = <KEY_RESTART>;
25 gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
26 linux,code = <KEY_WPS_BUTTON>;
31 compatible = "gpio-leds";
33 led_power_green: power_green {
34 label = "green:power";
35 gpios = <&gpio2 23 GPIO_ACTIVE_LOW>;
39 led_power_amber: power_amber {
40 label = "amber:power";
41 gpios = <&gpio2 28 GPIO_ACTIVE_LOW>;
45 label = "green:router";
46 gpios = <&gpio2 25 GPIO_ACTIVE_LOW>;
51 gpios = <&gpio2 24 GPIO_ACTIVE_LOW>;
55 label = "green:device";
56 gpios = <&gpio2 20 GPIO_ACTIVE_LOW>;
61 gpios = <&gpio2 21 GPIO_ACTIVE_LOW>;
66 gpios = <&gpio2 27 GPIO_ACTIVE_LOW>;
79 compatible = "jedec,spi-nor";
81 spi-max-frequency = <50000000>;
84 compatible = "fixed-partitions";
96 reg = <0x30000 0x10000>;
100 factory: partition@40000 {
102 reg = <0x40000 0x10000>;
107 compatible = "denx,uimage";
109 reg = <0x50000 0x790000>;
113 label = "board_data";
114 reg = <0x7e0000 0x10000>;
120 reg = <0x7f0000 0x10000>;
133 reg = <0x0000 0 0 0 0>;
134 mediatek,mtd-eeprom = <&factory 0x8000>;
135 ieee80211-freq-limit = <5000000 6000000>;
140 mtd-mac-address = <&factory 0x28>;
144 ralink,mtd-eeprom = <&factory 0x0>;
149 groups = "i2c", "rgmii2", "spi refclk";