emmc: s7d: support emmc [1/1]

PD#SWPL-147641

Problem:
S7D PxP Bringup.

Solution:
S7D PxP Bringup.

Verify:
PxP

Change-Id: Ic8887596962a588e79f899c049488a99a4103061
Signed-off-by: Rong Chen <rong.chen@amlogic.com>
This commit is contained in:
Rong Chen
2023-12-21 10:32:35 +08:00
committed by Luan Yuan
parent 972e64b4b4
commit f63cdb0ffd
2 changed files with 27 additions and 27 deletions
+24 -24
View File
@@ -1387,14 +1387,14 @@
<0x0 0xfe004000 0x0 0x4>;
interrupts = <GIC_SPI 178 IRQ_TYPE_EDGE_RISING>;
status = "disabled";
//clocks = <&clkc CLKID_SYS_SD_EMMC_C>,
// <&clkc CLKID_SD_EMMC_C_SEL>,
// <&clkc CLKID_SD_EMMC_C>,
// <&xtal>,
// <&clkc CLKID_FCLK_DIV2>,
// <&clkc CLKID_FCLK_DIV2>;
//clock-names = "core", "mux0", "mux1",
// "clkin0", "clkin1", "clkin2";
clocks = <&clkc CLKID_SYS_SD_EMMC_C>,
<&clkc CLKID_SD_EMMC_C_SEL>,
<&clkc CLKID_SD_EMMC_C>,
<&xtal>,
<&clkc CLKID_FCLK_DIV2>,
<&clkc CLKID_FCLK_DIV2>;
clock-names = "core", "mux0", "mux1",
"clkin0", "clkin1", "clkin2";
no-sdio;
no-sd;
card_type = <1>;
@@ -1434,13 +1434,13 @@
<0x0 0xfe00400c 0x0 0x4>;
interrupts = <GIC_SPI 176 IRQ_TYPE_LEVEL_HIGH>;
status = "disabled";
//clocks = <&clkc CLKID_SYS_SD_EMMC_A>,
// <&clkc CLKID_SD_EMMC_A_SEL>,
// <&clkc CLKID_SD_EMMC_A>,
// <&xtal>,
// <&clkc CLKID_FCLK_DIV2>;
//clock-names = "core", "mux0", "mux1",
// "clkin0", "clkin1";
clocks = <&clkc CLKID_SYS_SD_EMMC_A>,
<&clkc CLKID_SD_EMMC_A_SEL>,
<&clkc CLKID_SD_EMMC_A>,
<&xtal>,
<&clkc CLKID_FCLK_DIV2>;
clock-names = "core", "mux0", "mux1",
"clkin0", "clkin1";
card_type = <3>;
mmc_debug_flag;
cap-sdio-irq;
@@ -2454,14 +2454,14 @@
emmc_pins: emmc_pins {
mux-0 {
groups = "emmc_nand_d0",
"emmc_nand_d1",
"emmc_nand_d2",
"emmc_nand_d3",
"emmc_nand_d4",
"emmc_nand_d5",
"emmc_nand_d6",
"emmc_nand_d7",
groups = "emmc_d0",
"emmc_d1",
"emmc_d2",
"emmc_d3",
"emmc_d4",
"emmc_d5",
"emmc_d6",
"emmc_d7",
"emmc_cmd";
function = "emmc";
bias-pull-up;
@@ -2478,7 +2478,7 @@
emmc_ds_pins: emmc_ds_pins {
mux {
groups = "emmc_nand_ds";
groups = "emmc_ds";
function = "emmc";
bias-pull-down;
drive-strength-microamp = <4000>;
+3 -3
View File
@@ -1337,8 +1337,8 @@
bus-width = <4>;
cap-sd-highspeed;
sd-uhs-sdr50;
sd-uhs-sdr104;
//sd-uhs-sdr50;
//sd-uhs-sdr104;
max-frequency = <200000000>;
non-removable;
@@ -1394,7 +1394,7 @@
};
&sd_emmc_c {
status = "disabled";
status = "okay";
pinctrl-0 = <&emmc_pins>, <&emmc_ds_pins>;
pinctrl-1 = <&emmc_clk_gate_pins>;
pinctrl-names = "default", "clk-gate";