Commit | Line | Data |
---|---|---|
31ac0d69 | 1 | /* |
5fd1f96c | 2 | * Copyright (c) 2017 MediaTek Inc. |
571b9589 | 3 | * Author: John Crispin <john@phrozen.org> |
5fd1f96c | 4 | * Sean Wang <sean.wang@mediatek.com> |
31ac0d69 JC |
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" | |
c5749d34 | 18 | #include "mt6323.dtsi" |
31ac0d69 JC |
19 | |
20 | / { | |
dfff569a RL |
21 | aliases { |
22 | serial0 = &uart0; | |
23 | serial1 = &uart1; | |
24 | serial2 = &uart2; | |
25 | }; | |
26 | ||
31ac0d69 | 27 | chosen { |
d3d0b996 | 28 | stdout-path = "serial2:115200n8"; |
31ac0d69 JC |
29 | }; |
30 | ||
c5749d34 JC |
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 | ||
5fd1f96c | 49 | memory@80000000 { |
31ac0d69 JC |
50 | reg = <0 0x80000000 0 0x40000000>; |
51 | }; | |
d3d0b996 | 52 | |
59c03de0 JC |
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 | }; | |
d3d0b996 JC |
61 | }; |
62 | ||
dfff569a RL |
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 | ||
d3d0b996 JC |
73 | &uart0 { |
74 | status = "okay"; | |
75 | }; | |
76 | ||
77 | &uart1 { | |
78 | status = "okay"; | |
31ac0d69 JC |
79 | }; |
80 | ||
81 | &uart2 { | |
82 | status = "okay"; | |
83 | }; | |
c5749d34 | 84 | |
59c03de0 JC |
85 | &usb1 { |
86 | vbus-supply = <&usb_p1_vbus>; | |
87 | status = "okay"; | |
88 | }; | |
89 | ||
90 | &u3phy1 { | |
91 | status = "okay"; | |
92 | }; |