0001 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
0002 /*
0003 * Copyright (c) STMicroelectronics 2019 - All Rights Reserved
0004 * Copyright (c) 2020 Engicam srl
0005 * Copyright (c) 2020 Amarula Solutons(India)
0006 */
0007
0008 /dts-v1/;
0009 #include "stm32mp157.dtsi"
0010 #include "stm32mp157a-microgea-stm32mp1.dtsi"
0011 #include "stm32mp15-pinctrl.dtsi"
0012 #include "stm32mp15xxaa-pinctrl.dtsi"
0013 #include <dt-bindings/gpio/gpio.h>
0014
0015 / {
0016 model = "Engicam MicroGEA STM32MP1 MicroDev 2.0 Carrier Board";
0017 compatible = "engicam,microgea-stm32mp1-microdev2.0",
0018 "engicam,microgea-stm32mp1", "st,stm32mp157";
0019
0020 aliases {
0021 serial0 = &uart4;
0022 serial1 = &uart8;
0023 };
0024
0025 chosen {
0026 stdout-path = "serial0:115200n8";
0027 };
0028 };
0029
0030 &sdmmc1 {
0031 bus-width = <4>;
0032 disable-wp;
0033 pinctrl-names = "default", "opendrain", "sleep";
0034 pinctrl-0 = <&sdmmc1_b4_pins_a>;
0035 pinctrl-1 = <&sdmmc1_b4_od_pins_a>;
0036 pinctrl-2 = <&sdmmc1_b4_sleep_pins_a>;
0037 st,neg-edge;
0038 vmmc-supply = <&vdd>;
0039 status = "okay";
0040 };
0041
0042 &uart4 {
0043 pinctrl-names = "default", "sleep", "idle";
0044 pinctrl-0 = <&uart4_pins_a>;
0045 pinctrl-1 = <&uart4_sleep_pins_a>;
0046 pinctrl-2 = <&uart4_idle_pins_a>;
0047 /delete-property/dmas;
0048 /delete-property/dma-names;
0049 status = "okay";
0050 };
0051
0052 /* J31: RS323 */
0053 &uart8 {
0054 pinctrl-names = "default";
0055 pinctrl-0 = <&uart8_pins_a>;
0056 /delete-property/dmas;
0057 /delete-property/dma-names;
0058 status = "okay";
0059 };