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>;
29 trigger-sources = <&ohci_port1>, <&ehci_port1>;
30 linux,default-trigger = "usbport";
33 label = "youku-yk1:blue:power";
34 gpios = <&gpio1 5 GPIO_ACTIVE_LOW>;
39 compatible = "gpio-keys-polled";
43 gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
44 linux,code = <KEY_RESTART>;
69 compatible = "jedec,spi-nor";
71 spi-max-frequency = <10000000>;
74 compatible = "fixed-partitions";
86 reg = <0x30000 0x10000>;
90 factory: partition@40000 {
92 reg = <0x40000 0x10000>;
98 reg = <0x50000 0x1fb0000>;
105 state_default: pinctrl0 {
107 ralink,group = "i2c", "rgmii1", "ephy", "wled";
108 ralink,function = "gpio";
114 pinctrl-names = "default";
115 mtd-mac-address = <&factory 0x4>;
116 mediatek,portmap = "llllw";
120 ralink,mtd-eeprom = <&factory 0>;