mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-20 20:04:46 +00:00
xilinx: Add cap-mmc-hw-reset and no-sd, no-sdio property to eMMC
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
This commit is contained in:
parent
2f8a471231
commit
20136d13a3
18 changed files with 54 additions and 0 deletions
|
@ -40,6 +40,9 @@
|
|||
status = "okay";
|
||||
non-removable;
|
||||
disable-wp;
|
||||
no-sd;
|
||||
no-sdio;
|
||||
cap-mmc-hw-reset;
|
||||
bus-width = <8>;
|
||||
reg = <0x0 0xf1040000 0x0 0x10000>;
|
||||
clock-names = "clk_xin", "clk_ahb";
|
||||
|
|
|
@ -40,6 +40,9 @@
|
|||
status = "okay";
|
||||
non-removable;
|
||||
disable-wp;
|
||||
no-sd;
|
||||
no-sdio;
|
||||
cap-mmc-hw-reset;
|
||||
bus-width = <8>;
|
||||
reg = <0x0 0xf1050000 0x0 0x10000>;
|
||||
clock-names = "clk_xin", "clk_ahb";
|
||||
|
|
|
@ -54,6 +54,9 @@
|
|||
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";
|
||||
|
|
|
@ -83,6 +83,9 @@
|
|||
bootph-all;
|
||||
status = "okay"; /* EMMC MTFC4GACAJCN - MIO40-MIO45 */
|
||||
non-removable;
|
||||
no-sd;
|
||||
no-sdio;
|
||||
cap-mmc-hw-reset;
|
||||
bus-width = <4>;
|
||||
};
|
||||
|
||||
|
|
|
@ -92,6 +92,9 @@
|
|||
&sdhci1 {
|
||||
status = "okay";
|
||||
non-removable;
|
||||
no-sd;
|
||||
no-sdio;
|
||||
cap-mmc-hw-reset;
|
||||
bus-width = <4>;
|
||||
max-frequency = <12000000>;
|
||||
|
||||
|
|
|
@ -60,6 +60,9 @@
|
|||
status = "okay";
|
||||
non-removable;
|
||||
disable-wp;
|
||||
no-sd;
|
||||
no-sdio;
|
||||
cap-mmc-hw-reset;
|
||||
bus-width = <8>;
|
||||
xlnx,mio-bank = <0>;
|
||||
};
|
||||
|
|
|
@ -68,6 +68,9 @@
|
|||
status = "okay";
|
||||
non-removable;
|
||||
disable-wp;
|
||||
no-sd;
|
||||
no-sdio;
|
||||
cap-mmc-hw-reset;
|
||||
bus-width = <8>;
|
||||
xlnx,mio-bank = <0>;
|
||||
};
|
||||
|
|
|
@ -88,6 +88,9 @@
|
|||
status = "okay";
|
||||
non-removable;
|
||||
disable-wp;
|
||||
no-sd;
|
||||
no-sdio;
|
||||
cap-mmc-hw-reset;
|
||||
bus-width = <8>;
|
||||
xlnx,mio-bank = <0>; /* FIXME tap delay */
|
||||
};
|
||||
|
|
|
@ -84,6 +84,9 @@
|
|||
status = "okay";
|
||||
non-removable;
|
||||
disable-wp;
|
||||
no-sd;
|
||||
no-sdio;
|
||||
cap-mmc-hw-reset;
|
||||
bus-width = <8>;
|
||||
xlnx,mio-bank = <0>; /* FIXME tap delay */
|
||||
};
|
||||
|
|
|
@ -84,6 +84,9 @@
|
|||
status = "okay";
|
||||
non-removable;
|
||||
disable-wp;
|
||||
no-sd;
|
||||
no-sdio;
|
||||
cap-mmc-hw-reset;
|
||||
bus-width = <8>;
|
||||
xlnx,mio-bank = <0>; /* FIXME tap delay */
|
||||
};
|
||||
|
|
|
@ -52,6 +52,9 @@
|
|||
compatible = "xlnx,zynqmp-8.9a", "arasan,sdhci-8.9a";
|
||||
status = "disabled";
|
||||
non-removable;
|
||||
no-sd;
|
||||
no-sdio;
|
||||
cap-mmc-hw-reset;
|
||||
bus-width = <8>;
|
||||
reg = <0x0 0xff160000 0x0 0x1000>;
|
||||
clock-names = "clk_xin", "clk_ahb";
|
||||
|
|
|
@ -52,6 +52,9 @@
|
|||
compatible = "xlnx,zynqmp-8.9a", "arasan,sdhci-8.9a";
|
||||
status = "disabled";
|
||||
non-removable;
|
||||
no-sd;
|
||||
no-sdio;
|
||||
cap-mmc-hw-reset;
|
||||
bus-width = <8>;
|
||||
reg = <0x0 0xff170000 0x0 0x1000>;
|
||||
clock-names = "clk_xin", "clk_ahb";
|
||||
|
|
|
@ -60,6 +60,9 @@
|
|||
status = "okay";
|
||||
non-removable;
|
||||
disable-wp;
|
||||
no-sd;
|
||||
no-sdio;
|
||||
cap-mmc-hw-reset;
|
||||
bus-width = <8>;
|
||||
xlnx,mio-bank = <0>;
|
||||
};
|
||||
|
|
|
@ -288,6 +288,9 @@
|
|||
status = "okay";
|
||||
non-removable;
|
||||
disable-wp;
|
||||
no-sd;
|
||||
no-sdio;
|
||||
cap-mmc-hw-reset;
|
||||
bus-width = <8>;
|
||||
xlnx,mio-bank = <0>;
|
||||
};
|
||||
|
|
|
@ -247,6 +247,9 @@
|
|||
pinctrl-0 = <&pinctrl_sdhci0_default>;
|
||||
non-removable;
|
||||
disable-wp;
|
||||
no-sd;
|
||||
no-sdio;
|
||||
cap-mmc-hw-reset;
|
||||
bus-width = <8>;
|
||||
xlnx,mio-bank = <0>;
|
||||
assigned-clock-rates = <187498123>;
|
||||
|
|
|
@ -93,6 +93,9 @@
|
|||
status = "okay";
|
||||
non-removable;
|
||||
disable-wp; /* We don't have a write-protect detection */
|
||||
no-sd;
|
||||
no-sdio;
|
||||
cap-mmc-hw-reset;
|
||||
bus-width = <8>;
|
||||
xlnx,mio-bank = <0>;
|
||||
};
|
||||
|
|
|
@ -105,6 +105,9 @@
|
|||
status = "okay";
|
||||
non-removable;
|
||||
disable-wp;
|
||||
no-sd;
|
||||
no-sdio;
|
||||
cap-mmc-hw-reset;
|
||||
bus-width = <8>;
|
||||
xlnx,mio-bank = <0>;
|
||||
};
|
||||
|
|
|
@ -509,6 +509,9 @@
|
|||
xlnx,mio-bank = <0>;
|
||||
non-removable;
|
||||
disable-wp;
|
||||
no-sd;
|
||||
no-sdio;
|
||||
cap-mmc-hw-reset;
|
||||
cap-power-off-card;
|
||||
mmc-pwrseq = <&sdio_pwrseq>;
|
||||
vqmmc-supply = <&wmmcsdio_fixed>;
|
||||
|
|
Loading…
Add table
Reference in a new issue