1// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2/*
3 * Copyright (c) 2016 Endless Computers, Inc.
4 * Author: Carlo Caione <carlo@endlessm.com>
5 */
6
7/dts-v1/;
8
9#include "meson-gxl-s905x-p212.dtsi"
10
11/ {
12	compatible = "amlogic,p212", "amlogic,s905x", "amlogic,meson-gxl";
13	model = "Amlogic Meson GXL (S905X) P212 Development Board";
14
15	cvbs-connector {
16		compatible = "composite-video-connector";
17
18		port {
19			cvbs_connector_in: endpoint {
20				remote-endpoint = <&cvbs_vdac_out>;
21			};
22		};
23	};
24
25	hdmi-connector {
26		compatible = "hdmi-connector";
27		type = "a";
28
29		port {
30			hdmi_connector_in: endpoint {
31				remote-endpoint = <&hdmi_tx_tmds_out>;
32			};
33		};
34	};
35};
36
37&cec_AO {
38	status = "okay";
39	pinctrl-0 = <&ao_cec_pins>;
40	pinctrl-names = "default";
41	hdmi-phandle = <&hdmi_tx>;
42};
43
44&cvbs_vdac_port {
45	cvbs_vdac_out: endpoint {
46		remote-endpoint = <&cvbs_connector_in>;
47	};
48};
49
50&hdmi_tx {
51	status = "okay";
52	pinctrl-0 = <&hdmi_hpd_pins>, <&hdmi_i2c_pins>;
53	pinctrl-names = "default";
54	hdmi-supply = <&hdmi_5v>;
55};
56
57&hdmi_tx_tmds_port {
58	hdmi_tx_tmds_out: endpoint {
59		remote-endpoint = <&hdmi_connector_in>;
60	};
61};
62
63/* This UART is brought out to the DB9 connector */
64&uart_AO {
65	status = "okay";
66};
67