• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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		device_type = "memory";
51		reg = <0 0x80000000 0 0x40000000>;
52	};
53
54	usb_p1_vbus: regulator@0 {
55		compatible = "regulator-fixed";
56		regulator-name = "usb_vbus";
57		regulator-min-microvolt = <5000000>;
58		regulator-max-microvolt = <5000000>;
59		gpio = <&pio 135 GPIO_ACTIVE_HIGH>;
60		enable-active-high;
61	};
62};
63
64&mmc0 {
65	vmmc-supply = <&mt6323_vemc3v3_reg>;
66	vqmmc-supply = <&mt6323_vio18_reg>;
67};
68
69&mmc1 {
70	vmmc-supply = <&mt6323_vmch_reg>;
71	vqmmc-supply = <&mt6323_vmc_reg>;
72};
73
74&uart0 {
75	status = "okay";
76};
77
78&uart1 {
79	status = "okay";
80};
81
82&uart2 {
83	status = "okay";
84};
85
86&usb1 {
87	vbus-supply = <&usb_p1_vbus>;
88	status = "okay";
89};
90
91&u3phy1 {
92	status = "okay";
93};
94