Linux Audio

Check our new training course

Loading...
Note: File does not exist in v6.13.7.
 1/*
 2 * Copyright (c) 2017 MediaTek Inc.
 3 * Author: John Crispin <john@phrozen.org>
 4 *	   Sean Wang <sean.wang@mediatek.com>
 5 *
 6 * This program is free software; you can redistribute it and/or modify
 7 * it under the terms of the GNU General Public License version 2 as
 8 * published by the Free Software Foundation.
 9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13 * GNU General Public License for more details.
14 */
15
16/dts-v1/;
17#include "mt7623.dtsi"
18#include "mt6323.dtsi"
19
20/ {
21	aliases {
22		serial0 = &uart0;
23		serial1 = &uart1;
24		serial2 = &uart2;
25	};
26
27	chosen {
28		stdout-path = "serial2:115200n8";
29	};
30
31	cpus {
32		cpu0 {
33			proc-supply = <&mt6323_vproc_reg>;
34		};
35
36		cpu1 {
37			proc-supply = <&mt6323_vproc_reg>;
38		};
39
40		cpu2 {
41			proc-supply = <&mt6323_vproc_reg>;
42		};
43
44		cpu3 {
45			proc-supply = <&mt6323_vproc_reg>;
46		};
47	};
48
49	memory@80000000 {
50		reg = <0 0x80000000 0 0x40000000>;
51	};
52
53	usb_p1_vbus: regulator@0 {
54		compatible = "regulator-fixed";
55		regulator-name = "usb_vbus";
56		regulator-min-microvolt = <5000000>;
57		regulator-max-microvolt = <5000000>;
58		gpio = <&pio 135 GPIO_ACTIVE_HIGH>;
59		enable-active-high;
60	};
61};
62
63&mmc0 {
64	vmmc-supply = <&mt6323_vemc3v3_reg>;
65	vqmmc-supply = <&mt6323_vio18_reg>;
66};
67
68&mmc1 {
69	vmmc-supply = <&mt6323_vmch_reg>;
70	vqmmc-supply = <&mt6323_vmc_reg>;
71};
72
73&uart0 {
74	status = "okay";
75};
76
77&uart1 {
78	status = "okay";
79};
80
81&uart2 {
82	status = "okay";
83};
84
85&usb1 {
86	vbus-supply = <&usb_p1_vbus>;
87	status = "okay";
88};
89
90&u3phy1 {
91	status = "okay";
92};