blob: 5bed53e3fdb91756dafe9c04cfde87a14161ba94 [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 {
Marek Vasut8b08dfb2021-12-30 23:46:46 +010024 phy-reset-gpios = <&gpioz 2 GPIO_ACTIVE_LOW>;
25
Marek Vasutb0049492021-11-13 03:27:37 +010026 mdio0 {
27 ethernet-phy@7 {
28 reset-gpios = <&gpioz 2 GPIO_ACTIVE_LOW>;
29 reset-assert-us = <11000>;
30 reset-deassert-us = <1000>;
31 };
32 };
33};
34
Marek Vasut526c9512020-03-31 19:51:36 +020035&sdmmc1 {
36 u-boot,dm-spl;
Marek Vasut5f5ce602021-11-13 03:29:44 +010037 st,use-ckin;
38 st,cmd-gpios = <&gpiod 2 0>;
39 st,ck-gpios = <&gpioc 12 0>;
40 st,ckin-gpios = <&gpioe 4 0>;
Marek Vasut526c9512020-03-31 19:51:36 +020041};
42
43&sdmmc1_b4_pins_a {
44 u-boot,dm-spl;
45 pins1 {
46 u-boot,dm-spl;
47 };
48 pins2 {
49 u-boot,dm-spl;
50 };
51};
52
53&sdmmc1_dir_pins_b {
54 u-boot,dm-spl;
55 pins1 {
56 u-boot,dm-spl;
57 };
58 pins2 {
59 u-boot,dm-spl;
60 };
61};
62
63&sdmmc2 {
64 u-boot,dm-spl;
65};
66
67&sdmmc2_b4_pins_a {
68 u-boot,dm-spl;
69 pins1 {
70 u-boot,dm-spl;
71 };
72 pins2 {
73 u-boot,dm-spl;
74 };
75};
76
Marek Vasut29d247a2021-07-20 23:46:07 +020077&sdmmc2_d47_pins_c {
Marek Vasut526c9512020-03-31 19:51:36 +020078 u-boot,dm-spl;
79 pins {
80 u-boot,dm-spl;
81 };
82};
83
84&uart4 {
85 u-boot,dm-pre-reloc;
86};
87
88&uart4_pins_b {
89 u-boot,dm-pre-reloc;
90 pins1 {
91 u-boot,dm-pre-reloc;
92 };
93 pins2 {
94 u-boot,dm-pre-reloc;
Marek Vasut8d9de5b2020-08-22 22:45:36 +020095 /delete-property/ bias-disable;
96 bias-pull-up;
Marek Vasut526c9512020-03-31 19:51:36 +020097 };
98};
99
100&usbotg_hs {
101 u-boot,force-b-session-valid;
102 hnp-srp-disable;
103};
Marek Vasutbc3e3f02022-02-03 02:49:29 +0100104
105&vdd_io {
106 u-boot,dm-spl;
107};