diff options
author | Marcel Ziswiler <marcel.ziswiler@toradex.com> | 2020-06-20 02:40:36 +0200 |
---|---|---|
committer | Marcel Ziswiler <marcel.ziswiler@toradex.com> | 2020-08-27 02:28:34 +0200 |
commit | f4ae60f83d50473851e24c76e1c40bbecf877320 (patch) | |
tree | 97af094198c8eb11a23404a22e1fe6a5c8cf1260 | |
parent | ee6091f54eae01f2c6c98e898e49603e5336ea8b (diff) |
overlays: verdin-imx8mm_lt8912_overlay: verdin dsi to hdmi adapter
Add device tree overlay for Verdin DSI to HDMI Adapter orderable at
Toradex.
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
-rw-r--r-- | overlays/verdin-imx8mm_lt8912_overlay.dts | 69 |
1 files changed, 69 insertions, 0 deletions
diff --git a/overlays/verdin-imx8mm_lt8912_overlay.dts b/overlays/verdin-imx8mm_lt8912_overlay.dts new file mode 100644 index 0000000..e1b16a2 --- /dev/null +++ b/overlays/verdin-imx8mm_lt8912_overlay.dts @@ -0,0 +1,69 @@ +// Verdin DSI to HDMI Adapter orderable at Toradex. + +/dts-v1/; +/plugin/; + +#include <dt-bindings/gpio/gpio.h> + +/ { + compatible = "toradex,verdin-imx8mm"; +}; + +&{/soc@0/bus@32c00000/display-subsystem} { + status = "okay"; +}; + +/* Verdin I2C_2_DSI */ +&i2c2 { + clock-frequency = <10000>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_i2c2>; + status = "okay"; +}; + +/* Verdin I2C_1 */ +&i2c4 { + #address-cells = <1>; + #size-cells = <0>; + status = "okay"; + + hdmi@48 { + compatible = "lontium,lt8912"; + ddc-i2c-bus = <&i2c2>; + hpd-gpios = <&gpio3 15 GPIO_ACTIVE_HIGH>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_gpio_hpd>, <&pinctrl_gpio1>, + <&pinctrl_gpio2>; + reg = <0x48>; + reset-gpios = <&gpio5 5 GPIO_ACTIVE_LOW>; + + port { + lt8912_1_in: endpoint { + remote-endpoint = <&mipi_dsi_bridge1_out>; + }; + }; + }; +}; + +&lcdif { + status = "okay"; +}; + +&mipi_dsi { + #address-cells = <1>; + #size-cells = <0>; + status = "okay"; + + port@1 { + reg = <1>; + + mipi_dsi_bridge1_out: endpoint { + remote-endpoint = <<8912_1_in>; + attach-bridge; + }; + }; +}; + +&gpu { + status = "okay"; +}; |