3 #include "mt7620a.dtsi"
5 #include <dt-bindings/input/input.h>
8 compatible = "dlink,dch-m225", "ralink,mt7620a-soc";
9 model = "D-Link DCH-M225";
12 compatible = "gpio-keys-polled";
15 poll-interval = <100>;
19 gpios = <&gpio0 11 1>;
20 linux,code = <KEY_RFKILL>;
26 linux,code = <KEY_RESTART>;
31 compatible = "gpio-leds";
34 label = "dch-m225:green:power";
39 label = "dch-m225:red:status";
45 compatible = "simple-audio-card";
46 simple-audio-card,name = "Audio-I2S";
47 simple-audio-card,format = "i2s";
48 simple-audio-card,bitclock-master = <&dailink0_master>;
49 simple-audio-card,frame-master = <&dailink0_master>;
50 simple-audio-card,widgets =
51 "Headphone", "Headphones";
52 simple-audio-card,routing =
55 simple-audio-card,mclk-fs = <256>;
56 simple-audio-card,hp-det-gpio = <&gpio0 14 1>;
58 simple-audio-card,cpu {
62 dailink0_master: simple-audio-card,codec {
80 #sound-dai-cells = <0>;
81 compatible = "wlf,wm8960";
89 #sound-dai-cells = <0>;
91 pinctrl-names = "default";
92 pinctrl-0 = <&gpio_i2s_pins>, <&wm8960_mclk_pins>;
101 compatible = "jedec,spi-nor";
103 linux,modalias = "m25p80";
104 spi-max-frequency = <80000000>;
114 label = "u-boot-env";
115 reg = <0x30000 0x4000>;
119 factory: partition@34000 {
121 reg = <0x34000 0x4000>;
125 nvram: partition@38000 {
127 reg = <0x38000 0x8000>;
133 reg = <0x40000 0x10000>;
138 label = "upgrade_rec";
139 reg = <0x50000 0x100000>;
145 reg = <0x150000 0x6b0000>;
155 state_default: pinctrl0 {
157 ralink,group = "wdt", "rgmii1";
158 ralink,function = "gpio";
163 ralink,function = "pa";
166 wm8960_mclk_pins: wm8960_mclk {
168 ralink,group = "mdio";
169 ralink,function = "refclk";
176 mtd-mac-address = <&factory 0x4>;
180 ralink,port4 = "ephy";
184 ralink,mtd-eeprom = <&factory 0>;