Commit a4ff9aed authored by Kuninori Morimoto's avatar Kuninori Morimoto Committed by Simon Horman
Browse files

arm64: dts: renesas: r8a7795-salvator-x: enable HDMI sound

parent d134635f
Loading
Loading
Loading
Loading
+46 −0
Original line number Original line Diff line number Diff line
@@ -56,6 +56,12 @@
	status = "okay";
	status = "okay";
};
};


&sound_card {
	dais = <&rsnd_port0	/* ak4613 */
		&rsnd_port1	/* HDMI0  */
		&rsnd_port2>;	/* HDMI1  */
};

&hdmi0 {
&hdmi0 {
	status = "okay";
	status = "okay";


@@ -66,6 +72,12 @@
				remote-endpoint = <&hdmi0_con>;
				remote-endpoint = <&hdmi0_con>;
			};
			};
		};
		};
		port@2 {
			reg = <2>;
			dw_hdmi0_snd_in: endpoint {
				remote-endpoint = <&rsnd_endpoint1>;
			};
		};
	};
	};
};
};


@@ -83,6 +95,12 @@
				remote-endpoint = <&hdmi1_con>;
				remote-endpoint = <&hdmi1_con>;
			};
			};
		};
		};
		port@2 {
			reg = <2>;
			dw_hdmi1_snd_in: endpoint {
				remote-endpoint = <&rsnd_endpoint2>;
			};
		};
	};
	};
};
};


@@ -94,6 +112,34 @@
	status = "okay";
	status = "okay";
};
};


&rcar_sound {
	ports {
		/* rsnd_port0 is on salvator-common */
		rsnd_port1: port@1 {
			rsnd_endpoint1: endpoint {
				remote-endpoint = <&dw_hdmi0_snd_in>;

				dai-format = "i2s";
				bitclock-master = <&rsnd_endpoint1>;
				frame-master = <&rsnd_endpoint1>;

				playback = <&ssi2>;
			};
		};
		rsnd_port2: port@2 {
			rsnd_endpoint2: endpoint {
				remote-endpoint = <&dw_hdmi1_snd_in>;

				dai-format = "i2s";
				bitclock-master = <&rsnd_endpoint2>;
				frame-master = <&rsnd_endpoint2>;

				playback = <&ssi3>;
			};
		};
	};
};

&pfc {
&pfc {
	usb2_pins: usb2 {
	usb2_pins: usb2 {
		groups = "usb2";
		groups = "usb2";