Skip to content

Commit

Permalink
ARM: dts: meson8b: odroidc1: enable the SDHC controller
Browse files Browse the repository at this point in the history
Odroid-C1 has an eMMC connector where users can optionally install an
eMMC module. The eMMC modules run off a 1.8V VQMMC supply which means
that HS-200 mode can be used (this is the highest mode that the SDHC
controller supports). Enable the SDHC controller so eMMC modules can be
accessed.

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
  • Loading branch information
xdarklight committed Apr 20, 2020
1 parent 0722c2e commit 3fdd895
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions arch/arm/boot/dts/meson8b-odroidc1.dts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
aliases {
serial0 = &uart_AO;
mmc0 = &sd_card_slot;
mmc1 = &sdhc;
};

chosen {
Expand All @@ -26,6 +27,11 @@
reg = <0x40000000 0x40000000>;
};

emmc_pwrseq: emmc-pwrseq {
compatible = "mmc-pwrseq-emmc";
reset-gpios = <&gpio BOOT_9 GPIO_ACTIVE_LOW>;
};

leds {
compatible = "gpio-leds";
blue {
Expand Down Expand Up @@ -306,6 +312,26 @@
vref-supply = <&vcc_1v8>;
};

&sdhc {
status = "okay";

pinctrl-0 = <&sdxc_c_pins>;
pinctrl-names = "default";

bus-width = <8>;
max-frequency = <100000000>;

disable-wp;
cap-mmc-highspeed;
mmc-hs200-1_8v;
no-sdio;

mmc-pwrseq = <&emmc_pwrseq>;

vmmc-supply = <&vcc_3v3>;
vqmmc-supply = <&vcc_1v8>;
};

&sdio {
status = "okay";

Expand Down

0 comments on commit 3fdd895

Please sign in to comment.