blob: d26adcbeba33ea235495eefab6e72abf1cb9d82d [file] [log] [blame]
Patrice Chotard23661602019-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 Delaunay35a54d42019-07-11 11:15:28 +020045 power-supply = <&v3v3>;
Patrice Chotard23661602019-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
Patrick Delaunayd35a5af2020-01-28 10:11:00 +010056&i2c1 {
57 touchscreen@38 {
58 compatible = "focaltech,ft6236";
59 reg = <0x38>;
60 interrupts = <2 2>;
61 interrupt-parent = <&gpiof>;
62 interrupt-controller;
63 touchscreen-size-x = <480>;
64 touchscreen-size-y = <800>;
65 status = "okay";
66 };
67};
68
Patrice Chotard23661602019-02-12 16:50:38 +010069&ltdc {
70 status = "okay";
71
72 port {
73 #address-cells = <1>;
74 #size-cells = <0>;
75
76 ltdc_ep1_out: endpoint@1 {
77 reg = <1>;
78 remote-endpoint = <&dsi_in>;
79 };
80 };
81};