xref: /freebsd/sys/contrib/device-tree/src/arm/nvidia/tegra30-asus-lvds-display.dtsi (revision 6580f5c38dd5b01aeeaed16b370f1a12423437f0)
1// SPDX-License-Identifier: GPL-2.0
2
3/* This dtsi file describes parts common for Asus T30 devices with a LVDS panel. */
4
5#include <dt-bindings/gpio/tegra-gpio.h>
6
7/ {
8	host1x@50000000 {
9		lcd: dc@54200000 {
10			rgb {
11				status = "okay";
12
13				port {
14					dpi_output: endpoint {
15						remote-endpoint = <&bridge_input>;
16						bus-width = <24>;
17					};
18				};
19			};
20		};
21	};
22
23	display-panel {
24		power-supply = <&vdd_pnl>;
25		ddc-i2c-bus = <&lcd_ddc>;
26		backlight = <&backlight>;
27
28		port {
29			panel_input: endpoint {
30				remote-endpoint = <&bridge_output>;
31			};
32		};
33	};
34
35	/* Texas Instruments SN75LVDS83B LVDS Transmitter */
36	lvds-encoder {
37		compatible = "ti,sn75lvds83", "lvds-encoder";
38
39		powerdown-gpios = <&gpio TEGRA_GPIO(N, 6) GPIO_ACTIVE_LOW>;
40		power-supply = <&vdd_3v3_sys>;
41
42		ports {
43			#address-cells = <1>;
44			#size-cells = <0>;
45
46			port@0 {
47				reg = <0>;
48
49				bridge_input: endpoint {
50					remote-endpoint = <&dpi_output>;
51				};
52			};
53
54			port@1 {
55				reg = <1>;
56
57				bridge_output: endpoint {
58					remote-endpoint = <&panel_input>;
59				};
60			};
61		};
62	};
63};
64