1*f126890aSEmmanuel Vadot// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) 2*f126890aSEmmanuel Vadot/* 3*f126890aSEmmanuel Vadot * Copyright (c) STMicroelectronics 2019 - All Rights Reserved 4*f126890aSEmmanuel Vadot * Copyright (c) 2020 Engicam srl 5*f126890aSEmmanuel Vadot * Copyright (c) 2020 Amarula Solutions(India) 6*f126890aSEmmanuel Vadot */ 7*f126890aSEmmanuel Vadot 8*f126890aSEmmanuel Vadot/dts-v1/; 9*f126890aSEmmanuel Vadot#include "stm32mp157.dtsi" 10*f126890aSEmmanuel Vadot#include "stm32mp157a-microgea-stm32mp1.dtsi" 11*f126890aSEmmanuel Vadot#include "stm32mp15-pinctrl.dtsi" 12*f126890aSEmmanuel Vadot#include "stm32mp15xxaa-pinctrl.dtsi" 13*f126890aSEmmanuel Vadot#include <dt-bindings/gpio/gpio.h> 14*f126890aSEmmanuel Vadot 15*f126890aSEmmanuel Vadot/ { 16*f126890aSEmmanuel Vadot model = "Engicam MicroGEA STM32MP1 MicroDev 2.0 Carrier Board"; 17*f126890aSEmmanuel Vadot compatible = "engicam,microgea-stm32mp1-microdev2.0", 18*f126890aSEmmanuel Vadot "engicam,microgea-stm32mp1", "st,stm32mp157"; 19*f126890aSEmmanuel Vadot 20*f126890aSEmmanuel Vadot aliases { 21*f126890aSEmmanuel Vadot serial0 = &uart4; 22*f126890aSEmmanuel Vadot serial1 = &uart8; 23*f126890aSEmmanuel Vadot }; 24*f126890aSEmmanuel Vadot 25*f126890aSEmmanuel Vadot chosen { 26*f126890aSEmmanuel Vadot stdout-path = "serial0:115200n8"; 27*f126890aSEmmanuel Vadot }; 28*f126890aSEmmanuel Vadot}; 29*f126890aSEmmanuel Vadot 30*f126890aSEmmanuel Vadot&sdmmc1 { 31*f126890aSEmmanuel Vadot bus-width = <4>; 32*f126890aSEmmanuel Vadot disable-wp; 33*f126890aSEmmanuel Vadot pinctrl-names = "default", "opendrain", "sleep"; 34*f126890aSEmmanuel Vadot pinctrl-0 = <&sdmmc1_b4_pins_a>; 35*f126890aSEmmanuel Vadot pinctrl-1 = <&sdmmc1_b4_od_pins_a>; 36*f126890aSEmmanuel Vadot pinctrl-2 = <&sdmmc1_b4_sleep_pins_a>; 37*f126890aSEmmanuel Vadot st,neg-edge; 38*f126890aSEmmanuel Vadot vmmc-supply = <&vdd>; 39*f126890aSEmmanuel Vadot status = "okay"; 40*f126890aSEmmanuel Vadot}; 41*f126890aSEmmanuel Vadot 42*f126890aSEmmanuel Vadot&uart4 { 43*f126890aSEmmanuel Vadot pinctrl-names = "default", "sleep", "idle"; 44*f126890aSEmmanuel Vadot pinctrl-0 = <&uart4_pins_a>; 45*f126890aSEmmanuel Vadot pinctrl-1 = <&uart4_sleep_pins_a>; 46*f126890aSEmmanuel Vadot pinctrl-2 = <&uart4_idle_pins_a>; 47*f126890aSEmmanuel Vadot /delete-property/dmas; 48*f126890aSEmmanuel Vadot /delete-property/dma-names; 49*f126890aSEmmanuel Vadot status = "okay"; 50*f126890aSEmmanuel Vadot}; 51*f126890aSEmmanuel Vadot 52*f126890aSEmmanuel Vadot/* J31: RS323 */ 53*f126890aSEmmanuel Vadot&uart8 { 54*f126890aSEmmanuel Vadot pinctrl-names = "default"; 55*f126890aSEmmanuel Vadot pinctrl-0 = <&uart8_pins_a>; 56*f126890aSEmmanuel Vadot /delete-property/dmas; 57*f126890aSEmmanuel Vadot /delete-property/dma-names; 58*f126890aSEmmanuel Vadot status = "okay"; 59*f126890aSEmmanuel Vadot}; 60