1 #include "mt7620n.dtsi"
3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
5 #include <dt-bindings/leds/common.h>
8 compatible = "asus,rt-n14u", "ralink,mt7620n-soc";
9 model = "Asus RT-N14U";
12 led-boot = &led_power;
13 led-failsafe = &led_power;
14 led-running = &led_power;
15 led-upgrade = &led_power;
19 compatible = "gpio-leds";
22 function = LED_FUNCTION_WAN;
23 color = <LED_COLOR_ID_BLUE>;
24 gpios = <&gpio2 0 GPIO_ACTIVE_LOW>;
28 function = LED_FUNCTION_LAN;
29 color = <LED_COLOR_ID_BLUE>;
30 gpios = <&gpio2 1 GPIO_ACTIVE_LOW>;
34 function = LED_FUNCTION_USB;
35 color = <LED_COLOR_ID_BLUE>;
36 gpios = <&gpio2 2 GPIO_ACTIVE_LOW>;
37 trigger-sources = <&ohci_port1>, <&ehci_port1>;
38 linux,default-trigger = "usbport";
42 function = LED_FUNCTION_POWER;
43 color = <LED_COLOR_ID_BLUE>;
44 gpios = <&gpio2 3 GPIO_ACTIVE_LOW>;
49 gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
54 compatible = "gpio-keys";
58 gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
59 linux,code = <KEY_RESTART>;
64 gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
65 linux,code = <KEY_WPS_BUTTON>;
82 compatible = "jedec,spi-nor";
84 spi-max-frequency = <10000000>;
87 compatible = "fixed-partitions";
99 reg = <0x30000 0x10000>;
105 reg = <0x40000 0x10000>;
109 compatible = "fixed-layout";
110 #address-cells = <1>;
113 eeprom_factory_0: eeprom@0 {
117 macaddr_factory_4: macaddr@4 {
124 compatible = "denx,uimage";
126 reg = <0x50000 0xfb0000>;
141 nvmem-cells = <&macaddr_factory_4>;
142 nvmem-cell-names = "mac-address";
144 mediatek,portmap = "wllll";
148 nvmem-cells = <&eeprom_factory_0>;
149 nvmem-cell-names = "eeprom";
154 groups = "ephy", "wled", "i2c";