blob: 31995c058eb401f9634608c64fda0a7765ef1760 [file] [log] [blame]
Marek Vasut52784942022-09-26 18:50:00 +02001// SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause
2/*
3 * Copyright (C) 2022 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 dh,board-coding-gpios = <&gpiog 13 0>, <&gpiod 9 0>;
17 };
18};
19
20&ethernet0 {
21 phy-reset-gpios = <&gpioz 2 GPIO_ACTIVE_LOW>;
22
23 mdio0 {
24 ethernet-phy@7 {
25 reset-gpios = <&gpioz 2 GPIO_ACTIVE_LOW>;
26 reset-assert-us = <11000>;
27 reset-deassert-us = <1000>;
28 };
29 };
30};
31
32&sdmmc1 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070033 bootph-pre-ram;
Marek Vasut52784942022-09-26 18:50:00 +020034 st,use-ckin;
35 st,cmd-gpios = <&gpiod 2 0>;
36 st,ck-gpios = <&gpioc 12 0>;
37 st,ckin-gpios = <&gpioe 4 0>;
38};
39
40&sdmmc1_b4_pins_a {
Simon Glassd3a98cb2023-02-13 08:56:33 -070041 bootph-pre-ram;
Marek Vasut52784942022-09-26 18:50:00 +020042 pins1 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070043 bootph-pre-ram;
Marek Vasut52784942022-09-26 18:50:00 +020044 };
45 pins2 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070046 bootph-pre-ram;
Marek Vasut52784942022-09-26 18:50:00 +020047 };
48};
49
50&sdmmc1_dir_pins_b {
Simon Glassd3a98cb2023-02-13 08:56:33 -070051 bootph-pre-ram;
Marek Vasut52784942022-09-26 18:50:00 +020052 pins1 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070053 bootph-pre-ram;
Marek Vasut52784942022-09-26 18:50:00 +020054 };
55 pins2 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070056 bootph-pre-ram;
Marek Vasut52784942022-09-26 18:50:00 +020057 };
58};
59
60&sdmmc2 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070061 bootph-pre-ram;
Marek Vasut52784942022-09-26 18:50:00 +020062};
63
64&sdmmc2_b4_pins_a {
Simon Glassd3a98cb2023-02-13 08:56:33 -070065 bootph-pre-ram;
Marek Vasut52784942022-09-26 18:50:00 +020066 pins1 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070067 bootph-pre-ram;
Marek Vasut52784942022-09-26 18:50:00 +020068 };
69 pins2 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070070 bootph-pre-ram;
Marek Vasut52784942022-09-26 18:50:00 +020071 };
72};
73
74&sdmmc2_d47_pins_c {
Simon Glassd3a98cb2023-02-13 08:56:33 -070075 bootph-pre-ram;
Marek Vasut52784942022-09-26 18:50:00 +020076 pins {
Simon Glassd3a98cb2023-02-13 08:56:33 -070077 bootph-pre-ram;
Marek Vasut52784942022-09-26 18:50:00 +020078 };
79};
80
81&uart4 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070082 bootph-all;
Marek Vasut52784942022-09-26 18:50:00 +020083};
84
85&uart4_pins_b {
Simon Glassd3a98cb2023-02-13 08:56:33 -070086 bootph-all;
Marek Vasut52784942022-09-26 18:50:00 +020087 pins1 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070088 bootph-all;
Marek Vasut52784942022-09-26 18:50:00 +020089 };
90 pins2 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070091 bootph-all;
Marek Vasut52784942022-09-26 18:50:00 +020092 /delete-property/ bias-disable;
93 bias-pull-up;
94 };
95};
96
97&usbotg_hs {
98 u-boot,force-b-session-valid;
99 hnp-srp-disable;
100};