mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-16 09:54:35 +00:00

Add "cap-mmc-hw-reset" property to the eMMC DT node to perform the eMMC device hardware reset. Also, add "no-sd", "no-sdio" properties to eMMC DT node to skip unwanted sd, sdio related commands during initialization for eMMC device as this may lead to unnecessary register dump. Signed-off-by: Paul Alvin <alvin.paulp@amd.com> Signed-off-by: Michal Simek <michal.simek@amd.com> Link: https://lore.kernel.org/r/b31554816a3378365143e9f5c266f6386af0a438.1727247785.git.michal.simek@amd.com
67 lines
1.1 KiB
Text
67 lines
1.1 KiB
Text
// SPDX-License-Identifier: GPL-2.0
|
|
/*
|
|
* dts file for Xilinx Versal NET Mini eMMC Configuration
|
|
*
|
|
* (C) Copyright 2023, Advanced Micro Devices, Inc.
|
|
*
|
|
* Michal Simek <michal.simek@amd.com>
|
|
* Ashok Reddy Soma <ashok.reddy.soma@amd.com>
|
|
*/
|
|
|
|
/dts-v1/;
|
|
|
|
/ {
|
|
compatible = "xlnx,versal-net-mini";
|
|
#address-cells = <2>;
|
|
#size-cells = <2>;
|
|
model = "Xilinx Versal NET MINI eMMC";
|
|
|
|
aliases {
|
|
serial0 = &dcc;
|
|
mmc0 = &sdhci1;
|
|
};
|
|
|
|
chosen {
|
|
stdout-path = "serial0:115200";
|
|
};
|
|
|
|
memory@0 {
|
|
device_type = "memory";
|
|
reg = <0 0 0 0x20000000>;
|
|
};
|
|
|
|
clk200: clk200 {
|
|
compatible = "fixed-clock";
|
|
#clock-cells = <0>;
|
|
clock-frequency = <200000000>;
|
|
};
|
|
|
|
dcc: dcc {
|
|
compatible = "arm,dcc";
|
|
status = "okay";
|
|
bootph-all;
|
|
};
|
|
|
|
amba: axi {
|
|
bootph-all;
|
|
compatible = "simple-bus";
|
|
#address-cells = <2>;
|
|
#size-cells = <2>;
|
|
ranges;
|
|
|
|
sdhci1: mmc@f1050000 {
|
|
compatible = "xlnx,versal-net-emmc";
|
|
status = "okay";
|
|
non-removable;
|
|
disable-wp;
|
|
no-sd;
|
|
no-sdio;
|
|
cap-mmc-hw-reset;
|
|
bus-width = <8>;
|
|
reg = <0 0xf1050000 0 0x10000>;
|
|
clock-names = "clk_xin", "clk_ahb";
|
|
clocks = <&clk200>, <&clk200>;
|
|
xlnx,mio-bank = <0>;
|
|
};
|
|
};
|
|
};
|