115abee8aSCarlo Caione/*
215abee8aSCarlo Caione * Copyright (c) 2016 Endless Computers, Inc.
315abee8aSCarlo Caione * Author: Carlo Caione <carlo@endlessm.com>
415abee8aSCarlo Caione *
515abee8aSCarlo Caione * This file is dual-licensed: you can use it either under the terms
615abee8aSCarlo Caione * of the GPL or the X11 license, at your option. Note that this dual
715abee8aSCarlo Caione * licensing only applies to this file, and not this project as a
815abee8aSCarlo Caione * whole.
915abee8aSCarlo Caione *
1015abee8aSCarlo Caione *  a) This library is free software; you can redistribute it and/or
1115abee8aSCarlo Caione *     modify it under the terms of the GNU General Public License as
1215abee8aSCarlo Caione *     published by the Free Software Foundation; either version 2 of the
1315abee8aSCarlo Caione *     License, or (at your option) any later version.
1415abee8aSCarlo Caione *
1515abee8aSCarlo Caione *     This library is distributed in the hope that it will be useful,
1615abee8aSCarlo Caione *     but WITHOUT ANY WARRANTY; without even the implied warranty of
1715abee8aSCarlo Caione *     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
1815abee8aSCarlo Caione *     GNU General Public License for more details.
1915abee8aSCarlo Caione *
2015abee8aSCarlo Caione * Or, alternatively,
2115abee8aSCarlo Caione *
2215abee8aSCarlo Caione *  b) Permission is hereby granted, free of charge, to any person
2315abee8aSCarlo Caione *     obtaining a copy of this software and associated documentation
2415abee8aSCarlo Caione *     files (the "Software"), to deal in the Software without
2515abee8aSCarlo Caione *     restriction, including without limitation the rights to use,
2615abee8aSCarlo Caione *     copy, modify, merge, publish, distribute, sublicense, and/or
2715abee8aSCarlo Caione *     sell copies of the Software, and to permit persons to whom the
2815abee8aSCarlo Caione *     Software is furnished to do so, subject to the following
2915abee8aSCarlo Caione *     conditions:
3015abee8aSCarlo Caione *
3115abee8aSCarlo Caione *     The above copyright notice and this permission notice shall be
3215abee8aSCarlo Caione *     included in all copies or substantial portions of the Software.
3315abee8aSCarlo Caione *
3415abee8aSCarlo Caione *     THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
3515abee8aSCarlo Caione *     EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
3615abee8aSCarlo Caione *     OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
3715abee8aSCarlo Caione *     NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
3815abee8aSCarlo Caione *     HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
3915abee8aSCarlo Caione *     WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
4015abee8aSCarlo Caione *     FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
4115abee8aSCarlo Caione *     OTHER DEALINGS IN THE SOFTWARE.
4215abee8aSCarlo Caione */
4315abee8aSCarlo Caione
4415abee8aSCarlo Caione/dts-v1/;
4515abee8aSCarlo Caione
469ded9b0fSMartin Blumenstingl#include "meson-gxl-s905x-p212.dtsi"
4715abee8aSCarlo Caione
4815abee8aSCarlo Caione/ {
4915abee8aSCarlo Caione	compatible = "amlogic,p212", "amlogic,s905x", "amlogic,meson-gxl";
5015abee8aSCarlo Caione	model = "Amlogic Meson GXL (S905X) P212 Development Board";
5115abee8aSCarlo Caione
529ded9b0fSMartin Blumenstingl	cvbs-connector {
539ded9b0fSMartin Blumenstingl		compatible = "composite-video-connector";
549ded9b0fSMartin Blumenstingl
559ded9b0fSMartin Blumenstingl		port {
569ded9b0fSMartin Blumenstingl			cvbs_connector_in: endpoint {
579ded9b0fSMartin Blumenstingl				remote-endpoint = <&cvbs_vdac_out>;
589ded9b0fSMartin Blumenstingl			};
599ded9b0fSMartin Blumenstingl		};
609ded9b0fSMartin Blumenstingl	};
6127f87bd2SNeil Armstrong
6227f87bd2SNeil Armstrong	hdmi-connector {
6327f87bd2SNeil Armstrong		compatible = "hdmi-connector";
6427f87bd2SNeil Armstrong		type = "a";
6527f87bd2SNeil Armstrong
6627f87bd2SNeil Armstrong		port {
6727f87bd2SNeil Armstrong			hdmi_connector_in: endpoint {
6827f87bd2SNeil Armstrong				remote-endpoint = <&hdmi_tx_tmds_out>;
6927f87bd2SNeil Armstrong			};
7027f87bd2SNeil Armstrong		};
7127f87bd2SNeil Armstrong	};
7215abee8aSCarlo Caione};
7315abee8aSCarlo Caione
74b16c71c9SNeil Armstrong&cec_AO {
75b16c71c9SNeil Armstrong	status = "okay";
76b16c71c9SNeil Armstrong	pinctrl-0 = <&ao_cec_pins>;
77b16c71c9SNeil Armstrong	pinctrl-names = "default";
78b16c71c9SNeil Armstrong	hdmi-phandle = <&hdmi_tx>;
79b16c71c9SNeil Armstrong};
80b16c71c9SNeil Armstrong
819ded9b0fSMartin Blumenstingl&cvbs_vdac_port {
829ded9b0fSMartin Blumenstingl	cvbs_vdac_out: endpoint {
839ded9b0fSMartin Blumenstingl		remote-endpoint = <&cvbs_connector_in>;
8415abee8aSCarlo Caione	};
8515abee8aSCarlo Caione};
8615abee8aSCarlo Caione
8727f87bd2SNeil Armstrong&hdmi_tx {
8827f87bd2SNeil Armstrong	status = "okay";
8927f87bd2SNeil Armstrong	pinctrl-0 = <&hdmi_hpd_pins>, <&hdmi_i2c_pins>;
9027f87bd2SNeil Armstrong	pinctrl-names = "default";
9127f87bd2SNeil Armstrong};
9227f87bd2SNeil Armstrong
9327f87bd2SNeil Armstrong&hdmi_tx_tmds_port {
9427f87bd2SNeil Armstrong	hdmi_tx_tmds_out: endpoint {
9527f87bd2SNeil Armstrong		remote-endpoint = <&hdmi_connector_in>;
9627f87bd2SNeil Armstrong	};
9727f87bd2SNeil Armstrong};
9827f87bd2SNeil Armstrong
9915abee8aSCarlo Caione/* This UART is brought out to the DB9 connector */
10015abee8aSCarlo Caione&uart_AO {
10115abee8aSCarlo Caione	status = "okay";
10215abee8aSCarlo Caione};
103