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 "stm32mp157.dtsi" 10#include "stm32mp15xc.dtsi" 11#include "stm32mp15-pinctrl.dtsi" 12#include "stm32mp15xxac-pinctrl.dtsi" 13#include "stm32mp15xx-dkx.dtsi" 14 15/ { 16 model = "STMicroelectronics STM32MP157C-DK2 Discovery Board"; 17 compatible = "st,stm32mp157c-dk2", "st,stm32mp157"; 18 19 aliases { 20 ethernet0 = ðernet0; 21 serial3 = &usart2; 22 }; 23 24 chosen { 25 stdout-path = "serial0:115200n8"; 26 }; 27}; 28 29&cryp1 { 30 status = "okay"; 31}; 32 33&dsi { 34 #address-cells = <1>; 35 #size-cells = <0>; 36 status = "okay"; 37 phy-dsi-supply = <®18>; 38 39 ports { 40 #address-cells = <1>; 41 #size-cells = <0>; 42 43 port@0 { 44 reg = <0>; 45 dsi_in: endpoint { 46 remote-endpoint = <<dc_ep1_out>; 47 }; 48 }; 49 50 port@1 { 51 reg = <1>; 52 dsi_out: endpoint { 53 remote-endpoint = <&panel_in>; 54 }; 55 }; 56 }; 57 58 panel@0 { 59 compatible = "orisetech,otm8009a"; 60 reg = <0>; 61 reset-gpios = <&gpioe 4 GPIO_ACTIVE_LOW>; 62 power-supply = <&v3v3>; 63 status = "okay"; 64 65 port { 66 panel_in: endpoint { 67 remote-endpoint = <&dsi_out>; 68 }; 69 }; 70 }; 71}; 72 73&i2c1 { 74 touchscreen@38 { 75 compatible = "focaltech,ft6236"; 76 reg = <0x38>; 77 interrupts = <2 2>; 78 interrupt-parent = <&gpiof>; 79 interrupt-controller; 80 touchscreen-size-x = <480>; 81 touchscreen-size-y = <800>; 82 status = "okay"; 83 }; 84}; 85 86<dc { 87 status = "okay"; 88 89 port { 90 #address-cells = <1>; 91 #size-cells = <0>; 92 93 ltdc_ep1_out: endpoint@1 { 94 reg = <1>; 95 remote-endpoint = <&dsi_in>; 96 }; 97 }; 98}; 99 100&usart2 { 101 pinctrl-names = "default", "sleep", "idle"; 102 pinctrl-0 = <&usart2_pins_c>; 103 pinctrl-1 = <&usart2_sleep_pins_c>; 104 pinctrl-2 = <&usart2_idle_pins_c>; 105 status = "disabled"; 106}; 107