1 #include "mt7620a.dtsi"
3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
7 compatible = "youku,yk1", "ralink,mt7620a-soc";
11 led-boot = &led_power;
12 led-failsafe = &led_power;
13 led-running = &led_power;
14 led-upgrade = &led_power;
18 compatible = "gpio-leds";
22 gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
23 linux,default-trigger = "phy0tpt";
28 gpios = <&gpio1 11 GPIO_ACTIVE_LOW>;
29 trigger-sources = <&ohci_port1>, <&ehci_port1>;
30 linux,default-trigger = "usbport";
35 gpios = <&gpio1 5 GPIO_ACTIVE_LOW>;
40 compatible = "gpio-keys";
44 gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
45 linux,code = <KEY_RESTART>;
62 compatible = "jedec,spi-nor";
64 spi-max-frequency = <80000000>;
68 compatible = "fixed-partitions";
80 reg = <0x30000 0x10000>;
84 factory: partition@40000 {
86 reg = <0x40000 0x10000>;
91 compatible = "denx,uimage";
93 reg = <0x50000 0x1fb0000>;
101 groups = "i2c", "rgmii1", "wled";
107 pinctrl-names = "default";
109 mtd-mac-address = <&factory 0x4>;
111 mediatek,portmap = "llllw";
115 ralink,mtd-eeprom = <&factory 0x0>;