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";
41 gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
42 linux,code = <KEY_RESTART>;
67 compatible = "jedec,spi-nor";
69 spi-max-frequency = <10000000>;
72 compatible = "fixed-partitions";
84 reg = <0x30000 0x10000>;
88 factory: partition@40000 {
90 reg = <0x40000 0x10000>;
96 reg = <0x50000 0x1fb0000>;
103 state_default: pinctrl0 {
105 ralink,group = "i2c", "rgmii1", "ephy", "wled";
106 ralink,function = "gpio";
112 pinctrl-names = "default";
113 mtd-mac-address = <&factory 0x4>;
114 mediatek,portmap = "llllw";
118 ralink,mtd-eeprom = <&factory 0>;