3 #include "mt7620a.dtsi"
5 #include <dt-bindings/input/input.h>
8 compatible = "YOUKU-YK1", "ralink,mt7620a-soc";
12 compatible = "gpio-leds";
14 label = "youku-yk1:blue:wan";
18 label = "youku-yk1:blue:air";
22 label = "youku-yk1:blue:usb";
23 gpios = <&gpio1 11 1>;
26 label = "youku-yk1:blue:power";
32 compatible = "gpio-keys-polled";
39 linux,code = <KEY_RESTART>;
66 compatible = "jedec,spi-nor";
68 linux,modalias = "m25p80", "w25q256";
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", "uartf", "rgmii1", "rgmii2", "ephy", "wled", "nd_sd";
100 ralink,function = "gpio";
106 pinctrl-names = "default";
107 pinctrl-0 = <&ephy_pins>;
108 mtd-mac-address = <&factory 0x4>;
109 mediatek,portmap = "llllw";
113 ralink,mtd-eeprom = <&factory 0>;