Skip to content

Commit

Permalink
ARM: dts: exynos: Add external SD card support for Trats board
Browse files Browse the repository at this point in the history
Enable support for SDHCI controller number 2 and add required regulator
for external SD card.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
  • Loading branch information
Marek Szyprowski authored and Krzysztof Kozlowski committed Sep 10, 2018
1 parent 6262371 commit 6d57be7
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions arch/arm/boot/dts/exynos4210-trats.dts
Original file line number Diff line number Diff line change
Expand Up @@ -385,6 +385,12 @@
regulator-max-microvolt = <1800000>;
};

tflash_reg: LDO17 {
regulator-name = "VTF_2.8V";
regulator-min-microvolt = <2800000>;
regulator-max-microvolt = <2800000>;
};

vddq_reg: LDO21 {
regulator-name = "VDDQ_M1M2_1.2V";
regulator-min-microvolt = <1200000>;
Expand Down Expand Up @@ -452,6 +458,15 @@
status = "okay";
};

&sdhci_2 {
bus-width = <4>;
pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_bus4>;
pinctrl-names = "default";
vmmc-supply = <&tflash_reg>;
cd-gpios = <&gpx3 4 GPIO_ACTIVE_LOW>;
status = "okay";
};

&serial_0 {
status = "okay";
};
Expand Down

0 comments on commit 6d57be7

Please sign in to comment.