mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-18 10:48:51 +00:00
90f06e9d20
Mini u-boot eMMC dt parameters are not in sync with full u-boot dt. Frequency for eMMC is fixed to 25Mhz. Due to this, mmc multi-block write commands are failing. Increase frequency to 200Mhz to fix this issue. Add bus-width = <8>, non-removable and disable-wp properties to the node as this is eMMC. Signed-off-by: Ashok Reddy Soma <ashok.reddy.soma@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
67 lines
1.2 KiB
Text
67 lines
1.2 KiB
Text
// SPDX-License-Identifier: GPL-2.0
|
|
/*
|
|
* dts file for Xilinx Versal Mini eMMC0 Configuration
|
|
*
|
|
* (C) Copyright 2018-2019, Xilinx, Inc.
|
|
*
|
|
* Siva Durga Prasad <siva.durga.paladugu@xilinx.com>
|
|
* Michal Simek <michal.simek@xilinx.com>
|
|
*/
|
|
|
|
/dts-v1/;
|
|
|
|
/ {
|
|
compatible = "xlnx,versal";
|
|
#address-cells = <2>;
|
|
#size-cells = <2>;
|
|
model = "Xilinx Versal MINI eMMC0";
|
|
|
|
clk200: clk200 {
|
|
compatible = "fixed-clock";
|
|
#clock-cells = <0x0>;
|
|
clock-frequency = <200000000>;
|
|
};
|
|
|
|
dcc: dcc {
|
|
compatible = "arm,dcc";
|
|
status = "okay";
|
|
u-boot,dm-pre-reloc;
|
|
};
|
|
|
|
amba: amba {
|
|
u-boot,dm-pre-reloc;
|
|
compatible = "simple-bus";
|
|
#address-cells = <0x2>;
|
|
#size-cells = <0x2>;
|
|
ranges;
|
|
|
|
sdhci0: sdhci@f1040000 {
|
|
compatible = "xlnx,versal-8.9a", "arasan,sdhci-8.9a";
|
|
status = "okay";
|
|
non-removable;
|
|
disable-wp;
|
|
bus-width = <8>;
|
|
reg = <0x0 0xf1040000 0x0 0x10000>;
|
|
clock-names = "clk_xin", "clk_ahb";
|
|
clocks = <&clk200 &clk200>;
|
|
xlnx,device_id = <0>;
|
|
no-1-8-v;
|
|
xlnx,mio-bank = <0>;
|
|
#stream-id-cells = <1>;
|
|
};
|
|
};
|
|
|
|
aliases {
|
|
serial0 = &dcc;
|
|
mmc0 = &sdhci0;
|
|
};
|
|
|
|
chosen {
|
|
stdout-path = "serial0:115200";
|
|
};
|
|
|
|
memory@0 {
|
|
device_type = "memory";
|
|
reg = <0x0 0x0 0x0 0x20000000>;
|
|
};
|
|
};
|