3 /include/ "mt7620a.dtsi"
6 compatible = "dlink,dch-m225", "ralink,mt7620a-soc";
7 model = "D-Link DCH-M225";
10 compatible = "gpio-keys-polled";
13 poll-interval = <100>;
17 gpios = <&gpio0 11 1>;
29 compatible = "gpio-leds";
32 label = "dch-m225:green:power";
37 label = "dch-m225:red:status";
43 compatible = "simple-audio-card";
44 simple-audio-card,name = "Audio-I2S";
45 simple-audio-card,format = "i2s";
46 simple-audio-card,bitclock-master = <&dailink0_master>;
47 simple-audio-card,frame-master = <&dailink0_master>;
48 simple-audio-card,widgets =
49 "Headphone", "Headphones";
50 simple-audio-card,routing =
53 simple-audio-card,mclk-fs = <256>;
54 simple-audio-card,hp-det-gpio = <&gpio0 14 1>;
56 simple-audio-card,cpu {
60 dailink0_master: simple-audio-card,codec {
78 #sound-dai-cells = <0>;
79 compatible = "wlf,wm8960";
87 #sound-dai-cells = <0>;
89 pinctrl-names = "default";
90 pinctrl-0 = <&gpio_i2s_pins>, <&wm8960_mclk_pins>;
99 compatible = "jedec,spi-nor";
101 linux,modalias = "m25p80";
102 spi-max-frequency = <80000000>;
112 label = "u-boot-env";
113 reg = <0x30000 0x4000>;
117 factory: partition@34000 {
119 reg = <0x34000 0x4000>;
123 nvram: partition@38000 {
125 reg = <0x38000 0x8000>;
131 reg = <0x40000 0x10000>;
136 label = "upgrade_rec";
137 reg = <0x50000 0x100000>;
143 reg = <0x150000 0x6b0000>;
153 state_default: pinctrl0 {
155 ralink,group = "wdt", "rgmii1";
156 ralink,function = "gpio";
161 ralink,function = "pa";
164 wm8960_mclk_pins: wm8960_mclk {
166 ralink,group = "mdio";
167 ralink,function = "refclk";
174 mtd-mac-address = <&factory 0x4>;
178 ralink,port4 = "ephy";
182 ralink,mtd-eeprom = <&factory 0>;