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 {
76 compatible = "nvmem-cells";
78 reg = <0x40000 0x10000>;
83 eeprom_factory_0: eeprom@0 {
87 macaddr_factory_28: macaddr@28 {
93 compatible = "denx,uimage";
95 reg = <0x50000 0xfb0000>;
103 groups = "i2c", "uartf", "rgmii1", "rgmii2", "wled";
109 pinctrl-names = "default";
110 pinctrl-0 = <&ephy_pins>;
112 nvmem-cells = <&macaddr_factory_28>;
113 nvmem-cell-names = "mac-address";
115 mediatek,portmap = "llllw";
119 nvmem-cells = <&eeprom_factory_0>;
120 nvmem-cell-names = "eeprom";