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 linux,modalias = "m25p80", "w25q128";
62 spi-max-frequency = <10000000>;
71 reg = <0x30000 0x10000>;
75 factory: partition@40000 {
77 reg = <0x40000 0x10000>;
82 reg = <0x50000 0xf80000>;
87 reg = <0xfd0000 0x10000>;
90 bdinfo: partition@fe0000 {
92 reg = <0xfe0000 0x10000>;
97 reg = <0xff0000 0x10000>;
111 pinctrl-names = "default";
112 pinctrl-0 = <&ephy_pins>;
113 mtd-mac-address = <&factory 0x4>;
114 mediatek,portmap = "wllll";
122 ralink,mtd-eeprom = <&factory 0>;
130 state_default: pinctrl0 {
132 ralink,group = "uartf", "wled", "nd_sd";
133 ralink,function = "gpio";
138 ralink,function = "pa";