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

Commit 599114ee authored by Fabrizio Castro's avatar Fabrizio Castro Committed by Simon Horman
Browse files

ARM: dts: iwg22m: Enable SDHI1 controller



Enable the SDHI1 controller on iWave RZ/G1E SoM.

Signed-off-by: default avatarFabrizio Castro <fabrizio.castro@bp.renesas.com>
Signed-off-by: default avatarChris Paterson <chris.paterson2@renesas.com>
Reviewed-by: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: default avatarSimon Horman <horms+renesas@verge.net.au>
parent 7079131e
Loading
Loading
Loading
Loading
+17 −0
Original line number Diff line number Diff line
@@ -9,6 +9,7 @@
 */

#include "r8a7745.dtsi"
#include <dt-bindings/gpio/gpio.h>

/ {
	compatible = "iwave,g22m", "renesas,r8a7745";
@@ -38,6 +39,12 @@
		function = "mmc";
	};

	sdhi1_pins: sd1 {
		groups = "sdhi1_data4", "sdhi1_ctrl";
		function = "sdhi1";
		power-source = <3300>;
	};

	i2c3_pins: i2c3 {
		groups = "i2c3_b";
		function = "i2c3";
@@ -54,6 +61,16 @@
	status = "okay";
};

&sdhi1 {
	pinctrl-0 = <&sdhi1_pins>;
	pinctrl-names = "default";

	vmmc-supply = <&reg_3p3v>;
	vqmmc-supply = <&reg_3p3v>;
	cd-gpios = <&gpio3 31 GPIO_ACTIVE_LOW>;
	status = "okay";
};

&i2c3 {
	pinctrl-0 = <&i2c3_pins>;
	pinctrl-names = "default";