3 #include "mt7620a.dtsi"
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "youku,yk1", "ralink,mt7620a-soc";
13 led-boot = &led_power;
14 led-failsafe = &led_power;
15 led-running = &led_power;
16 led-upgrade = &led_power;
20 compatible = "gpio-leds";
23 label = "yk1:blue:wan";
24 gpios = <&gpio2 4 GPIO_ACTIVE_LOW>;
28 label = "yk1:blue:air";
29 gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
33 label = "yk1:blue:usb";
34 gpios = <&gpio1 11 GPIO_ACTIVE_LOW>;
35 trigger-sources = <&ohci_port1>, <&ehci_port1>;
36 linux,default-trigger = "usbport";
40 label = "yk1:blue:power";
41 gpios = <&gpio1 5 GPIO_ACTIVE_LOW>;
46 compatible = "gpio-keys";
50 gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
51 linux,code = <KEY_RESTART>;
76 compatible = "mx25l25635f", "jedec,spi-nor";
78 spi-max-frequency = <25000000>;
82 compatible = "fixed-partitions";
94 reg = <0x30000 0x10000>;
98 factory: partition@40000 {
100 reg = <0x40000 0x10000>;
105 compatible = "denx,uimage";
107 reg = <0x50000 0x1fb0000>;
115 ralink,group = "i2c", "rgmii1", "ephy", "wled";
116 ralink,function = "gpio";
121 pinctrl-names = "default";
122 mtd-mac-address = <&factory 0x4>;
123 mediatek,portmap = "llllw";
127 ralink,mtd-eeprom = <&factory 0>;