1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * Copyright (c) 2018 Amlogic, Inc. All rights reserved.
8 #include "meson-g12a.dtsi"
9 #include <dt-bindings/gpio/gpio.h>
10 #include <dt-bindings/gpio/meson-g12a-gpio.h>
13 compatible = "amlogic,u200", "amlogic,g12a";
14 model = "Amlogic Meson G12A U200 Development Board";
22 stdout-path = "serial0:115200n8";
26 compatible = "composite-video-connector";
29 cvbs_connector_in: endpoint {
30 remote-endpoint = <&cvbs_vdac_out>;
35 emmc_pwrseq: emmc-pwrseq {
36 compatible = "mmc-pwrseq-emmc";
37 reset-gpios = <&gpio BOOT_12 GPIO_ACTIVE_LOW>;
41 compatible = "hdmi-connector";
45 hdmi_connector_in: endpoint {
46 remote-endpoint = <&hdmi_tx_tmds_out>;
52 device_type = "memory";
53 reg = <0x0 0x0 0x0 0x40000000>;
56 flash_1v8: regulator-flash_1v8 {
57 compatible = "regulator-fixed";
58 regulator-name = "FLASH_1V8";
59 regulator-min-microvolt = <1800000>;
60 regulator-max-microvolt = <1800000>;
61 vin-supply = <&vcc_3v3>;
65 main_12v: regulator-main_12v {
66 compatible = "regulator-fixed";
67 regulator-name = "12V";
68 regulator-min-microvolt = <12000000>;
69 regulator-max-microvolt = <12000000>;
73 usb_pwr_en: regulator-usb_pwr_en {
74 compatible = "regulator-fixed";
75 regulator-name = "USB_PWR_EN";
76 regulator-min-microvolt = <5000000>;
77 regulator-max-microvolt = <5000000>;
78 vin-supply = <&vcc_5v>;
80 gpio = <&gpio GPIOH_6 GPIO_ACTIVE_HIGH>;
84 vcc_1v8: regulator-vcc_1v8 {
85 compatible = "regulator-fixed";
86 regulator-name = "VCC_1V8";
87 regulator-min-microvolt = <1800000>;
88 regulator-max-microvolt = <1800000>;
89 vin-supply = <&vcc_3v3>;
93 vcc_3v3: regulator-vcc_3v3 {
94 compatible = "regulator-fixed";
95 regulator-name = "VCC_3V3";
96 regulator-min-microvolt = <3300000>;
97 regulator-max-microvolt = <3300000>;
98 vin-supply = <&vddao_3v3>;
100 /* FIXME: actually controlled by VDDCPU_B_EN */
103 vcc_5v: regulator-vcc_5v {
104 compatible = "regulator-fixed";
105 regulator-name = "VCC_5V";
106 regulator-min-microvolt = <5000000>;
107 regulator-max-microvolt = <5000000>;
108 vin-supply = <&main_12v>;
110 gpio = <&gpio GPIOH_8 GPIO_OPEN_DRAIN>;
114 vddao_1v8: regulator-vddao_1v8 {
115 compatible = "regulator-fixed";
116 regulator-name = "VDDAO_1V8";
117 regulator-min-microvolt = <1800000>;
118 regulator-max-microvolt = <1800000>;
119 vin-supply = <&vddao_3v3>;
123 vddao_3v3: regulator-vddao_3v3 {
124 compatible = "regulator-fixed";
125 regulator-name = "VDDAO_3V3";
126 regulator-min-microvolt = <3300000>;
127 regulator-max-microvolt = <3300000>;
128 vin-supply = <&main_12v>;
132 vddcpu: regulator-vddcpu {
134 * MP8756GD Regulator.
136 compatible = "pwm-regulator";
138 regulator-name = "VDDCPU";
139 regulator-min-microvolt = <721000>;
140 regulator-max-microvolt = <1022000>;
142 vin-supply = <&main_12v>;
144 pwms = <&pwm_AO_cd 1 1250 0>;
145 pwm-dutycycle-range = <100 0>;
153 pinctrl-0 = <&cec_ao_a_h_pins>;
154 pinctrl-names = "default";
156 hdmi-phandle = <&hdmi_tx>;
160 pinctrl-0 = <&cec_ao_b_h_pins>;
161 pinctrl-names = "default";
163 hdmi-phandle = <&hdmi_tx>;
167 cpu-supply = <&vddcpu>;
168 operating-points-v2 = <&cpu_opp_table>;
169 clocks = <&clkc CLKID_CPU_CLK>;
170 clock-latency = <50000>;
174 cpu-supply = <&vddcpu>;
175 operating-points-v2 = <&cpu_opp_table>;
176 clocks = <&clkc CLKID_CPU_CLK>;
177 clock-latency = <50000>;
181 cpu-supply = <&vddcpu>;
182 operating-points-v2 = <&cpu_opp_table>;
183 clocks = <&clkc CLKID_CPU_CLK>;
184 clock-latency = <50000>;
188 cpu-supply = <&vddcpu>;
189 operating-points-v2 = <&cpu_opp_table>;
190 clocks = <&clkc CLKID_CPU_CLK>;
191 clock-latency = <50000>;
195 cvbs_vdac_out: endpoint {
196 remote-endpoint = <&cvbs_connector_in>;
202 phy-handle = <&internal_ephy>;
208 pinctrl-0 = <&hdmitx_hpd_pins>, <&hdmitx_ddc_pins>;
209 pinctrl-names = "default";
210 hdmi-supply = <&vcc_5v>;
214 hdmi_tx_tmds_out: endpoint {
215 remote-endpoint = <&hdmi_connector_in>;
221 pinctrl-0 = <&remote_input_ao_pins>;
222 pinctrl-names = "default";
228 pinctrl-0 = <&i2c0_sda_z0_pins>, <&i2c0_sck_z1_pins>;
229 pinctrl-names = "default";
235 pinctrl-0 = <&i2c2_sda_z_pins>, <&i2c2_sck_z_pins>;
236 pinctrl-names = "default";
242 pinctrl-0 = <&i2c3_sda_a_pins>, <&i2c3_sck_a_pins>;
243 pinctrl-names = "default";
247 pinctrl-0 = <&pwm_ao_d_e_pins>;
248 pinctrl-names = "default";
250 clock-names = "clkin1";
257 pinctrl-0 = <&sdcard_c_pins>;
258 pinctrl-1 = <&sdcard_clk_gate_c_pins>;
259 pinctrl-names = "default", "clk-gate";
263 max-frequency = <50000000>;
266 cd-gpios = <&gpio GPIOC_6 GPIO_ACTIVE_LOW>;
267 vmmc-supply = <&vddao_3v3>;
268 vqmmc-supply = <&vddao_3v3>;
274 pinctrl-0 = <&emmc_ctrl_pins>, <&emmc_data_8b_pins>, <&emmc_ds_pins>;
275 pinctrl-1 = <&emmc_clk_gate_pins>;
276 pinctrl-names = "default", "clk-gate";
282 max-frequency = <200000000>;
286 mmc-pwrseq = <&emmc_pwrseq>;
287 vmmc-supply = <&vcc_3v3>;
288 vqmmc-supply = <&flash_1v8>;
293 pinctrl-0 = <&uart_ao_a_pins>;
294 pinctrl-names = "default";
299 vbus-supply = <&usb_pwr_en>;
303 phy-supply = <&vcc_5v>;
307 phy-supply = <&vcc_5v>;