blob: 7a75868164dc065825f1a96cb53e91a9a858b56f [file] [log] [blame]
Jagan Tekifd4dc092021-03-16 21:52:06 +05301// 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-microgea-stm32mp1.dtsi"
11#include "stm32mp15-pinctrl.dtsi"
12#include "stm32mp15xxaa-pinctrl.dtsi"
13#include <dt-bindings/gpio/gpio.h>
14
15/ {
16 model = "Engicam MicroGEA STM32MP1 MicroDev 2.0 Carrier Board";
17 compatible = "engicam,microgea-stm32mp1-microdev2.0",
18 "engicam,microgea-stm32mp1", "st,stm32mp157";
19
20 aliases {
21 serial0 = &uart4;
22 serial1 = &uart8;
23 };
24
25 chosen {
26 stdout-path = "serial0:115200n8";
27 };
28};
29
30&sdmmc1 {
31 bus-width = <4>;
32 disable-wp;
33 pinctrl-names = "default", "opendrain", "sleep";
34 pinctrl-0 = <&sdmmc1_b4_pins_a>;
35 pinctrl-1 = <&sdmmc1_b4_od_pins_a>;
36 pinctrl-2 = <&sdmmc1_b4_sleep_pins_a>;
37 st,neg-edge;
38 vmmc-supply = <&vdd>;
39 status = "okay";
40};
41
42&uart4 {
43 pinctrl-names = "default", "sleep", "idle";
44 pinctrl-0 = <&uart4_pins_a>;
45 pinctrl-1 = <&uart4_sleep_pins_a>;
46 pinctrl-2 = <&uart4_idle_pins_a>;
47 status = "okay";
48};
49
50/* J31: RS323 */
51&uart8 {
52 pinctrl-names = "default";
53 pinctrl-0 = <&uart8_pins_a>;
54 status = "okay";
55};