Commit e75e71e7 authored by Biju Das's avatar Biju Das Committed by Simon Horman

ARM: dts: iwg20m: Enable SDHI0 controller

Enable the SDHI0 controller on iWave RZG1M Qseven SOM.
Signed-off-by: default avatarBiju Das <biju.das@bp.renesas.com>
Acked-by: default avatarWolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: default avatarSimon Horman <horms+renesas@verge.net.au>
parent 63ce8a61
...@@ -9,6 +9,7 @@ ...@@ -9,6 +9,7 @@
*/ */
#include "r8a7743.dtsi" #include "r8a7743.dtsi"
#include <dt-bindings/gpio/gpio.h>
/ { / {
compatible = "iwave,g20m", "renesas,r8a7743"; compatible = "iwave,g20m", "renesas,r8a7743";
...@@ -42,6 +43,12 @@ mmcif0_pins: mmc { ...@@ -42,6 +43,12 @@ mmcif0_pins: mmc {
groups = "mmc_data8_b", "mmc_ctrl"; groups = "mmc_data8_b", "mmc_ctrl";
function = "mmc"; function = "mmc";
}; };
sdhi0_pins: sd0 {
groups = "sdhi0_data4", "sdhi0_ctrl";
function = "sdhi0";
power-source = <3300>;
};
}; };
&mmcif0 { &mmcif0 {
...@@ -53,3 +60,13 @@ &mmcif0 { ...@@ -53,3 +60,13 @@ &mmcif0 {
non-removable; non-removable;
status = "okay"; status = "okay";
}; };
&sdhi0 {
pinctrl-0 = <&sdhi0_pins>;
pinctrl-names = "default";
vmmc-supply = <&reg_3p3v>;
vqmmc-supply = <&reg_3p3v>;
cd-gpios = <&gpio7 11 GPIO_ACTIVE_LOW>;
status = "okay";
};
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment