Commit 5a6bca1f authored by Kieran Bingham's avatar Kieran Bingham Committed by Geert Uytterhoeven
Browse files

arm64: dts: renesas: falcon-cpu: Add DSI display output

parent b2db714b
Loading
Loading
Loading
Loading
+79 −0
Original line number Diff line number Diff line
@@ -98,6 +98,27 @@ memory@700000000 {
		reg = <0x7 0x00000000 0x0 0x80000000>;
	};

	mini-dp-con {
		compatible = "dp-connector";
		label = "CN5";
		type = "mini";

		port {
			mini_dp_con_in: endpoint {
				remote-endpoint = <&sn65dsi86_out>;
			};
		};
	};

	reg_1p2v: regulator-1p2v {
		compatible = "regulator-fixed";
		regulator-name = "fixed-1.2V";
		regulator-min-microvolt = <1200000>;
		regulator-max-microvolt = <1200000>;
		regulator-boot-on;
		regulator-always-on;
	};

	reg_1p8v: regulator-1p8v {
		compatible = "regulator-fixed";
		regulator-name = "fixed-1.8V";
@@ -115,6 +136,29 @@ reg_3p3v: regulator-3p3v {
		regulator-boot-on;
		regulator-always-on;
	};

	sn65dsi86_refclk: clk-x6 {
		compatible = "fixed-clock";
		#clock-cells = <0>;
		clock-frequency = <38400000>;
	};
};

&dsi0 {
	status = "okay";

	ports {
		port@1 {
			dsi0_out: endpoint {
				remote-endpoint = <&sn65dsi86_in>;
				data-lanes = <1 2 3 4>;
			};
		};
	};
};

&du {
	status = "okay";
};

&extal_clk {
@@ -146,6 +190,41 @@ &i2c1 {

	status = "okay";
	clock-frequency = <400000>;

	bridge@2c {
		compatible = "ti,sn65dsi86";
		reg = <0x2c>;

		clocks = <&sn65dsi86_refclk>;
		clock-names = "refclk";

		interrupt-parent = <&gpio1>;
		interrupts = <24 IRQ_TYPE_LEVEL_HIGH>;

		vccio-supply = <&reg_1p8v>;
		vpll-supply = <&reg_1p8v>;
		vcca-supply = <&reg_1p2v>;
		vcc-supply = <&reg_1p2v>;

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

			port@0 {
				reg = <0>;
				sn65dsi86_in: endpoint {
					remote-endpoint = <&dsi0_out>;
				};
			};

			port@1 {
				reg = <1>;
				sn65dsi86_out: endpoint {
					remote-endpoint = <&mini_dp_con_in>;
				};
			};
		};
	};
};

&i2c6 {