2022-06-13 09:55:21 +00:00
|
|
|
// SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause
|
|
|
|
/*
|
|
|
|
* Copyright (C) 2022 Marek Vasut <marex@denx.de>
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "stm32mp15xx-dhcor-u-boot.dtsi"
|
|
|
|
|
|
|
|
/ {
|
|
|
|
aliases {
|
|
|
|
mmc0 = &sdmmc1;
|
|
|
|
mmc1 = &sdmmc2;
|
|
|
|
usb0 = &usbotg_hs;
|
|
|
|
};
|
|
|
|
|
|
|
|
config {
|
|
|
|
dh,board-coding-gpios = <&gpioh 9 0>, <&gpioh 8 0>, <&gpioh 3 0>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
ðernet0 {
|
|
|
|
phy-reset-gpios = <&gpioz 2 GPIO_ACTIVE_LOW>;
|
|
|
|
|
|
|
|
mdio0 {
|
|
|
|
ethernet-phy@7 {
|
|
|
|
reset-gpios = <&gpioz 2 GPIO_ACTIVE_LOW>;
|
|
|
|
reset-assert-us = <11000>;
|
|
|
|
reset-deassert-us = <1000>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
&sdmmc1 {
|
2023-02-13 15:56:33 +00:00
|
|
|
bootph-pre-ram;
|
2022-06-13 09:55:21 +00:00
|
|
|
st,use-ckin;
|
|
|
|
st,cmd-gpios = <&gpiod 2 0>;
|
|
|
|
st,ck-gpios = <&gpioc 12 0>;
|
|
|
|
st,ckin-gpios = <&gpioe 4 0>;
|
|
|
|
};
|
|
|
|
|
|
|
|
&sdmmc1_b4_pins_a {
|
2023-02-13 15:56:33 +00:00
|
|
|
bootph-pre-ram;
|
2022-06-13 09:55:21 +00:00
|
|
|
pins1 {
|
2023-02-13 15:56:33 +00:00
|
|
|
bootph-pre-ram;
|
2022-06-13 09:55:21 +00:00
|
|
|
};
|
|
|
|
pins2 {
|
2023-02-13 15:56:33 +00:00
|
|
|
bootph-pre-ram;
|
2022-06-13 09:55:21 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
&sdmmc1_dir_pins_b {
|
2023-02-13 15:56:33 +00:00
|
|
|
bootph-pre-ram;
|
2022-06-13 09:55:21 +00:00
|
|
|
pins1 {
|
2023-02-13 15:56:33 +00:00
|
|
|
bootph-pre-ram;
|
2022-06-13 09:55:21 +00:00
|
|
|
};
|
|
|
|
pins2 {
|
2023-02-13 15:56:33 +00:00
|
|
|
bootph-pre-ram;
|
2022-06-13 09:55:21 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
&sdmmc2 {
|
2023-02-13 15:56:33 +00:00
|
|
|
bootph-pre-ram;
|
2022-06-13 09:55:21 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
&sdmmc2_b4_pins_a {
|
2023-02-13 15:56:33 +00:00
|
|
|
bootph-pre-ram;
|
2022-06-13 09:55:21 +00:00
|
|
|
pins1 {
|
2023-02-13 15:56:33 +00:00
|
|
|
bootph-pre-ram;
|
2022-06-13 09:55:21 +00:00
|
|
|
};
|
|
|
|
pins2 {
|
2023-02-13 15:56:33 +00:00
|
|
|
bootph-pre-ram;
|
2022-06-13 09:55:21 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
&sdmmc2_d47_pins_c {
|
2023-02-13 15:56:33 +00:00
|
|
|
bootph-pre-ram;
|
2022-06-13 09:55:21 +00:00
|
|
|
pins {
|
2023-02-13 15:56:33 +00:00
|
|
|
bootph-pre-ram;
|
2022-06-13 09:55:21 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
&sdmmc3 { /* SDIO Wi-Fi */
|
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
|
|
|
&uart4 {
|
2023-02-13 15:56:33 +00:00
|
|
|
bootph-all;
|
2022-06-13 09:55:21 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
&uart4_pins_d {
|
2023-02-13 15:56:33 +00:00
|
|
|
bootph-all;
|
2022-06-13 09:55:21 +00:00
|
|
|
pins1 {
|
2023-02-13 15:56:33 +00:00
|
|
|
bootph-all;
|
2022-06-13 09:55:21 +00:00
|
|
|
};
|
|
|
|
pins2 {
|
2023-02-13 15:56:33 +00:00
|
|
|
bootph-all;
|
2022-06-13 09:55:21 +00:00
|
|
|
/delete-property/ bias-disable;
|
|
|
|
bias-pull-up;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
&usbotg_hs {
|
|
|
|
u-boot,force-b-session-valid;
|
|
|
|
hnp-srp-disable;
|
|
|
|
};
|