Commit 5aebb5f2 authored by Martin Blumenstingl's avatar Martin Blumenstingl
Browse files

ARM: dts: meson8b: add the HDMI controller - WiP

parent 6fe8780b
Loading
Loading
Loading
Loading
+64 −0
Original line number Diff line number Diff line
@@ -277,6 +277,36 @@
			#cooling-cells = <2>; /* min followed by max */
		};

		hdmi_tx: hdmi-tx@42000 {
			compatible = "amlogic,meson8b-hdmi-tx";
			reg = <0x42000 0xc>;
			interrupts = <GIC_SPI 57 IRQ_TYPE_EDGE_RISING>;
			phys = <&hdmi_tx_phy>;
			phy-names = "hdmi";
			clocks = <&clkc CLKID_HDMI_PCLK>,
				 <&clkc CLKID_HDMI_SYS>;
			clock-names = "pclk", "sys";
			sound-name-prefix = "HDMITX";
			#sound-dai-cells = <0>;
			#address-cells = <1>;
			#size-cells = <0>;
			status = "disabled";

			/* VPU VENC Input */
			hdmi_tx_venc_port: port@0 {
				reg = <0>;

				hdmi_tx_in: endpoint {
					remote-endpoint = <&hdmi_tx_out>;
				};
			};

			/* TMDS Output */
			hdmi_tx_tmds_port: port@1 {
				reg = <1>;
			};
		};

		vpu: vpu@100000 {
			compatible = "amlogic,meson8b-vpu";

@@ -334,10 +364,22 @@
			#address-cells = <1>;
			#size-cells = <0>;

			#sound-dai-cells = <0>;
			sound-name-prefix = "HDMITX";

			/* CVBS VDAC output port */
			cvbs_vdac_port: port@0 {
				reg = <0>;
			};

			/* HDMI-TX output port */
			hdmi_tx_port: port@1 {
				reg = <1>;

				hdmi_tx_out: endpoint {
					remote-endpoint = <&hdmi_tx_in>;
				};
			};
		};
	};
}; /* end of / */
@@ -463,6 +505,22 @@
			};
		};

		hdmi_hpd_pins: hdmi-hpd {
			mux {
				groups = "hdmi_hpd";
				function = "hdmi";
				bias-disable;
			};
		};

		hdmi_i2c_pins: hdmi-i2c {
			mux {
				groups = "hdmi_sda", "hdmi_scl";
				function = "hdmi";
				bias-disable;
			};
		};

		i2c_a_pins: i2c-a {
			mux {
				groups = "i2c_sda_a", "i2c_sck_a";
@@ -584,6 +642,12 @@
		#reset-cells = <1>;
	};

	hdmi_tx_phy: phy {
		compatible = "amlogic,meson8b-hdmi-tx-phy";
		clocks = <&clkc CLKID_HDMI_PLL_HDMI_OUT>;
		#phy-cells = <0>;
	};

	pwrc: power-controller {
		compatible = "amlogic,meson8b-pwrc";
		#power-domain-cells = <1>;