1// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) 2/* 3 * Copyright (c) STMicroelectronics 2019 - All Rights Reserved 4 * Copyright (c) 2020 Engicam srl 5 * Copyright (c) 2020 Amarula Solutions(India) 6 */ 7 8/dts-v1/; 9#include "stm32mp157.dtsi" 10#include "stm32mp157a-icore-stm32mp1.dtsi" 11#include "stm32mp15-pinctrl.dtsi" 12#include "stm32mp15xxaa-pinctrl.dtsi" 13#include <dt-bindings/gpio/gpio.h> 14 15/ { 16 model = "Engicam i.Core STM32MP1 C.TOUCH 2.0 10.1\" Open Frame"; 17 compatible = "engicam,icore-stm32mp1-ctouch2-of10", 18 "engicam,icore-stm32mp1", "st,stm32mp157"; 19 20 aliases { 21 serial0 = &uart4; 22 }; 23 24 backlight: backlight { 25 compatible = "gpio-backlight"; 26 gpios = <&gpiod 13 GPIO_ACTIVE_HIGH>; 27 default-on; 28 }; 29 30 chosen { 31 stdout-path = "serial0:115200n8"; 32 }; 33 34 panel { 35 compatible = "ampire,am-1280800n3tzqw-t00h"; 36 backlight = <&backlight>; 37 power-supply = <&v3v3>; 38 39 port { 40 panel_in_lvds: endpoint { 41 remote-endpoint = <&bridge_out>; 42 }; 43 }; 44 }; 45}; 46 47&dsi { 48 status = "okay"; 49 phy-dsi-supply = <®18>; 50 51 ports { 52 #address-cells = <1>; 53 #size-cells = <0>; 54 55 port@0 { 56 reg = <0>; 57 dsi_in: endpoint { 58 remote-endpoint = <<dc_ep0_out>; 59 }; 60 }; 61 62 port@1 { 63 reg = <1>; 64 dsi_out: endpoint { 65 remote-endpoint = <&bridge_in>; 66 }; 67 }; 68 }; 69}; 70 71&i2c6 { 72 i2c-scl-falling-time-ns = <20>; 73 i2c-scl-rising-time-ns = <185>; 74 pinctrl-names = "default", "sleep"; 75 pinctrl-0 = <&i2c6_pins_a>; 76 pinctrl-1 = <&i2c6_sleep_pins_a>; 77 status = "okay"; 78 79 bridge@2c { 80 compatible = "ti,sn65dsi84"; 81 reg = <0x2c>; 82 enable-gpios = <&gpiof 15 GPIO_ACTIVE_HIGH>; 83 84 ports { 85 #address-cells = <1>; 86 #size-cells = <0>; 87 88 port@0 { 89 reg = <0>; 90 bridge_in: endpoint { 91 remote-endpoint = <&dsi_out>; 92 data-lanes = <1 2>; 93 }; 94 }; 95 96 port@2 { 97 reg = <2>; 98 bridge_out: endpoint { 99 remote-endpoint = <&panel_in_lvds>; 100 }; 101 }; 102 }; 103 }; 104}; 105 106<dc { 107 status = "okay"; 108 109 port { 110 ltdc_ep0_out: endpoint { 111 remote-endpoint = <&dsi_in>; 112 }; 113 }; 114}; 115 116&sdmmc1 { 117 bus-width = <4>; 118 disable-wp; 119 pinctrl-names = "default", "opendrain", "sleep"; 120 pinctrl-0 = <&sdmmc1_b4_pins_a>; 121 pinctrl-1 = <&sdmmc1_b4_od_pins_a>; 122 pinctrl-2 = <&sdmmc1_b4_sleep_pins_a>; 123 st,neg-edge; 124 vmmc-supply = <&v3v3>; 125 status = "okay"; 126}; 127 128&uart4 { 129 pinctrl-names = "default", "sleep", "idle"; 130 pinctrl-0 = <&uart4_pins_a>; 131 pinctrl-1 = <&uart4_sleep_pins_a>; 132 pinctrl-2 = <&uart4_idle_pins_a>; 133 status = "okay"; 134}; 135