1 #include "mt7620a.dtsi"
3 #include <dt-bindings/input/input.h>
7 bootargs = "console=ttyS0,115200";
11 compatible = "gpio-keys-polled";
18 gpios = <&gpio0 12 1>;
19 linux,code = <KEY_RESTART>;
24 compatible = "gpio-export";
28 gpio-export,name = "usbpower";
29 gpio-export,output = <1>;
30 gpios = <&gpio0 13 0>;
36 ralink,gpiomux = "i2c", "jtag";
37 ralink,uartmux = "gpio";
59 compatible = "jedec,spi-nor";
61 spi-max-frequency = <10000000>;
70 reg = <0x30000 0x10000>;
74 factory: partition@40000 {
76 reg = <0x40000 0x10000>;
81 reg = <0x50000 0xf80000>;
86 reg = <0xfd0000 0x10000>;
89 bdinfo: partition@fe0000 {
91 reg = <0xfe0000 0x10000>;
96 reg = <0xff0000 0x10000>;
110 pinctrl-names = "default";
111 pinctrl-0 = <&ephy_pins>;
112 mtd-mac-address = <&factory 0x4>;
113 mediatek,portmap = "wllll";
121 ralink,mtd-eeprom = <&factory 0>;
129 state_default: pinctrl0 {
131 ralink,group = "uartf", "wled", "nd_sd";
132 ralink,function = "gpio";
137 ralink,function = "pa";