1// SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause
2/*
3 * Copyright (C) 2020 Marek Vasut <marex@denx.de>
4 */
5
6#include "stm32mp15xx-dhcor-u-boot.dtsi"
7
8/ {
9	aliases {
10		mmc0 = &sdmmc1;
11		mmc1 = &sdmmc2;
12		usb0 = &usbotg_hs;
13	};
14
15	config {
16		u-boot,boot-led = "led1";
17		u-boot,error-led = "led4";
18		dh,board-coding-gpios = <&gpiog 13 0>, <&gpiod 9 0>;
19	};
20};
21
22&sdmmc1 {
23	u-boot,dm-spl;
24};
25
26&sdmmc1_b4_pins_a {
27	u-boot,dm-spl;
28	pins1 {
29		u-boot,dm-spl;
30	};
31	pins2 {
32		u-boot,dm-spl;
33	};
34};
35
36&sdmmc1_dir_pins_b {
37	u-boot,dm-spl;
38	pins1 {
39		u-boot,dm-spl;
40	};
41	pins2 {
42		u-boot,dm-spl;
43	};
44};
45
46&sdmmc2 {
47	u-boot,dm-spl;
48};
49
50&sdmmc2_b4_pins_a {
51	u-boot,dm-spl;
52	pins1 {
53		u-boot,dm-spl;
54	};
55	pins2 {
56		u-boot,dm-spl;
57	};
58};
59
60&sdmmc2_d47_pins_b {
61	u-boot,dm-spl;
62	pins {
63		u-boot,dm-spl;
64	};
65};
66
67&uart4 {
68	u-boot,dm-pre-reloc;
69};
70
71&uart4_pins_b {
72	u-boot,dm-pre-reloc;
73	pins1 {
74		u-boot,dm-pre-reloc;
75	};
76	pins2 {
77		u-boot,dm-pre-reloc;
78		/delete-property/ bias-disable;
79		bias-pull-up;
80	};
81};
82
83&usbotg_hs {
84	u-boot,force-b-session-valid;
85	hnp-srp-disable;
86};
87