blob: 020ea0f0e2f08ada5329ca282a9e3f576a160505 [file] [log] [blame]
Patrice Chotard00442d02019-02-12 16:50:38 +01001// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
2/*
3 * Copyright (C) STMicroelectronics 2019 - All Rights Reserved
4 * Author: Alexandre Torgue <alexandre.torgue@st.com> for STMicroelectronics.
5 */
6
7/dts-v1/;
8
9#include "stm32mp157a-dk1.dts"
10
11/ {
12 model = "STMicroelectronics STM32MP157C-DK2 Discovery Board";
13 compatible = "st,stm32mp157c-dk2", "st,stm32mp157";
14};
15
16&dsi {
17 #address-cells = <1>;
18 #size-cells = <0>;
19 status = "okay";
20 phy-dsi-supply = <&reg18>;
21
22 ports {
23 #address-cells = <1>;
24 #size-cells = <0>;
25
26 port@0 {
27 reg = <0>;
28 dsi_in: endpoint {
29 remote-endpoint = <&ltdc_ep1_out>;
30 };
31 };
32
33 port@1 {
34 reg = <1>;
35 dsi_out: endpoint {
36 remote-endpoint = <&panel_in>;
37 };
38 };
39 };
40
41 panel@0 {
42 compatible = "orisetech,otm8009a";
43 reg = <0>;
44 reset-gpios = <&gpioe 4 GPIO_ACTIVE_LOW>;
Patrick Delaunaya3705302019-07-11 11:15:28 +020045 power-supply = <&v3v3>;
Patrice Chotard00442d02019-02-12 16:50:38 +010046 status = "okay";
47
48 port {
49 panel_in: endpoint {
50 remote-endpoint = <&dsi_out>;
51 };
52 };
53 };
54};
55
56&ltdc {
57 status = "okay";
58
59 port {
60 #address-cells = <1>;
61 #size-cells = <0>;
62
63 ltdc_ep1_out: endpoint@1 {
64 reg = <1>;
65 remote-endpoint = <&dsi_in>;
66 };
67 };
68};