3 #include "mt7620a.dtsi"
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "dlink,dch-m225", "ralink,mt7620a-soc";
10 model = "D-Link DCH-M225";
13 led-boot = &led_power;
14 led-failsafe = &led_power;
15 led-running = &led_power;
16 led-upgrade = &led_power;
20 compatible = "gpio-keys";
24 gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
25 linux,code = <KEY_RFKILL>;
30 gpios = <&gpio1 2 GPIO_ACTIVE_LOW>;
31 linux,code = <KEY_RESTART>;
36 compatible = "gpio-leds";
39 label = "dch-m225:green:power";
40 gpios = <&gpio1 5 GPIO_ACTIVE_LOW>;
45 label = "dch-m225:red:status";
46 gpios = <&gpio1 0 GPIO_ACTIVE_LOW>;
51 compatible = "simple-audio-card";
52 simple-audio-card,name = "Audio-I2S";
53 simple-audio-card,format = "i2s";
54 simple-audio-card,bitclock-master = <&dailink0_master>;
55 simple-audio-card,frame-master = <&dailink0_master>;
56 simple-audio-card,widgets =
57 "Headphone", "Headphones";
58 simple-audio-card,routing =
61 simple-audio-card,mclk-fs = <256>;
62 simple-audio-card,hp-det-gpio = <&gpio0 14 GPIO_ACTIVE_LOW>;
64 simple-audio-card,cpu {
68 dailink0_master: simple-audio-card,codec {
86 #sound-dai-cells = <0>;
87 compatible = "wlf,wm8960";
95 #sound-dai-cells = <0>;
97 pinctrl-names = "default";
98 pinctrl-0 = <&mdio_refclk_pins>;
105 compatible = "jedec,spi-nor";
107 spi-max-frequency = <80000000>;
111 compatible = "fixed-partitions";
112 #address-cells = <1>;
122 label = "u-boot-env";
123 reg = <0x30000 0x4000>;
127 factory: partition@34000 {
129 reg = <0x34000 0x4000>;
133 nvram: partition@38000 {
135 reg = <0x38000 0x8000>;
141 reg = <0x40000 0x10000>;
146 label = "upgrade_rec";
147 reg = <0x50000 0x100000>;
152 compatible = "seama";
154 reg = <0x150000 0x6b0000>;
166 ralink,group = "wdt", "rgmii1";
167 ralink,function = "gpio";
171 ralink,group = "uartf";
172 ralink,function = "gpio i2s";
177 mtd-mac-address = <&factory 0x4>;
181 ralink,port4 = "ephy";
185 ralink,mtd-eeprom = <&factory 0>;
186 pinctrl-names = "default";
187 pinctrl-0 = <&pa_pins>;