blob: 4b1dbf0838752edaf8125b9ad9e07bfa619a0962 [file] [log] [blame]
Marek Vasut526c9512020-03-31 19:51:36 +02001// 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";
Marek Vasut47b98ba2020-04-22 13:18:11 +020018 dh,board-coding-gpios = <&gpiog 13 0>, <&gpiod 9 0>;
Marek Vasut526c9512020-03-31 19:51:36 +020019 };
20};
21
Marek Vasuteb088ba2021-11-13 03:27:37 +010022
23&ethernet0 {
24 mdio0 {
25 ethernet-phy@7 {
26 reset-gpios = <&gpioz 2 GPIO_ACTIVE_LOW>;
27 reset-assert-us = <11000>;
28 reset-deassert-us = <1000>;
29 };
30 };
31};
32
Marek Vasut526c9512020-03-31 19:51:36 +020033&sdmmc1 {
34 u-boot,dm-spl;
35};
36
37&sdmmc1_b4_pins_a {
38 u-boot,dm-spl;
39 pins1 {
40 u-boot,dm-spl;
41 };
42 pins2 {
43 u-boot,dm-spl;
44 };
45};
46
47&sdmmc1_dir_pins_b {
48 u-boot,dm-spl;
49 pins1 {
50 u-boot,dm-spl;
51 };
52 pins2 {
53 u-boot,dm-spl;
54 };
55};
56
57&sdmmc2 {
58 u-boot,dm-spl;
59};
60
61&sdmmc2_b4_pins_a {
62 u-boot,dm-spl;
63 pins1 {
64 u-boot,dm-spl;
65 };
66 pins2 {
67 u-boot,dm-spl;
68 };
69};
70
Marek Vasut29d247a2021-07-20 23:46:07 +020071&sdmmc2_d47_pins_c {
Marek Vasut526c9512020-03-31 19:51:36 +020072 u-boot,dm-spl;
73 pins {
74 u-boot,dm-spl;
75 };
76};
77
78&uart4 {
79 u-boot,dm-pre-reloc;
80};
81
82&uart4_pins_b {
83 u-boot,dm-pre-reloc;
84 pins1 {
85 u-boot,dm-pre-reloc;
86 };
87 pins2 {
88 u-boot,dm-pre-reloc;
Marek Vasut8d9de5b2020-08-22 22:45:36 +020089 /delete-property/ bias-disable;
90 bias-pull-up;
Marek Vasut526c9512020-03-31 19:51:36 +020091 };
92};
93
94&usbotg_hs {
95 u-boot,force-b-session-valid;
96 hnp-srp-disable;
97};