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