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";
42 gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
43 linux,code = <KEY_RESTART>;
60 compatible = "jedec,spi-nor";
62 spi-max-frequency = <10000000>;
65 compatible = "fixed-partitions";
77 reg = <0x30000 0x10000>;
81 factory: partition@40000 {
83 reg = <0x40000 0x10000>;
88 compatible = "denx,uimage";
90 reg = <0x50000 0xfb0000>;
97 state_default: pinctrl0 {
99 ralink,group = "i2c", "uartf", "rgmii1", "rgmii2", "wled";
100 ralink,function = "gpio";
106 pinctrl-names = "default";
107 pinctrl-0 = <&ephy_pins>;
108 mtd-mac-address = <&factory 0x28>;
109 mediatek,portmap = "llllw";
113 mediatek,port4 = "ephy";
117 ralink,mtd-eeprom = <&factory 0>;