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 {
94 compatible = "nvmem-cells";
96 reg = <0x40000 0x10000>;
101 eeprom_factory_0: eeprom@0 {
105 macaddr_factory_4: macaddr@4 {
111 compatible = "denx,uimage";
113 reg = <0x50000 0xfb0000>;
120 nvmem-cells = <&macaddr_factory_4>;
121 nvmem-cell-names = "mac-address";
123 mediatek,portmap = "llllw";
127 nvmem-cells = <&eeprom_factory_0>;
128 nvmem-cell-names = "eeprom";
133 groups = "ephy", "wled", "i2c", "wdt", "pa", "spi refclk";