1 #include "mt7620a.dtsi"
3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
7 compatible = "ohyeah,oy-0001", "ralink,mt7620a-soc";
11 led-boot = &led_power;
12 led-failsafe = &led_power;
13 led-running = &led_power;
14 led-upgrade = &led_power;
18 bootargs = "console=ttyS0,115200";
22 compatible = "gpio-leds";
25 label = "green:power";
26 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
31 gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
36 compatible = "gpio-keys";
40 gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
41 linux,code = <KEY_RESTART>;
58 compatible = "jedec,spi-nor";
60 spi-max-frequency = <10000000>;
63 compatible = "fixed-partitions";
75 reg = <0x30000 0x10000>;
79 factory: partition@40000 {
81 reg = <0x40000 0x10000>;
86 compatible = "denx,uimage";
88 reg = <0x50000 0xfb0000>;
96 groups = "i2c", "uartf", "rgmii1", "rgmii2", "wled";
102 pinctrl-names = "default";
103 pinctrl-0 = <&ephy_pins>;
105 mtd-mac-address = <&factory 0x28>;
107 mediatek,portmap = "llllw";
111 mediatek,port4 = "ephy";
115 ralink,mtd-eeprom = <&factory 0x0>;