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";
18 gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
19 linux,code = <KEY_RESTART>;
36 compatible = "jedec,spi-nor";
38 spi-max-frequency = <10000000>;
41 compatible = "fixed-partitions";
53 reg = <0x30000 0x10000>;
57 factory: partition@40000 {
59 reg = <0x40000 0x10000>;
63 compatible = "fixed-layout";
67 eeprom_factory_0: eeprom@0 {
71 eeprom_factory_8000: eeprom@8000 {
75 macaddr_factory_28: macaddr@28 {
82 compatible = "denx,uimage";
84 reg = <0x50000 0xfb0000>;
104 reg = <0x0000 0 0 0 0>;
105 nvmem-cells = <&eeprom_factory_8000>;
106 nvmem-cell-names = "eeprom";
107 ieee80211-freq-limit = <5000000 6000000>;
112 pinctrl-names = "default", "pa_gpio";
113 pinctrl-0 = <&pa_pins>;
114 pinctrl-1 = <&pa_gpio_pins>;
115 nvmem-cells = <&eeprom_factory_0>;
116 nvmem-cell-names = "eeprom";
121 groups = "uartf", "wled", "nd_sd";