blob: 6dee51dc1c272f87f6f2ef9ddafc7c2256efde10 [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&ethernet0 {
Marek Vasut8b08dfb2021-12-30 23:46:46 +010023 phy-reset-gpios = <&gpioz 2 GPIO_ACTIVE_LOW>;
24
Marek Vasutb0049492021-11-13 03:27:37 +010025 mdio0 {
26 ethernet-phy@7 {
27 reset-gpios = <&gpioz 2 GPIO_ACTIVE_LOW>;
28 reset-assert-us = <11000>;
29 reset-deassert-us = <1000>;
30 };
31 };
32};
33
Marek Vasut526c9512020-03-31 19:51:36 +020034&sdmmc1 {
35 u-boot,dm-spl;
Marek Vasut5f5ce602021-11-13 03:29:44 +010036 st,use-ckin;
37 st,cmd-gpios = <&gpiod 2 0>;
38 st,ck-gpios = <&gpioc 12 0>;
39 st,ckin-gpios = <&gpioe 4 0>;
Marek Vasut526c9512020-03-31 19:51:36 +020040};
41
42&sdmmc1_b4_pins_a {
43 u-boot,dm-spl;
44 pins1 {
45 u-boot,dm-spl;
46 };
47 pins2 {
48 u-boot,dm-spl;
49 };
50};
51
52&sdmmc1_dir_pins_b {
53 u-boot,dm-spl;
54 pins1 {
55 u-boot,dm-spl;
56 };
57 pins2 {
58 u-boot,dm-spl;
59 };
60};
61
62&sdmmc2 {
63 u-boot,dm-spl;
64};
65
66&sdmmc2_b4_pins_a {
67 u-boot,dm-spl;
68 pins1 {
69 u-boot,dm-spl;
70 };
71 pins2 {
72 u-boot,dm-spl;
73 };
74};
75
Marek Vasut29d247a2021-07-20 23:46:07 +020076&sdmmc2_d47_pins_c {
Marek Vasut526c9512020-03-31 19:51:36 +020077 u-boot,dm-spl;
78 pins {
79 u-boot,dm-spl;
80 };
81};
82
83&uart4 {
84 u-boot,dm-pre-reloc;
85};
86
87&uart4_pins_b {
88 u-boot,dm-pre-reloc;
89 pins1 {
90 u-boot,dm-pre-reloc;
91 };
92 pins2 {
93 u-boot,dm-pre-reloc;
Marek Vasut8d9de5b2020-08-22 22:45:36 +020094 /delete-property/ bias-disable;
95 bias-pull-up;
Marek Vasut526c9512020-03-31 19:51:36 +020096 };
97};
98
99&usbotg_hs {
100 u-boot,force-b-session-valid;
101 hnp-srp-disable;
102};
Marek Vasutbc3e3f02022-02-03 02:49:29 +0100103
Marek Vasut69e89952022-09-23 03:31:22 +0200104&vdd {
105 /delete-property/ regulator-always-on;
106};
107
Marek Vasutbc3e3f02022-02-03 02:49:29 +0100108&vdd_io {
109 u-boot,dm-spl;
110};