blob: c96eba99c5ee1ee5f94c1dd812cdc116ce7d9622 [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 Vasutb0049492021-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;
Marek Vasut5f5ce602021-11-13 03:29:44 +010035 st,use-ckin;
36 st,cmd-gpios = <&gpiod 2 0>;
37 st,ck-gpios = <&gpioc 12 0>;
38 st,ckin-gpios = <&gpioe 4 0>;
Marek Vasut526c9512020-03-31 19:51:36 +020039};
40
41&sdmmc1_b4_pins_a {
42 u-boot,dm-spl;
43 pins1 {
44 u-boot,dm-spl;
45 };
46 pins2 {
47 u-boot,dm-spl;
48 };
49};
50
51&sdmmc1_dir_pins_b {
52 u-boot,dm-spl;
53 pins1 {
54 u-boot,dm-spl;
55 };
56 pins2 {
57 u-boot,dm-spl;
58 };
59};
60
61&sdmmc2 {
62 u-boot,dm-spl;
63};
64
65&sdmmc2_b4_pins_a {
66 u-boot,dm-spl;
67 pins1 {
68 u-boot,dm-spl;
69 };
70 pins2 {
71 u-boot,dm-spl;
72 };
73};
74
Marek Vasut29d247a2021-07-20 23:46:07 +020075&sdmmc2_d47_pins_c {
Marek Vasut526c9512020-03-31 19:51:36 +020076 u-boot,dm-spl;
77 pins {
78 u-boot,dm-spl;
79 };
80};
81
82&uart4 {
83 u-boot,dm-pre-reloc;
84};
85
86&uart4_pins_b {
87 u-boot,dm-pre-reloc;
88 pins1 {
89 u-boot,dm-pre-reloc;
90 };
91 pins2 {
92 u-boot,dm-pre-reloc;
Marek Vasut8d9de5b2020-08-22 22:45:36 +020093 /delete-property/ bias-disable;
94 bias-pull-up;
Marek Vasut526c9512020-03-31 19:51:36 +020095 };
96};
97
98&usbotg_hs {
99 u-boot,force-b-session-valid;
100 hnp-srp-disable;
101};