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 Solutons(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";
17	compatible = "engicam,icore-stm32mp1-ctouch2",
18		     "engicam,icore-stm32mp1", "st,stm32mp157";
19
20	aliases {
21		serial0 = &uart4;
22	};
23
24	chosen {
25		stdout-path = "serial0:115200n8";
26	};
27};
28
29&sdmmc1 {
30	bus-width = <4>;
31	disable-wp;
32	pinctrl-names = "default", "opendrain", "sleep";
33	pinctrl-0 = <&sdmmc1_b4_pins_a>;
34	pinctrl-1 = <&sdmmc1_b4_od_pins_a>;
35	pinctrl-2 = <&sdmmc1_b4_sleep_pins_a>;
36	st,neg-edge;
37	vmmc-supply = <&v3v3>;
38	status = "okay";
39};
40
41&uart4 {
42	pinctrl-names = "default", "sleep", "idle";
43	pinctrl-0 = <&uart4_pins_a>;
44	pinctrl-1 = <&uart4_sleep_pins_a>;
45	pinctrl-2 = <&uart4_idle_pins_a>;
46	status = "okay";
47};
48