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";
20 stdout-path = "serial0:115200n8";
23 device_type = "memory";
24 reg = <0x0 0x0 0x0 0x40000000>;
28 compatible = "composite-video-connector";
31 cvbs_connector_in: endpoint {
32 remote-endpoint = <&cvbs_vdac_out>;
37 flash_1v8: regulator-flash_1v8 {
38 compatible = "regulator-fixed";
39 regulator-name = "FLASH_1V8";
40 regulator-min-microvolt = <1800000>;
41 regulator-max-microvolt = <1800000>;
42 vin-supply = <&vcc_3v3>;
47 compatible = "hdmi-connector";
51 hdmi_connector_in: endpoint {
52 remote-endpoint = <&hdmi_tx_tmds_out>;
57 main_12v: regulator-main_12v {
58 compatible = "regulator-fixed";
59 regulator-name = "12V";
60 regulator-min-microvolt = <12000000>;
61 regulator-max-microvolt = <12000000>;
65 vcc_1v8: regulator-vcc_1v8 {
66 compatible = "regulator-fixed";
67 regulator-name = "VCC_1V8";
68 regulator-min-microvolt = <1800000>;
69 regulator-max-microvolt = <1800000>;
70 vin-supply = <&vcc_3v3>;
74 vcc_3v3: regulator-vcc_3v3 {
75 compatible = "regulator-fixed";
76 regulator-name = "VCC_3V3";
77 regulator-min-microvolt = <3300000>;
78 regulator-max-microvolt = <3300000>;
79 vin-supply = <&vddao_3v3>;
81 /* FIXME: actually controlled by VDDCPU_B_EN */
84 vcc_5v: regulator-vcc_5v {
85 compatible = "regulator-fixed";
86 regulator-name = "VCC_5V";
87 regulator-min-microvolt = <5000000>;
88 regulator-max-microvolt = <5000000>;
89 vin-supply = <&main_12v>;
91 gpio = <&gpio GPIOH_8 GPIO_OPEN_DRAIN>;
95 usb_pwr_en: regulator-usb_pwr_en {
96 compatible = "regulator-fixed";
97 regulator-name = "USB_PWR_EN";
98 regulator-min-microvolt = <5000000>;
99 regulator-max-microvolt = <5000000>;
100 vin-supply = <&vcc_5v>;
102 gpio = <&gpio GPIOH_6 GPIO_ACTIVE_HIGH>;
106 vddao_1v8: regulator-vddao_1v8 {
107 compatible = "regulator-fixed";
108 regulator-name = "VDDAO_1V8";
109 regulator-min-microvolt = <1800000>;
110 regulator-max-microvolt = <1800000>;
111 vin-supply = <&vddao_3v3>;
115 vddao_3v3: regulator-vddao_3v3 {
116 compatible = "regulator-fixed";
117 regulator-name = "VDDAO_3V3";
118 regulator-min-microvolt = <3300000>;
119 regulator-max-microvolt = <3300000>;
120 vin-supply = <&main_12v>;
127 pinctrl-0 = <&cec_ao_a_h_pins>;
128 pinctrl-names = "default";
130 hdmi-phandle = <&hdmi_tx>;
134 pinctrl-0 = <&cec_ao_b_h_pins>;
135 pinctrl-names = "default";
137 hdmi-phandle = <&hdmi_tx>;
141 cvbs_vdac_out: endpoint {
142 remote-endpoint = <&cvbs_connector_in>;
148 pinctrl-0 = <&hdmitx_hpd_pins>, <&hdmitx_ddc_pins>;
149 pinctrl-names = "default";
150 hdmi-supply = <&vcc_5v>;
154 hdmi_tx_tmds_out: endpoint {
155 remote-endpoint = <&hdmi_connector_in>;
161 pinctrl-0 = <&uart_ao_a_pins>;
162 pinctrl-names = "default";
167 vbus-supply = <&usb_pwr_en>;
171 phy-supply = <&vcc_5v>;
175 phy-supply = <&vcc_5v>;