Merge tag 'mvebu-fixes-4.17-2' of git://git.infradead.org/linux-mvebu into fixes
[sfrench/cifs-2.6.git] / arch / arm / boot / dts / mt7623n-rfb.dtsi
1 // SPDX-License-Identifier: GPL-2.0
2 /*
3  * Copyright (c) 2017 MediaTek Inc.
4  * Author: John Crispin <john@phrozen.org>
5  *         Sean Wang <sean.wang@mediatek.com>
6  *
7  */
8
9 /dts-v1/;
10 #include "mt7623.dtsi"
11 #include "mt6323.dtsi"
12
13 / {
14         aliases {
15                 serial0 = &uart0;
16                 serial1 = &uart1;
17                 serial2 = &uart2;
18         };
19
20         chosen {
21                 stdout-path = "serial2:115200n8";
22         };
23
24         cpus {
25                 cpu0 {
26                         proc-supply = <&mt6323_vproc_reg>;
27                 };
28
29                 cpu1 {
30                         proc-supply = <&mt6323_vproc_reg>;
31                 };
32
33                 cpu2 {
34                         proc-supply = <&mt6323_vproc_reg>;
35                 };
36
37                 cpu3 {
38                         proc-supply = <&mt6323_vproc_reg>;
39                 };
40         };
41
42         memory@80000000 {
43                 device_type = "memory";
44                 reg = <0 0x80000000 0 0x40000000>;
45         };
46
47         usb_p1_vbus: regulator-5v {
48                 compatible = "regulator-fixed";
49                 regulator-name = "usb_vbus";
50                 regulator-min-microvolt = <5000000>;
51                 regulator-max-microvolt = <5000000>;
52                 gpio = <&pio 135 GPIO_ACTIVE_HIGH>;
53                 enable-active-high;
54         };
55 };
56
57 &mmc0 {
58         vmmc-supply = <&mt6323_vemc3v3_reg>;
59         vqmmc-supply = <&mt6323_vio18_reg>;
60 };
61
62 &mmc1 {
63         vmmc-supply = <&mt6323_vmch_reg>;
64         vqmmc-supply = <&mt6323_vmc_reg>;
65 };
66
67 &uart0 {
68         status = "okay";
69 };
70
71 &uart1 {
72         status = "okay";
73 };
74
75 &uart2 {
76         status = "okay";
77 };
78
79 &usb1 {
80         vbus-supply = <&usb_p1_vbus>;
81         status = "okay";
82 };
83
84 &u3phy1 {
85         status = "okay";
86 };