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 "mt7623n.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";
28 compatible = "hdmi-connector";
31 ddc-i2c-bus = <&hdmiddc0>;
34 hdmi_connector_in: endpoint {
35 remote-endpoint = <&hdmi0_out>;
42 proc-supply = <&mt6323_vproc_reg>;
46 proc-supply = <&mt6323_vproc_reg>;
50 proc-supply = <&mt6323_vproc_reg>;
54 proc-supply = <&mt6323_vproc_reg>;
59 compatible = "gpio-keys";
60 pinctrl-names = "default";
61 pinctrl-0 = <&key_pins_a>;
66 gpios = <&pio 256 GPIO_ACTIVE_LOW>;
71 linux,code = <KEY_WPS_BUTTON>;
72 gpios = <&pio 257 GPIO_ACTIVE_HIGH>;
77 device_type = "memory";
78 reg = <0 0x80000000 0 0x40000000>;
81 reg_1p8v: regulator-1p8v {
82 compatible = "regulator-fixed";
83 regulator-name = "fixed-1.8V";
84 regulator-min-microvolt = <1800000>;
85 regulator-max-microvolt = <1800000>;
90 reg_3p3v: regulator-3p3v {
91 compatible = "regulator-fixed";
92 regulator-name = "fixed-3.3V";
93 regulator-min-microvolt = <3300000>;
94 regulator-max-microvolt = <3300000>;
99 reg_5v: regulator-5v {
100 compatible = "regulator-fixed";
101 regulator-name = "fixed-5V";
102 regulator-min-microvolt = <5000000>;
103 regulator-max-microvolt = <5000000>;
109 compatible = "mediatek,mt2701-wm8960-machine";
110 mediatek,platform = <&afe>;
116 mediatek,audio-codec = <&wm8960>;
117 pinctrl-names = "default";
118 pinctrl-0 = <&i2s0_pins_a>;
135 pinctrl-names = "default";
136 pinctrl-0 = <&cir_pins_a>;
148 #address-cells = <1>;
153 remote-endpoint = <&hdmi0_in>;
163 compatible = "mediatek,eth-mac";
175 compatible = "mediatek,eth-mac";
178 phy-handle = <&phy5>;
182 #address-cells = <1>;
185 phy5: ethernet-phy@5 {
187 phy-mode = "rgmii-rxid";
191 compatible = "mediatek,mt7530";
193 reset-gpios = <&pio 33 0>;
194 core-supply = <&mt6323_vpa_reg>;
195 io-supply = <&mt6323_vemc3v3_reg>;
198 #address-cells = <1>;
243 pinctrl-names = "default";
244 pinctrl-0 = <&hdmi_pins_a>;
248 #address-cells = <1>;
253 remote-endpoint = <&dpi0_out>;
259 hdmi0_out: endpoint {
260 remote-endpoint = <&hdmi_connector_in>;
267 pinctrl-names = "default";
268 pinctrl-0 = <&hdmi_ddc_pins_a>;
273 mediatek,ibias = <0xa>;
274 mediatek,ibias_up = <0x1c>;
279 pinctrl-names = "default";
280 pinctrl-0 = <&i2c0_pins_a>;
285 pinctrl-names = "default";
286 pinctrl-0 = <&i2c1_pins_b>;
290 compatible = "wlf,wm8960";
296 pinctrl-names = "default";
297 pinctrl-0 = <&i2c2_pins_a>;
302 pinctrl-names = "default", "state_uhs";
303 pinctrl-0 = <&mmc0_pins_default>;
304 pinctrl-1 = <&mmc0_pins_uhs>;
307 max-frequency = <50000000>;
309 vmmc-supply = <®_3p3v>;
310 vqmmc-supply = <®_1p8v>;
315 pinctrl-names = "default", "state_uhs";
316 pinctrl-0 = <&mmc1_pins_default>;
317 pinctrl-1 = <&mmc1_pins_uhs>;
320 max-frequency = <50000000>;
322 cd-gpios = <&pio 261 GPIO_ACTIVE_LOW>;
323 vmmc-supply = <®_3p3v>;
324 vqmmc-supply = <®_3p3v>;
328 pinctrl-names = "default";
329 pinctrl-0 = <&pcie_default>;
350 pinctrl-names = "default";
351 pinctrl-0 = <&pwm_pins_a>;
356 pinctrl-names = "default";
357 pinctrl-0 = <&spi0_pins_a>;
362 pinctrl-names = "default";
363 pinctrl-0 = <&spi1_pins_a>;
368 pinctrl-names = "default";
369 pinctrl-0 = <&spi2_pins_a>;
374 pinctrl-names = "default";
375 pinctrl-0 = <&uart0_pins_a>;
380 pinctrl-names = "default";
381 pinctrl-0 = <&uart1_pins_a>;
386 pinctrl-names = "default";
387 pinctrl-0 = <&uart2_pins_a>;
392 vusb33-supply = <®_3p3v>;
393 vbus-supply = <®_5v>;