Skip to content

Commit

Permalink
boards: x86: add eMMC support for Intel Alder lake platform
Browse files Browse the repository at this point in the history
add DTS entry for enable eMMC support on Intel Alder lake platform

Signed-off-by: Najumon B.A <najumon.ba@intel.com>
  • Loading branch information
najumon1980 committed Aug 18, 2023
1 parent cac5893 commit df4fab4
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
4 changes: 4 additions & 0 deletions boards/x86/intel_adl/intel_adl_crb.dts
Expand Up @@ -11,6 +11,10 @@
zephyr,console = &uart0;
zephyr,shell-uart = &uart0;
};

aliases {
sdhc0 = &emmc;
};

Check warning on line 17 in boards/x86/intel_adl/intel_adl_crb.dts

View workflow job for this annotation

GitHub Actions / Run compliance checks on patch series (PR)

LEADING_SPACE

boards/x86/intel_adl/intel_adl_crb.dts:17 please, no spaces at the start of a line
};

&uart0 {
Expand Down
22 changes: 22 additions & 0 deletions dts/x86/intel/alder_lake.dtsi
Expand Up @@ -79,6 +79,28 @@
interrupt-parent = <&intc>;
status = "disabled";
};

emmc: emmc0 {
compatible = "emmc-host";
vendor-id = <0x8086>;
device-id = <0x54C4>;
status = "okay";
max-bus-freq = <200000000>;
min-bus-freq = <400000>;
power-delay-ms = <500>;
mmc-hs400-1_8v;
mmc-hs200-1_8v;
mmc-dw-8bit;
mmc-dw-4bit;

interrupts = <PCIE_IRQ_DETECT IRQ_TYPE_LOWEST_LEVEL_LOW 3>;
interrupt-parent = <&intc>;

mmc {
compatible = "zephyr,mmc-disk";
status = "okay";
};
};
};

soc {
Expand Down

0 comments on commit df4fab4

Please sign in to comment.