3 #include "mt7620a.dtsi"
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "ohyeah,oy-0001", "ralink,mt7620a-soc";
13 bootargs = "console=ttyS0,115200";
17 compatible = "gpio-leds";
20 label = "oy-0001:green:power";
21 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
25 label = "oy-0001:green:wifi";
26 gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
31 compatible = "gpio-keys-polled";
38 gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
39 linux,code = <KEY_RESTART>;
58 compatible = "jedec,spi-nor";
60 spi-max-frequency = <10000000>;
70 reg = <0x30000 0x10000>;
74 factory: partition@40000 {
76 reg = <0x40000 0x10000>;
82 reg = <0x50000 0xfb0000>;
88 state_default: pinctrl0 {
90 ralink,group = "i2c", "uartf", "rgmii1", "rgmii2", "wled", "nd_sd";
91 ralink,function = "gpio";
97 pinctrl-names = "default";
98 pinctrl-0 = <&ephy_pins>;
99 mediatek,portmap = "llllw";
103 mediatek,port4 = "ephy";
107 ralink,mtd-eeprom = <&factory 0>;