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 compatible = "gpio-leds";
15 label = "youku-yk1:blue:wan";
16 gpios = <&gpio2 4 GPIO_ACTIVE_LOW>;
19 label = "youku-yk1:blue:air";
20 gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
23 label = "youku-yk1:blue:usb";
24 gpios = <&gpio1 11 GPIO_ACTIVE_LOW>;
27 label = "youku-yk1:blue:power";
28 gpios = <&gpio1 5 GPIO_ACTIVE_LOW>;
33 compatible = "gpio-keys-polled";
39 gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
40 linux,code = <KEY_RESTART>;
67 compatible = "jedec,spi-nor";
69 spi-max-frequency = <10000000>;
79 reg = <0x30000 0x10000>;
83 factory: partition@40000 {
85 reg = <0x40000 0x10000>;
91 reg = <0x50000 0x1fb0000>;
97 state_default: pinctrl0 {
99 ralink,group = "i2c", "rgmii1", "ephy", "wled";
100 ralink,function = "gpio";
106 pinctrl-names = "default";
107 mtd-mac-address = <&factory 0x4>;
108 mediatek,portmap = "llllw";
112 ralink,mtd-eeprom = <&factory 0>;