blob: 7985b80967cadbd25a7f293bad91fe42804b4add [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
Patrick Delaunay1a4f57c2020-03-06 17:54:41 +01009#include "stm32mp157.dtsi"
10#include "stm32mp15xc.dtsi"
11#include "stm32mp15-pinctrl.dtsi"
12#include "stm32mp15xxac-pinctrl.dtsi"
13#include "stm32mp15xx-dkx.dtsi"
Patrice Chotard23661602019-02-12 16:50:38 +010014
15/ {
16 model = "STMicroelectronics STM32MP157C-DK2 Discovery Board";
17 compatible = "st,stm32mp157c-dk2", "st,stm32mp157";
Patrick Delaunay1a4f57c2020-03-06 17:54:41 +010018
19 aliases {
20 ethernet0 = &ethernet0;
21 serial0 = &uart4;
22 };
23
24 chosen {
25 stdout-path = "serial0:115200n8";
26 };
Patrice Chotard23661602019-02-12 16:50:38 +010027};
28
29&dsi {
30 #address-cells = <1>;
31 #size-cells = <0>;
32 status = "okay";
33 phy-dsi-supply = <&reg18>;
34
35 ports {
36 #address-cells = <1>;
37 #size-cells = <0>;
38
39 port@0 {
40 reg = <0>;
41 dsi_in: endpoint {
42 remote-endpoint = <&ltdc_ep1_out>;
43 };
44 };
45
46 port@1 {
47 reg = <1>;
48 dsi_out: endpoint {
49 remote-endpoint = <&panel_in>;
50 };
51 };
52 };
53
54 panel@0 {
55 compatible = "orisetech,otm8009a";
56 reg = <0>;
57 reset-gpios = <&gpioe 4 GPIO_ACTIVE_LOW>;
Patrick Delaunay35a54d42019-07-11 11:15:28 +020058 power-supply = <&v3v3>;
Patrice Chotard23661602019-02-12 16:50:38 +010059 status = "okay";
60
61 port {
62 panel_in: endpoint {
63 remote-endpoint = <&dsi_out>;
64 };
65 };
66 };
67};
68
Patrick Delaunayd35a5af2020-01-28 10:11:00 +010069&i2c1 {
70 touchscreen@38 {
71 compatible = "focaltech,ft6236";
72 reg = <0x38>;
73 interrupts = <2 2>;
74 interrupt-parent = <&gpiof>;
75 interrupt-controller;
76 touchscreen-size-x = <480>;
77 touchscreen-size-y = <800>;
78 status = "okay";
79 };
80};
81
Patrice Chotard23661602019-02-12 16:50:38 +010082&ltdc {
83 status = "okay";
84
85 port {
86 #address-cells = <1>;
87 #size-cells = <0>;
88
89 ltdc_ep1_out: endpoint@1 {
90 reg = <1>;
91 remote-endpoint = <&dsi_in>;
92 };
93 };
94};