Merge tag 'u-boot-amlogic-20190423' of git://git.denx.de/u-boot-amlogic
[oweals/u-boot.git] / arch / arm / dts / stm32mp157c-dk2.dts
1 // 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>;
45                 status = "okay";
46
47                 port {
48                         panel_in: endpoint {
49                                 remote-endpoint = <&dsi_out>;
50                         };
51                 };
52         };
53 };
54
55 &ltdc {
56         status = "okay";
57
58         port {
59                 #address-cells = <1>;
60                 #size-cells = <0>;
61
62                 ltdc_ep1_out: endpoint@1 {
63                         reg = <1>;
64                         remote-endpoint = <&dsi_in>;
65                 };
66         };
67 };