mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-09-18 22:14:16 +00:00
ARM: dts: renesas: genmai: Enable SDHI0
For this to work, User LEDs must be disabled because they share their pins with SD data lines. Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> Link: https://lore.kernel.org/20240928092953.2982-6-wsa+renesas@sang-engineering.com Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
This commit is contained in:
parent
91dcdfbc5b
commit
3a1a08549d
1 changed files with 22 additions and 1 deletions
|
@ -70,7 +70,8 @@
|
|||
};
|
||||
|
||||
leds {
|
||||
status = "okay";
|
||||
/* Needs SDHI0 to be disabled */
|
||||
status = "disabled";
|
||||
compatible = "gpio-leds";
|
||||
|
||||
led1 {
|
||||
|
@ -226,6 +227,18 @@
|
|||
/* P3_0 as TxD2; P3_2 as RxD2 */
|
||||
pinmux = <RZA1_PINMUX(3, 0, 6)>, <RZA1_PINMUX(3, 2, 4)>;
|
||||
};
|
||||
|
||||
sdhi0_pins: sdhi0 {
|
||||
/* SDHI0: P4_8 up to P4_15 */
|
||||
pinmux = <RZA1_PINMUX(4, 8, 3)>, /* SD_CD_0 */
|
||||
<RZA1_PINMUX(4, 9, 3)>, /* SD_WP_0 */
|
||||
<RZA1_PINMUX(4, 10, 3)>, /* SD_D1_0 */
|
||||
<RZA1_PINMUX(4, 11, 3)>, /* SD_D0_0 */
|
||||
<RZA1_PINMUX(4, 12, 3)>, /* SD_CLK_0 */
|
||||
<RZA1_PINMUX(4, 13, 3)>, /* SD_CMD_0 */
|
||||
<RZA1_PINMUX(4, 14, 3)>, /* SD_D3_0 */
|
||||
<RZA1_PINMUX(4, 15, 3)>; /* SD_D2_0 */
|
||||
};
|
||||
};
|
||||
|
||||
&rtc_x1_clk {
|
||||
|
@ -243,6 +256,14 @@
|
|||
status = "okay";
|
||||
};
|
||||
|
||||
&sdhi0 {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&sdhi0_pins>;
|
||||
|
||||
bus-width = <4>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&spi4 {
|
||||
status = "okay";
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue