Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b09e35a3 authored by Heiko Stuebner's avatar Heiko Stuebner
Browse files

ARM: dts: rk3188-radxarock: enable sd-card slot



The Radxa Rock contains one sd-card slot. Add the supplying regulator
and enable its dw_mmc node.

Signed-off-by: default avatarHeiko Stuebner <heiko@sntech.de>
parent fe2c89af
Loading
Loading
Loading
Loading
+22 −0
Original line number Diff line number Diff line
@@ -57,6 +57,16 @@
			default-state = "off";
		};
	};

	vcc_sd0: sdmmc-regulator {
		compatible = "regulator-fixed";
		regulator-name = "sdmmc-supply";
		regulator-min-microvolt = <3300000>;
		regulator-max-microvolt = <3300000>;
		gpio = <&gpio3 1 GPIO_ACTIVE_LOW>;
		startup-delay-us = <100000>;
		vin-supply = <&vcc_io>;
	};
};

&i2c1 {
@@ -159,6 +169,18 @@
	};
};

&mmc0 {
	num-slots = <1>;
	status = "okay";
	vmmc-supply = <&vcc_sd0>;

	slot@0 {
		reg = <0>;
		bus-width = <4>;
		disable-wp;
	};
};

&pinctrl {
	pcfg_output_low: pcfg-output-low {
		output-low;