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>;
54 compatible = "jedec,spi-nor";
56 spi-max-frequency = <10000000>;
59 compatible = "fixed-partitions";
71 reg = <0x30000 0x10000>;
75 factory: partition@40000 {
77 reg = <0x40000 0x10000>;
82 compatible = "denx,uimage";
84 reg = <0x50000 0xfb0000>;
92 groups = "i2c", "uartf", "rgmii1", "rgmii2", "wled";
98 pinctrl-names = "default";
99 pinctrl-0 = <&ephy_pins>;
101 nvmem-cells = <&macaddr_factory_28>;
102 nvmem-cell-names = "mac-address";
104 mediatek,portmap = "llllw";
108 ralink,mtd-eeprom = <&factory 0x0>;
124 compatible = "nvmem-cells";
125 #address-cells = <1>;
128 macaddr_factory_28: macaddr@28 {