3 #include "mt7620n.dtsi"
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "asus,rt-n12p", "ralink,mt7620n-soc";
10 model = "Asus RT-N12+";
13 led-boot = &led_power;
14 led-failsafe = &led_power;
15 led-running = &led_power;
16 led-upgrade = &led_power;
20 bootargs = "console=ttyS0,115200";
24 compatible = "gpio-leds";
27 label = "rt-n12p:green:wan";
28 gpios = <&gpio2 4 GPIO_ACTIVE_LOW>;
32 label = "rt-n12p:green:lan";
33 gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
37 label = "rt-n12p:green:power";
38 gpios = <&gpio2 3 GPIO_ACTIVE_LOW>;
42 label = "rt-n12p:green:air";
43 gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
48 compatible = "gpio-keys";
52 gpios = <&gpio0 17 GPIO_ACTIVE_LOW>;
53 linux,code = <KEY_RESTART>;
74 compatible = "jedec,spi-nor";
76 spi-max-frequency = <10000000>;
79 compatible = "fixed-partitions";
91 reg = <0x30000 0x10000>;
95 factory: partition@40000 {
97 reg = <0x40000 0x10000>;
102 compatible = "denx,uimage";
104 reg = <0x50000 0xfb0000>;
111 mtd-mac-address = <&factory 0x4>;
112 mediatek,portmap = "wllll";
116 ralink,mtd-eeprom = <&factory 0>;
121 ralink,group = "ephy", "wled", "i2c", "wdt", "pa", "spi refclk";
122 ralink,function = "gpio";