blob: ab4d66c961954f97b70238972c8c2c3c43b8255a [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 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070035 bootph-pre-ram;
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 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070043 bootph-pre-ram;
Marek Vasut526c9512020-03-31 19:51:36 +020044 pins1 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070045 bootph-pre-ram;
Marek Vasut526c9512020-03-31 19:51:36 +020046 };
47 pins2 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070048 bootph-pre-ram;
Marek Vasut526c9512020-03-31 19:51:36 +020049 };
50};
51
52&sdmmc1_dir_pins_b {
Simon Glassd3a98cb2023-02-13 08:56:33 -070053 bootph-pre-ram;
Marek Vasut526c9512020-03-31 19:51:36 +020054 pins1 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070055 bootph-pre-ram;
Marek Vasut526c9512020-03-31 19:51:36 +020056 };
57 pins2 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070058 bootph-pre-ram;
Marek Vasut526c9512020-03-31 19:51:36 +020059 };
60};
61
62&sdmmc2 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070063 bootph-pre-ram;
Marek Vasut526c9512020-03-31 19:51:36 +020064};
65
66&sdmmc2_b4_pins_a {
Simon Glassd3a98cb2023-02-13 08:56:33 -070067 bootph-pre-ram;
Marek Vasut526c9512020-03-31 19:51:36 +020068 pins1 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070069 bootph-pre-ram;
Marek Vasut526c9512020-03-31 19:51:36 +020070 };
71 pins2 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070072 bootph-pre-ram;
Marek Vasut526c9512020-03-31 19:51:36 +020073 };
74};
75
Marek Vasut29d247a2021-07-20 23:46:07 +020076&sdmmc2_d47_pins_c {
Simon Glassd3a98cb2023-02-13 08:56:33 -070077 bootph-pre-ram;
Marek Vasut526c9512020-03-31 19:51:36 +020078 pins {
Simon Glassd3a98cb2023-02-13 08:56:33 -070079 bootph-pre-ram;
Marek Vasut526c9512020-03-31 19:51:36 +020080 };
81};
82
83&uart4 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070084 bootph-all;
Marek Vasut526c9512020-03-31 19:51:36 +020085};
86
87&uart4_pins_b {
Simon Glassd3a98cb2023-02-13 08:56:33 -070088 bootph-all;
Marek Vasut526c9512020-03-31 19:51:36 +020089 pins1 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070090 bootph-all;
Marek Vasut526c9512020-03-31 19:51:36 +020091 };
92 pins2 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070093 bootph-all;
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 {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700109 bootph-pre-ram;
Marek Vasutbc3e3f02022-02-03 02:49:29 +0100110};