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-status = &led_power;
17 compatible = "gpio-leds";
19 label = "youku-yk1:blue:wan";
20 gpios = <&gpio2 4 GPIO_ACTIVE_LOW>;
23 label = "youku-yk1:blue:air";
24 gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
27 label = "youku-yk1:blue:usb";
28 gpios = <&gpio1 11 GPIO_ACTIVE_LOW>;
31 label = "youku-yk1:blue:power";
32 gpios = <&gpio1 5 GPIO_ACTIVE_LOW>;
37 compatible = "gpio-keys-polled";
43 gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
44 linux,code = <KEY_RESTART>;
71 compatible = "jedec,spi-nor";
73 spi-max-frequency = <10000000>;
83 reg = <0x30000 0x10000>;
87 factory: partition@40000 {
89 reg = <0x40000 0x10000>;
95 reg = <0x50000 0x1fb0000>;
101 state_default: pinctrl0 {
103 ralink,group = "i2c", "rgmii1", "ephy", "wled";
104 ralink,function = "gpio";
110 pinctrl-names = "default";
111 mtd-mac-address = <&factory 0x4>;
112 mediatek,portmap = "llllw";
116 ralink,mtd-eeprom = <&factory 0>;