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 serial0 = &uart4; 22 serial1 = &usart3; 23 serial2 = &uart7; 24 serial3 = &usart2; 25 }; 26 27 chosen { 28 stdout-path = "serial0:115200n8"; 29 }; 30}; 31 32&bsec { 33 board_id: board_id@ec { 34 reg = <0xec 0x4>; 35 st,non-secure-otp; 36 }; 37 huk_otp: huk-otp@f0 { 38 reg = <0xf0 0x10>; 39 }; 40}; 41 42&dsi { 43 status = "disabled"; 44 phy-dsi-supply = <®18>; 45 46 ports { 47 port@0 { 48 reg = <0>; 49 dsi_in: endpoint { 50 remote-endpoint = <<dc_ep1_out>; 51 }; 52 }; 53 54 port@1 { 55 reg = <1>; 56 dsi_out: endpoint { 57 remote-endpoint = <&panel_in>; 58 }; 59 }; 60 }; 61 62 panel@0 { 63 compatible = "orisetech,otm8009a"; 64 reg = <0>; 65 reset-gpios = <&gpioe 4 GPIO_ACTIVE_LOW>; 66 power-supply = <&v3v3>; 67 status = "okay"; 68 69 port { 70 panel_in: endpoint { 71 remote-endpoint = <&dsi_out>; 72 }; 73 }; 74 }; 75}; 76 77&i2c1 { 78 touchscreen@38 { 79 compatible = "focaltech,ft6236"; 80 reg = <0x38>; 81 interrupts = <2 2>; 82 interrupt-parent = <&gpiof>; 83 interrupt-controller; 84 touchscreen-size-x = <480>; 85 touchscreen-size-y = <800>; 86 status = "okay"; 87 }; 88}; 89 90<dc { 91 status = "disabled"; 92 93 port { 94 ltdc_ep1_out: endpoint@1 { 95 reg = <1>; 96 remote-endpoint = <&dsi_in>; 97 }; 98 }; 99}; 100 101&usart2 { 102 pinctrl-names = "default", "sleep", "idle"; 103 pinctrl-0 = <&usart2_pins_c>; 104 pinctrl-1 = <&usart2_sleep_pins_c>; 105 pinctrl-2 = <&usart2_idle_pins_c>; 106 status = "disabled"; 107}; 108