1 #include "mt7620a.dtsi"
3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
7 compatible = "lenovo,newifi-y1", "ralink,mt7620a-soc";
10 bootargs = "console=ttyS0,115200";
14 compatible = "gpio-keys-polled";
19 gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
20 linux,code = <KEY_RESTART>;
41 compatible = "jedec,spi-nor";
43 spi-max-frequency = <10000000>;
46 compatible = "fixed-partitions";
58 reg = <0x30000 0x10000>;
62 factory: partition@40000 {
64 reg = <0x40000 0x10000>;
69 compatible = "denx,uimage";
71 reg = <0x50000 0xfb0000>;
91 reg = <0x0000 0 0 0 0>;
92 mediatek,mtd-eeprom = <&factory 0x8000>;
93 ieee80211-freq-limit = <5000000 6000000>;
98 ralink,mtd-eeprom = <&factory 0>;
99 pinctrl-names = "default";
100 pinctrl-0 = <&pa_pins>;
104 state_default: pinctrl0 {
106 ralink,group = "uartf", "wled", "nd_sd";
107 ralink,function = "gpio";