Commit c2fad09c authored by Chris Brandt's avatar Chris Brandt Committed by Simon Horman

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: default avatarChris Brandt <chris.brandt@renesas.com>
Reviewed-by: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: default avatarSimon Horman <horms+renesas@verge.net.au>
parent c5dab2e9
...@@ -90,6 +90,16 @@ eth1_pins: eth1 { ...@@ -90,6 +90,16 @@ eth1_pins: eth1 {
<RZA2_PINMUX(PORT3, 4, 1)>, /* ET1_MDIO */ <RZA2_PINMUX(PORT3, 4, 1)>, /* ET1_MDIO */
<RZA2_PINMUX(PORTL, 1, 5)>; /* IRQ5 */ <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 */ /* High resolution System tick timers */
...@@ -130,3 +140,17 @@ phy1: ethernet-phy@1 { ...@@ -130,3 +140,17 @@ phy1: ethernet-phy@1 {
reg = <0>; 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";
};
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