1 #include "mt7620n.dtsi"
3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
7 compatible = "asus,rt-n12p", "ralink,mt7620n-soc";
8 model = "Asus RT-N12+";
11 led-boot = &led_power;
12 led-failsafe = &led_power;
13 led-running = &led_power;
14 led-upgrade = &led_power;
18 bootargs = "console=ttyS0,115200";
22 compatible = "gpio-leds";
26 gpios = <&gpio2 4 GPIO_ACTIVE_LOW>;
31 gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
35 label = "green:power";
36 gpios = <&gpio2 3 GPIO_ACTIVE_LOW>;
41 gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
46 compatible = "gpio-keys";
50 gpios = <&gpio0 17 GPIO_ACTIVE_LOW>;
51 linux,code = <KEY_RESTART>;
72 compatible = "jedec,spi-nor";
74 spi-max-frequency = <10000000>;
77 compatible = "fixed-partitions";
89 reg = <0x30000 0x10000>;
93 factory: partition@40000 {
95 reg = <0x40000 0x10000>;
99 compatible = "fixed-layout";
100 #address-cells = <1>;
103 eeprom_factory_0: eeprom@0 {
107 macaddr_factory_4: macaddr@4 {
114 compatible = "denx,uimage";
116 reg = <0x50000 0xfb0000>;
123 nvmem-cells = <&macaddr_factory_4>;
124 nvmem-cell-names = "mac-address";
126 mediatek,portmap = "llllw";
130 nvmem-cells = <&eeprom_factory_0>;
131 nvmem-cell-names = "eeprom";
136 groups = "ephy", "wled", "i2c", "wdt", "pa", "spi refclk";