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 {
58 compatible = "nvmem-cells";
60 reg = <0x40000 0x10000>;
65 eeprom_factory_0: eeprom@0 {
69 eeprom_factory_8000: eeprom@8000 {
73 macaddr_factory_28: macaddr@28 {
79 compatible = "denx,uimage";
81 reg = <0x50000 0xfb0000>;
101 reg = <0x0000 0 0 0 0>;
102 nvmem-cells = <&eeprom_factory_8000>;
103 nvmem-cell-names = "eeprom";
104 ieee80211-freq-limit = <5000000 6000000>;
109 pinctrl-names = "default", "pa_gpio";
110 pinctrl-0 = <&pa_pins>;
111 pinctrl-1 = <&pa_gpio_pins>;
112 nvmem-cells = <&eeprom_factory_0>;
113 nvmem-cell-names = "eeprom";
118 groups = "uartf", "wled", "nd_sd";