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.
8 #include "sun50i-a64-sopine.dtsi"
11 model = "SoPine with baseboard";
12 compatible = "pine64,sopine-baseboard", "pine64,sopine",
13 "allwinner,sun50i-a64";
25 stdout-path = "serial0:115200n8";
29 compatible = "hdmi-connector";
33 hdmi_con_in: endpoint {
34 remote-endpoint = <&hdmi_out_con>;
40 compatible = "regulator-fixed";
41 regulator-name = "vcc1v8";
42 regulator-min-microvolt = <1800000>;
43 regulator-max-microvolt = <1800000>;
51 &battery_power_supply {
80 pinctrl-names = "default";
81 pinctrl-0 = <&rgmii_pins>;
83 phy-handle = <&ext_rgmii_phy>;
84 phy-supply = <®_dc1sw>;
89 hvcc-supply = <®_dldo1>;
94 hdmi_out_con: endpoint {
95 remote-endpoint = <&hdmi_con_in>;
100 ext_rgmii_phy: ethernet-phy@1 {
101 compatible = "ethernet-phy-ieee802.3-c22";
107 pinctrl-names = "default";
108 pinctrl-0 = <&mmc2_pins>;
109 vmmc-supply = <®_dcdc1>;
110 vqmmc-supply = <®_vcc1v8>;
127 * Ethernet PHY needs 30ms to properly power up and some more
128 * to initialize. 100ms should be plenty of time to finish
131 regulator-enable-ramp-delay = <100000>;
132 regulator-name = "vcc-phy";
136 regulator-min-microvolt = <3300000>;
137 regulator-max-microvolt = <3300000>;
138 regulator-name = "vcc-hdmi";
142 regulator-min-microvolt = <3300000>;
143 regulator-max-microvolt = <3300000>;
144 regulator-name = "vcc-mipi";
148 regulator-min-microvolt = <3300000>;
149 regulator-max-microvolt = <3300000>;
150 regulator-name = "vcc-wifi";
154 vcc-hdmi-supply = <®_dldo1>;
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";
172 pinctrl-names = "default";
173 pinctrl-0 = <&uart0_pb_pins>;
177 /* On Pi-2 connector */
179 pinctrl-names = "default";
180 pinctrl-0 = <&uart2_pins>;
184 /* On Euler connector */
186 pinctrl-names = "default";
187 pinctrl-0 = <&uart3_pins>;
191 /* On Euler connector, RTS/CTS optional */
193 pinctrl-names = "default";
194 pinctrl-0 = <&uart4_pins>;