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 led-status = &led_power;
17 bootargs = "console=ttyS0,115200";
21 compatible = "gpio-leds";
24 label = "oy-0001:green:power";
25 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
29 label = "oy-0001:green:wifi";
30 gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
35 compatible = "gpio-keys-polled";
40 gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
41 linux,code = <KEY_RESTART>;
60 compatible = "jedec,spi-nor";
62 spi-max-frequency = <10000000>;
72 reg = <0x30000 0x10000>;
76 factory: partition@40000 {
78 reg = <0x40000 0x10000>;
84 reg = <0x50000 0xfb0000>;
90 state_default: pinctrl0 {
92 ralink,group = "i2c", "uartf", "rgmii1", "rgmii2", "wled", "nd_sd";
93 ralink,function = "gpio";
99 pinctrl-names = "default";
100 pinctrl-0 = <&ephy_pins>;
101 mediatek,portmap = "llllw";
105 mediatek,port4 = "ephy";
109 ralink,mtd-eeprom = <&factory 0>;