Commit bf21e6e1 authored by Tomi Valkeinen's avatar Tomi Valkeinen Committed by Tony Lindgren
Browse files

ARM: dts: dra76-evm: add HDMI output



Add DRA76 EVM HDMI output for the base board.

Signed-off-by: default avatarTomi Valkeinen <tomi.valkeinen@ti.com>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent e42617b8
Loading
Loading
Loading
Loading
+66 −0
Original line number Diff line number Diff line
@@ -13,6 +13,13 @@
	model = "TI DRA762 EVM";
	compatible = "ti,dra76-evm", "ti,dra762", "ti,dra7";

	aliases {
		display0 = &hdmi0;

		sound0 = &sound0;
		sound1 = &hdmi;
	};

	memory@0 {
		device_type = "memory";
		reg = <0x0 0x80000000 0x0 0x80000000>;
@@ -116,6 +123,48 @@
		regulator-min-microvolt = <1800000>;
		regulator-max-microvolt = <1800000>;
	};

	hdmi0: connector {
		compatible = "hdmi-connector";
		label = "hdmi";

		type = "a";

		port {
			hdmi_connector_in: endpoint {
				remote-endpoint = <&tpd12s015_out>;
			};
		};
	};

	tpd12s015: encoder {
		compatible = "ti,tpd12s015";

		gpios = <&gpio7 30 GPIO_ACTIVE_HIGH>,   /* gpio7_30, CT CP HPD */
			<&gpio7 31 GPIO_ACTIVE_HIGH>,   /* gpio7_31, LS OE */
			<&gpio7 12 GPIO_ACTIVE_HIGH>;   /* gpio7_12/sp1_cs2, HPD */

		ports {
			#address-cells = <1>;
			#size-cells = <0>;

			port@0 {
				reg = <0>;

				tpd12s015_in: endpoint {
					remote-endpoint = <&hdmi_out>;
				};
			};

			port@1 {
				reg = <1>;

				tpd12s015_out: endpoint {
					remote-endpoint = <&hdmi_connector_in>;
				};
			};
		};
	};
};

&i2c1 {
@@ -411,6 +460,23 @@
	phy-supply = <&ldo3_reg>;
};

&dss {
	status = "ok";
	vdda_video-supply = <&ldo5_reg>;
};

&hdmi {
	status = "ok";

	vdda-supply = <&ldo1_reg>;

	port {
		hdmi_out: endpoint {
			remote-endpoint = <&tpd12s015_in>;
		};
	};
};

&qspi {
	spi-max-frequency = <96000000>;
	m25p80@0 {