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";
21 gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
22 linux,code = <KEY_RESTART>;
45 compatible = "jedec,spi-nor";
47 spi-max-frequency = <10000000>;
57 reg = <0x30000 0x10000>;
61 factory: partition@40000 {
63 reg = <0x40000 0x10000>;
69 reg = <0x50000 0xfb0000>;
88 reg = <0x0000 0 0 0 0>;
89 mediatek,mtd-eeprom = <&factory 0x8000>;
90 ieee80211-freq-limit = <5000000 6000000>;
95 ralink,mtd-eeprom = <&factory 0>;
96 pinctrl-names = "default";
97 pinctrl-0 = <&pa_pins>;
101 state_default: pinctrl0 {
103 ralink,group = "uartf", "wled", "nd_sd";
104 ralink,function = "gpio";