Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

arm64: dts: renesas: rzg2lc-smarc: Enable microSD on SMARC platform

Enable the microSD card slot connected to SDHI1 on the RZ/G2LC SMARC
platform by removing the sdhi1 override which disabled it, and by adding
the necessary pinmux required for SDHI1.

Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
Reviewed-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Link: https://lore.kernel.org/r/20220117075130.6198-2-biju.das.jz@bp.renesas.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>

authored by

Biju Das and committed by
Geert Uytterhoeven
81a27b1f 7ca0ce64

+39 -8
-8
arch/arm64/boot/dts/renesas/r9a07g044c2-smarc.dts
··· 81 81 status = "disabled"; 82 82 }; 83 83 84 - &sdhi1 { 85 - /delete-property/ pinctrl-0; 86 - /delete-property/ pinctrl-1; 87 - /delete-property/ pinctrl-names; 88 - /delete-property/ vmmc-supply; 89 - status = "disabled"; 90 - }; 91 - 92 84 &spi1 { 93 85 /delete-property/ pinctrl-0; 94 86 /delete-property/ pinctrl-names;
+39
arch/arm64/boot/dts/renesas/rzg2lc-smarc-pinfunction.dtsi
··· 17 17 <RZG2L_PORT_PINMUX(38, 1, 1)>; /* RxD */ 18 18 }; 19 19 20 + sd1-pwr-en-hog { 21 + gpio-hog; 22 + gpios = <RZG2L_GPIO(39, 2) GPIO_ACTIVE_HIGH>; 23 + output-high; 24 + line-name = "sd1_pwr_en"; 25 + }; 26 + 27 + sdhi1_pins: sd1 { 28 + sd1_data { 29 + pins = "SD1_DATA0", "SD1_DATA1", "SD1_DATA2", "SD1_DATA3"; 30 + power-source = <3300>; 31 + }; 32 + 33 + sd1_ctrl { 34 + pins = "SD1_CLK", "SD1_CMD"; 35 + power-source = <3300>; 36 + }; 37 + 38 + sd1_mux { 39 + pinmux = <RZG2L_PORT_PINMUX(19, 0, 1)>; /* SD1_CD */ 40 + }; 41 + }; 42 + 43 + sdhi1_pins_uhs: sd1_uhs { 44 + sd1_data_uhs { 45 + pins = "SD1_DATA0", "SD1_DATA1", "SD1_DATA2", "SD1_DATA3"; 46 + power-source = <1800>; 47 + }; 48 + 49 + sd1_ctrl_uhs { 50 + pins = "SD1_CLK", "SD1_CMD"; 51 + power-source = <1800>; 52 + }; 53 + 54 + sd1_mux_uhs { 55 + pinmux = <RZG2L_PORT_PINMUX(19, 0, 1)>; /* SD1_CD */ 56 + }; 57 + }; 58 + 20 59 sound_clk_pins: sound_clk { 21 60 pins = "AUDIO_CLK1", "AUDIO_CLK2"; 22 61 input-enable;