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-boot = &led_power;
14 led-failsafe = &led_power;
15 led-running = &led_power;
16 led-upgrade = &led_power;
20 bootargs = "console=ttyS0,115200";
24 compatible = "gpio-leds";
27 label = "oy-0001:green:power";
28 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
32 label = "oy-0001:green:wifi";
33 gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
38 compatible = "gpio-keys-polled";
43 gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
44 linux,code = <KEY_RESTART>;
61 compatible = "jedec,spi-nor";
63 spi-max-frequency = <10000000>;
66 compatible = "fixed-partitions";
78 reg = <0x30000 0x10000>;
82 factory: partition@40000 {
84 reg = <0x40000 0x10000>;
89 compatible = "denx,uimage";
91 reg = <0x50000 0xfb0000>;
98 state_default: pinctrl0 {
100 ralink,group = "i2c", "uartf", "rgmii1", "rgmii2", "wled";
101 ralink,function = "gpio";
107 pinctrl-names = "default";
108 pinctrl-0 = <&ephy_pins>;
109 mtd-mac-address = <&factory 0x28>;
110 mediatek,portmap = "llllw";
114 mediatek,port4 = "ephy";
118 ralink,mtd-eeprom = <&factory 0>;