3 #include "mt7620a.dtsi"
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "planex,cs-qr10", "ralink,mt7620a-soc";
10 model = "YUKAI Engineering BOCCO";
13 compatible = "gpio-keys-polled";
20 gpios = <&gpio1 7 GPIO_ACTIVE_LOW>;
21 linux,code = <KEY_RESTART>;
26 compatible = "gpio-export";
30 gpio-export,name = "rec";
31 gpios = <&gpio1 8 GPIO_ACTIVE_HIGH>;
34 gpio-export,name = "play";
35 gpios = <&gpio1 9 GPIO_ACTIVE_HIGH>;
40 compatible = "simple-audio-card";
41 simple-audio-card,name = "Audio-I2S";
42 simple-audio-card,format = "i2s";
43 simple-audio-card,bitclock-master = <&dailink0_master>;
44 simple-audio-card,frame-master = <&dailink0_master>;
45 simple-audio-card,widgets =
46 "Headphone", "Headphones";
47 simple-audio-card,routing =
50 simple-audio-card,mclk-fs = <256>;
52 simple-audio-card,cpu {
56 dailink0_master: simple-audio-card,codec {
82 #sound-dai-cells = <0>;
83 compatible = "wlf,wm8960";
91 #sound-dai-cells = <0>;
93 pinctrl-names = "default";
94 pinctrl-0 = <&pcm_i2s_pins>;
101 #address-cells = <1>;
103 compatible = "jedec,spi-nor";
105 spi-max-frequency = <10000000>;
114 label = "u-boot-env";
115 reg = <0x30000 0x10000>;
119 factory: partition@40000 {
121 reg = <0x40000 0x10000>;
127 reg = <0x50000 0x7b0000>;
141 state_default: pinctrl0 {
143 ralink,group = "spi refclk", "rgmii1";
144 ralink,function = "gpio";
150 pinctrl-names = "default";
151 pinctrl-0 = <&ephy_pins>;
152 mtd-mac-address = <&factory 0x4>;
153 mediatek,portmap = "llllw";
157 ralink,port4 = "ephy";
161 ralink,mtd-eeprom = <&factory 0>;