1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * Copyright (c) 2016 Endless Computers, Inc.
4 * Author: Carlo Caione <carlo@endlessm.com>
9 #include "meson-gxl-s905x-p212.dtsi"
10 #include <dt-bindings/sound/meson-aiu.h>
13 compatible = "amlogic,p212", "amlogic,s905x", "amlogic,meson-gxl";
14 model = "Amlogic Meson GXL (S905X) P212 Development Board";
16 dio2133: analog-amplifier {
17 compatible = "simple-audio-amplifier";
18 sound-name-prefix = "AU2";
19 VCC-supply = <&hdmi_5v>;
20 enable-gpios = <&gpio GPIOH_5 GPIO_ACTIVE_HIGH>;
24 compatible = "composite-video-connector";
27 cvbs_connector_in: endpoint {
28 remote-endpoint = <&cvbs_vdac_out>;
34 compatible = "hdmi-connector";
38 hdmi_connector_in: endpoint {
39 remote-endpoint = <&hdmi_tx_tmds_out>;
45 compatible = "amlogic,gx-sound-card";
47 audio-aux-devs = <&dio2133>;
48 audio-widgets = "Line", "Lineout";
49 audio-routing = "AU2 INL", "ACODEC LOLN",
50 "AU2 INR", "ACODEC LORN",
51 "Lineout", "AU2 OUTL",
52 "Lineout", "AU2 OUTR";
53 assigned-clocks = <&clkc CLKID_MPLL0>,
56 assigned-clock-parents = <0>, <0>, <0>;
57 assigned-clock-rates = <294912000>,
61 sound-dai = <&aiu AIU_CPU CPU_I2S_FIFO>;
65 sound-dai = <&aiu AIU_CPU CPU_I2S_ENCODER>;
70 sound-dai = <&aiu AIU_HDMI CTRL_I2S>;
74 sound-dai = <&aiu AIU_ACODEC CTRL_I2S>;
79 sound-dai = <&aiu AIU_HDMI CTRL_OUT>;
82 sound-dai = <&hdmi_tx>;
87 sound-dai = <&aiu AIU_ACODEC CTRL_OUT>;
90 sound-dai = <&acodec>;
97 AVDD-supply = <&vddio_ao18>;
107 pinctrl-0 = <&ao_cec_pins>;
108 pinctrl-names = "default";
109 hdmi-phandle = <&hdmi_tx>;
113 cvbs_vdac_out: endpoint {
114 remote-endpoint = <&cvbs_connector_in>;
120 pinctrl-0 = <&hdmi_hpd_pins>, <&hdmi_i2c_pins>;
121 pinctrl-names = "default";
122 hdmi-supply = <&hdmi_5v>;
126 hdmi_tx_tmds_out: endpoint {
127 remote-endpoint = <&hdmi_connector_in>;
131 /* This UART is brought out to the DB9 connector */