arm64: dts: Revert "specify console via command line"
[linux/fpc-iii.git] / arch / arm64 / boot / dts / allwinner / sun50i-a64-sopine-baseboard.dts
blob2f6ea9f3f6a2a0e5762c07412ee9d6251935413e
1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2 // Copyright (c) 2017 Icenowy Zheng <icenowy@aosc.xyz>
3 // Based on sun50i-a64-pine64.dts, which is:
4 //   Copyright (c) 2016 ARM Ltd.
6 /dts-v1/;
8 #include "sun50i-a64-sopine.dtsi"
10 / {
11         model = "SoPine with baseboard";
12         compatible = "pine64,sopine-baseboard", "pine64,sopine",
13                      "allwinner,sun50i-a64";
15         aliases {
16                 ethernet0 = &emac;
17                 serial0 = &uart0;
18                 serial1 = &uart1;
19                 serial2 = &uart2;
20                 serial3 = &uart3;
21                 serial4 = &uart4;
22         };
24         chosen {
25                 stdout-path = "serial0:115200n8";
26         };
28         hdmi-connector {
29                 compatible = "hdmi-connector";
30                 type = "a";
32                 port {
33                         hdmi_con_in: endpoint {
34                                 remote-endpoint = <&hdmi_out_con>;
35                         };
36                 };
37         };
39         reg_vcc1v8: vcc1v8 {
40                 compatible = "regulator-fixed";
41                 regulator-name = "vcc1v8";
42                 regulator-min-microvolt = <1800000>;
43                 regulator-max-microvolt = <1800000>;
44         };
47 &ac_power_supply {
48         status = "okay";
51 &battery_power_supply {
52         status = "okay";
55 &codec {
56         status = "okay";
59 &codec_analog {
60         status = "okay";
63 &dai {
64         status = "okay";
67 &de {
68         status = "okay";
71 &ehci0 {
72         status = "okay";
75 &ehci1 {
76         status = "okay";
79 &emac {
80         pinctrl-names = "default";
81         pinctrl-0 = <&rgmii_pins>;
82         phy-mode = "rgmii";
83         phy-handle = <&ext_rgmii_phy>;
84         phy-supply = <&reg_dc1sw>;
85         status = "okay";
88 &hdmi {
89         hvcc-supply = <&reg_dldo1>;
90         status = "okay";
93 &hdmi_out {
94         hdmi_out_con: endpoint {
95                 remote-endpoint = <&hdmi_con_in>;
96         };
99 &mdio {
100         ext_rgmii_phy: ethernet-phy@1 {
101                 compatible = "ethernet-phy-ieee802.3-c22";
102                 reg = <1>;
103         };
106 &mmc2 {
107         pinctrl-names = "default";
108         pinctrl-0 = <&mmc2_pins>;
109         vmmc-supply = <&reg_dcdc1>;
110         vqmmc-supply = <&reg_vcc1v8>;
111         bus-width = <8>;
112         non-removable;
113         cap-mmc-hw-reset;
114         status = "okay";
117 &ohci0 {
118         status = "okay";
121 &ohci1 {
122         status = "okay";
125 &reg_dc1sw {
126         /*
127          * Ethernet PHY needs 30ms to properly power up and some more
128          * to initialize. 100ms should be plenty of time to finish
129          * whole process.
130          */
131         regulator-enable-ramp-delay = <100000>;
132         regulator-name = "vcc-phy";
135 &reg_dldo1 {
136         regulator-min-microvolt = <3300000>;
137         regulator-max-microvolt = <3300000>;
138         regulator-name = "vcc-hdmi";
141 &reg_dldo2 {
142         regulator-min-microvolt = <3300000>;
143         regulator-max-microvolt = <3300000>;
144         regulator-name = "vcc-mipi";
147 &reg_dldo4 {
148         regulator-min-microvolt = <3300000>;
149         regulator-max-microvolt = <3300000>;
150         regulator-name = "vcc-wifi";
153 &simplefb_hdmi {
154         vcc-hdmi-supply = <&reg_dldo1>;
157 &sound {
158         simple-audio-card,aux-devs = <&codec_analog>;
159         simple-audio-card,widgets = "Microphone", "Microphone Jack",
160                                     "Headphone", "Headphone Jack";
161         simple-audio-card,routing =
162                         "Left DAC", "AIF1 Slot 0 Left",
163                         "Right DAC", "AIF1 Slot 0 Right",
164                         "Headphone Jack", "HP",
165                         "AIF1 Slot 0 Left ADC", "Left ADC",
166                         "AIF1 Slot 0 Right ADC", "Right ADC",
167                         "MIC2", "Microphone Jack";
168         status = "okay";
171 &uart0 {
172         pinctrl-names = "default";
173         pinctrl-0 = <&uart0_pb_pins>;
174         status = "okay";
177 /* On Pi-2 connector */
178 &uart2 {
179         pinctrl-names = "default";
180         pinctrl-0 = <&uart2_pins>;
181         status = "disabled";
184 /* On Euler connector */
185 &uart3 {
186         pinctrl-names = "default";
187         pinctrl-0 = <&uart3_pins>;
188         status = "disabled";
191 /* On Euler connector, RTS/CTS optional */
192 &uart4 {
193         pinctrl-names = "default";
194         pinctrl-0 = <&uart4_pins>;
195         status = "disabled";
198 &usb_otg {
199         dr_mode = "host";
200         status = "okay";
203 &usbphy {
204         status = "okay";