1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (c) 2017-2018 MediaTek Inc.
4 * Author: Sean Wang <sean.wang@mediatek.com>
9 #include <dt-bindings/input/input.h>
10 #include "mt7623.dtsi"
11 #include "mt6323.dtsi"
14 model = "MediaTek MT7623N with eMMC reference board";
15 compatible = "mediatek,mt7623n-rfb-emmc", "mediatek,mt7623";
24 stdout-path = "serial2:115200n8";
29 proc-supply = <&mt6323_vproc_reg>;
33 proc-supply = <&mt6323_vproc_reg>;
37 proc-supply = <&mt6323_vproc_reg>;
41 proc-supply = <&mt6323_vproc_reg>;
46 compatible = "gpio-keys";
47 pinctrl-names = "default";
48 pinctrl-0 = <&key_pins_a>;
53 gpios = <&pio 256 GPIO_ACTIVE_LOW>;
58 linux,code = <KEY_WPS_BUTTON>;
59 gpios = <&pio 257 GPIO_ACTIVE_HIGH>;
64 device_type = "memory";
65 reg = <0 0x80000000 0 0x40000000>;
68 reg_1p8v: regulator-1p8v {
69 compatible = "regulator-fixed";
70 regulator-name = "fixed-1.8V";
71 regulator-min-microvolt = <1800000>;
72 regulator-max-microvolt = <1800000>;
77 reg_3p3v: regulator-3p3v {
78 compatible = "regulator-fixed";
79 regulator-name = "fixed-3.3V";
80 regulator-min-microvolt = <3300000>;
81 regulator-max-microvolt = <3300000>;
86 reg_5v: regulator-5v {
87 compatible = "regulator-fixed";
88 regulator-name = "fixed-5V";
89 regulator-min-microvolt = <5000000>;
90 regulator-max-microvolt = <5000000>;
96 compatible = "mediatek,mt2701-wm8960-machine";
97 mediatek,platform = <&afe>;
103 mediatek,audio-codec = <&wm8960>;
104 pinctrl-names = "default";
105 pinctrl-0 = <&i2s0_pins_a>;
114 pinctrl-names = "default";
115 pinctrl-0 = <&cir_pins_a>;
127 compatible = "mediatek,eth-mac";
139 compatible = "mediatek,eth-mac";
141 phy-handle = <&phy5>;
145 #address-cells = <1>;
148 phy5: ethernet-phy@5 {
150 phy-mode = "rgmii-rxid";
154 compatible = "mediatek,mt7530";
156 reset-gpios = <&pio 33 0>;
157 core-supply = <&mt6323_vpa_reg>;
158 io-supply = <&mt6323_vemc3v3_reg>;
161 #address-cells = <1>;
206 pinctrl-names = "default";
207 pinctrl-0 = <&i2c0_pins_a>;
212 pinctrl-names = "default";
213 pinctrl-0 = <&i2c1_pins_b>;
217 compatible = "wlf,wm8960";
223 pinctrl-names = "default";
224 pinctrl-0 = <&i2c2_pins_a>;
229 pinctrl-names = "default", "state_uhs";
230 pinctrl-0 = <&mmc0_pins_default>;
231 pinctrl-1 = <&mmc0_pins_uhs>;
234 max-frequency = <50000000>;
236 vmmc-supply = <®_3p3v>;
237 vqmmc-supply = <®_1p8v>;
242 pinctrl-names = "default", "state_uhs";
243 pinctrl-0 = <&mmc1_pins_default>;
244 pinctrl-1 = <&mmc1_pins_uhs>;
247 max-frequency = <50000000>;
249 cd-gpios = <&pio 261 GPIO_ACTIVE_LOW>;
250 vmmc-supply = <®_3p3v>;
251 vqmmc-supply = <®_3p3v>;
255 pinctrl-names = "default";
256 pinctrl-0 = <&pcie_default>;
277 pinctrl-names = "default";
278 pinctrl-0 = <&pwm_pins_a>;
283 pinctrl-names = "default";
284 pinctrl-0 = <&spi0_pins_a>;
289 pinctrl-names = "default";
290 pinctrl-0 = <&spi1_pins_a>;
295 pinctrl-names = "default";
296 pinctrl-0 = <&spi2_pins_a>;
301 pinctrl-names = "default";
302 pinctrl-0 = <&uart0_pins_a>;
307 pinctrl-names = "default";
308 pinctrl-0 = <&uart1_pins_a>;
313 pinctrl-names = "default";
314 pinctrl-0 = <&uart2_pins_a>;
319 vusb33-supply = <®_3p3v>;
320 vbus-supply = <®_5v>;