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";
22 label = "yk1:blue:wan";
23 gpios = <&gpio2 4 GPIO_ACTIVE_LOW>;
26 label = "yk1:blue:air";
27 gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
30 label = "yk1:blue:usb";
31 gpios = <&gpio1 11 GPIO_ACTIVE_LOW>;
32 trigger-sources = <&ohci_port1>, <&ehci_port1>;
33 linux,default-trigger = "usbport";
36 label = "yk1:blue:power";
37 gpios = <&gpio1 5 GPIO_ACTIVE_LOW>;
42 compatible = "gpio-keys-polled";
46 gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
47 linux,code = <KEY_RESTART>;
72 compatible = "mx25l25635f", "jedec,spi-nor";
74 spi-max-frequency = <25000000>;
78 compatible = "fixed-partitions";
90 reg = <0x30000 0x10000>;
94 factory: partition@40000 {
96 reg = <0x40000 0x10000>;
101 compatible = "denx,uimage";
103 reg = <0x50000 0x1fb0000>;
110 state_default: pinctrl0 {
112 ralink,group = "i2c", "rgmii1", "ephy", "wled";
113 ralink,function = "gpio";
119 pinctrl-names = "default";
120 mtd-mac-address = <&factory 0x4>;
121 mediatek,portmap = "llllw";
125 ralink,mtd-eeprom = <&factory 0>;