1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3 1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) 2 /* 2 /* 3 * Copyright (C) STMicroelectronics 2019 - All 3 * Copyright (C) STMicroelectronics 2019 - All Rights Reserved 4 * Author: Alexandre Torgue <alexandre.torgue@s 4 * Author: Alexandre Torgue <alexandre.torgue@st.com> for STMicroelectronics. 5 */ 5 */ 6 6 7 /dts-v1/; 7 /dts-v1/; 8 8 9 #include "stm32mp157.dtsi" 9 #include "stm32mp157.dtsi" 10 #include "stm32mp15xc.dtsi" 10 #include "stm32mp15xc.dtsi" 11 #include "stm32mp15-pinctrl.dtsi" 11 #include "stm32mp15-pinctrl.dtsi" 12 #include "stm32mp15xxac-pinctrl.dtsi" 12 #include "stm32mp15xxac-pinctrl.dtsi" 13 #include "stm32mp15xx-dkx.dtsi" 13 #include "stm32mp15xx-dkx.dtsi" 14 14 15 / { 15 / { 16 model = "STMicroelectronics STM32MP157 16 model = "STMicroelectronics STM32MP157C-DK2 Discovery Board"; 17 compatible = "st,stm32mp157c-dk2", "st 17 compatible = "st,stm32mp157c-dk2", "st,stm32mp157"; 18 18 19 aliases { 19 aliases { 20 ethernet0 = ðernet0; 20 ethernet0 = ðernet0; 21 serial3 = &usart2; 21 serial3 = &usart2; 22 }; 22 }; 23 23 24 chosen { 24 chosen { 25 stdout-path = "serial0:115200n 25 stdout-path = "serial0:115200n8"; 26 }; 26 }; 27 }; 27 }; 28 28 29 &cryp1 { 29 &cryp1 { 30 status = "okay"; 30 status = "okay"; 31 }; 31 }; 32 32 33 &dsi { 33 &dsi { 34 #address-cells = <1>; 34 #address-cells = <1>; 35 #size-cells = <0>; 35 #size-cells = <0>; 36 status = "okay"; 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 }; 37 57 38 panel@0 { 58 panel@0 { 39 compatible = "orisetech,otm800 59 compatible = "orisetech,otm8009a"; 40 reg = <0>; 60 reg = <0>; 41 reset-gpios = <&gpioe 4 GPIO_A 61 reset-gpios = <&gpioe 4 GPIO_ACTIVE_LOW>; 42 power-supply = <&v3v3>; 62 power-supply = <&v3v3>; 43 status = "okay"; 63 status = "okay"; 44 64 45 port { 65 port { 46 panel_in: endpoint { 66 panel_in: endpoint { 47 remote-endpoin 67 remote-endpoint = <&dsi_out>; 48 }; 68 }; 49 }; 69 }; 50 }; 70 }; 51 }; 71 }; 52 72 53 &dsi_in { << 54 remote-endpoint = <<dc_ep1_out>; << 55 }; << 56 << 57 &dsi_out { << 58 remote-endpoint = <&panel_in>; << 59 }; << 60 << 61 &i2c1 { 73 &i2c1 { 62 touchscreen@38 { 74 touchscreen@38 { 63 compatible = "focaltech,ft6236 75 compatible = "focaltech,ft6236"; 64 reg = <0x38>; 76 reg = <0x38>; 65 interrupts = <2 2>; 77 interrupts = <2 2>; 66 interrupt-parent = <&gpiof>; 78 interrupt-parent = <&gpiof>; >> 79 interrupt-controller; 67 touchscreen-size-x = <480>; 80 touchscreen-size-x = <480>; 68 touchscreen-size-y = <800>; 81 touchscreen-size-y = <800>; 69 status = "okay"; 82 status = "okay"; 70 }; 83 }; 71 }; 84 }; 72 85 73 <dc { 86 <dc { 74 status = "okay"; 87 status = "okay"; 75 88 76 port { 89 port { 77 #address-cells = <1>; 90 #address-cells = <1>; 78 #size-cells = <0>; 91 #size-cells = <0>; 79 92 80 ltdc_ep1_out: endpoint@1 { 93 ltdc_ep1_out: endpoint@1 { 81 reg = <1>; 94 reg = <1>; 82 remote-endpoint = <&ds 95 remote-endpoint = <&dsi_in>; 83 }; 96 }; 84 }; 97 }; 85 }; 98 }; 86 99 87 &usart2 { 100 &usart2 { 88 pinctrl-names = "default", "sleep", "i 101 pinctrl-names = "default", "sleep", "idle"; 89 pinctrl-0 = <&usart2_pins_c>; 102 pinctrl-0 = <&usart2_pins_c>; 90 pinctrl-1 = <&usart2_sleep_pins_c>; 103 pinctrl-1 = <&usart2_sleep_pins_c>; 91 pinctrl-2 = <&usart2_idle_pins_c>; 104 pinctrl-2 = <&usart2_idle_pins_c>; 92 status = "disabled"; 105 status = "disabled"; 93 }; 106 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.