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 "mt7623a.dtsi"
11 #include "mt6323.dtsi"
14 model = "MediaTek MT7623A with NAND reference board";
15 compatible = "mediatek,mt7623a-rfb-nand", "mediatek,mt7623";
22 stdout-path = "serial2:115200n8";
27 proc-supply = <&mt6323_vproc_reg>;
31 proc-supply = <&mt6323_vproc_reg>;
35 proc-supply = <&mt6323_vproc_reg>;
39 proc-supply = <&mt6323_vproc_reg>;
44 compatible = "gpio-keys";
45 pinctrl-names = "default";
46 pinctrl-0 = <&key_pins_a>;
51 gpios = <&pio 256 GPIO_ACTIVE_LOW>;
56 linux,code = <KEY_WPS_BUTTON>;
57 gpios = <&pio 257 GPIO_ACTIVE_HIGH>;
62 device_type = "memory";
63 reg = <0 0x80000000 0 0x20000000>;
66 reg_1p8v: regulator-1p8v {
67 compatible = "regulator-fixed";
68 regulator-name = "fixed-1.8V";
69 regulator-min-microvolt = <1800000>;
70 regulator-max-microvolt = <1800000>;
75 reg_3p3v: regulator-3p3v {
76 compatible = "regulator-fixed";
77 regulator-name = "fixed-3.3V";
78 regulator-min-microvolt = <3300000>;
79 regulator-max-microvolt = <3300000>;
84 reg_5v: regulator-5v {
85 compatible = "regulator-fixed";
86 regulator-name = "fixed-5V";
87 regulator-min-microvolt = <5000000>;
88 regulator-max-microvolt = <5000000>;
94 compatible = "mediatek,mt2701-wm8960-machine";
95 mediatek,platform = <&afe>;
101 mediatek,audio-codec = <&wm8960>;
102 pinctrl-names = "default";
103 pinctrl-0 = <&i2s0_pins_a>;
123 compatible = "mediatek,eth-mac";
135 #address-cells = <1>;
139 compatible = "mediatek,mt7530";
142 resets = <ðsys MT2701_ETHSYS_MCM_RST>;
144 core-supply = <&mt6323_vpa_reg>;
145 io-supply = <&mt6323_vemc3v3_reg>;
148 #address-cells = <1>;
193 pinctrl-names = "default";
194 pinctrl-0 = <&i2c0_pins_a>;
199 pinctrl-names = "default";
200 pinctrl-0 = <&i2c1_pins_b>;
204 compatible = "wlf,wm8960";
210 pinctrl-names = "default";
211 pinctrl-0 = <&i2c2_pins_b>;
216 pinctrl-names = "default", "state_uhs";
217 pinctrl-0 = <&mmc1_pins_default>;
218 pinctrl-1 = <&mmc1_pins_uhs>;
221 max-frequency = <50000000>;
223 cd-gpios = <&pio 261 GPIO_ACTIVE_LOW>;
224 vmmc-supply = <®_3p3v>;
225 vqmmc-supply = <®_3p3v>;
229 pinctrl-names = "default";
230 pinctrl-0 = <&nand_pins_default>;
235 spare_per_sector = <64>;
236 nand-ecc-mode = "hw";
237 nand-ecc-strength = <12>;
238 nand-ecc-step-size = <1024>;
241 compatible = "fixed-partitions";
242 #address-cells = <1>;
252 reg = <0x40000 0x80000>;
257 reg = <0xC0000 0x40000>;
262 reg = <0x140000 0x2000000>;
267 reg = <0x2140000 0x2000000>;
272 reg = <0x4140000 0x1000000>;
277 reg = <0x5140000 0x1000000>;
284 pinctrl-names = "default";
285 pinctrl-0 = <&pcie_default>;
306 pinctrl-names = "default";
307 pinctrl-0 = <&pwm_pins_a>;
312 pinctrl-names = "default";
313 pinctrl-0 = <&spi0_pins_a>;
318 pinctrl-names = "default";
319 pinctrl-0 = <&spi1_pins_a>;
324 pinctrl-names = "default";
325 pinctrl-0 = <&uart2_pins_b>;
330 vusb33-supply = <®_3p3v>;
331 vbus-supply = <®_5v>;