summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/r7s9210-rza2mevb.dts
diff options
context:
space:
mode:
authorChris Brandt <chris.brandt@renesas.com>2019-04-30 08:23:09 -0500
committerSimon Horman <horms+renesas@verge.net.au>2019-05-20 13:16:55 +0200
commitc2fad09c28ace81f149afe74a8c378c4824b2b27 (patch)
tree55b4379fbeea6e83d6d84e76fe36a0be96011b2e /arch/arm/boot/dts/r7s9210-rza2mevb.dts
parentc5dab2e9a90a75ad839764c777a8da091215eee8 (diff)
ARM: dts: rza2mevb: Add SDHI support
The RZ/A2M EVB supports 2 SD card slots. A micro SD slot on the CPU board, and a full SD card slot on the sub board. Signed-off-by: Chris Brandt <chris.brandt@renesas.com> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Diffstat (limited to 'arch/arm/boot/dts/r7s9210-rza2mevb.dts')
-rw-r--r--arch/arm/boot/dts/r7s9210-rza2mevb.dts24
1 files changed, 24 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/r7s9210-rza2mevb.dts b/arch/arm/boot/dts/r7s9210-rza2mevb.dts
index 1544f3bab3f8..a328426a0409 100644
--- a/arch/arm/boot/dts/r7s9210-rza2mevb.dts
+++ b/arch/arm/boot/dts/r7s9210-rza2mevb.dts
@@ -90,6 +90,16 @@
<RZA2_PINMUX(PORT3, 4, 1)>, /* ET1_MDIO */
<RZA2_PINMUX(PORTL, 1, 5)>; /* IRQ5 */
};
+
+ sdhi0_pins: sdhi0 {
+ pinmux = <RZA2_PINMUX(PORT5, 0, 3)>, /* SD0_CD */
+ <RZA2_PINMUX(PORT5, 1, 3)>; /* SD0_WP */
+ };
+
+ sdhi1_pins: sdhi1 {
+ pinmux = <RZA2_PINMUX(PORT5, 4, 3)>, /* SD1_CD */
+ <RZA2_PINMUX(PORT5, 5, 3)>; /* SD1_WP */
+ };
};
/* High resolution System tick timers */
@@ -130,3 +140,17 @@
reg = <0>;
};
};
+
+&sdhi0 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&sdhi0_pins>;
+ bus-width = <4>;
+ status = "okay";
+};
+
+&sdhi1 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&sdhi1_pins>;
+ bus-width = <4>;
+ status = "okay";
+};