提交 81a27b1f 编写于 作者: B Biju Das 提交者: Geert Uytterhoeven

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: NBiju Das <biju.das.jz@bp.renesas.com>
Reviewed-by: NLad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Link: https://lore.kernel.org/r/20220117075130.6198-2-biju.das.jz@bp.renesas.comSigned-off-by: NGeert Uytterhoeven <geert+renesas@glider.be>
上级 7ca0ce64
...@@ -81,14 +81,6 @@ ...@@ -81,14 +81,6 @@
status = "disabled"; status = "disabled";
}; };
&sdhi1 {
/delete-property/ pinctrl-0;
/delete-property/ pinctrl-1;
/delete-property/ pinctrl-names;
/delete-property/ vmmc-supply;
status = "disabled";
};
&spi1 { &spi1 {
/delete-property/ pinctrl-0; /delete-property/ pinctrl-0;
/delete-property/ pinctrl-names; /delete-property/ pinctrl-names;
......
...@@ -17,6 +17,45 @@ ...@@ -17,6 +17,45 @@
<RZG2L_PORT_PINMUX(38, 1, 1)>; /* RxD */ <RZG2L_PORT_PINMUX(38, 1, 1)>; /* RxD */
}; };
sd1-pwr-en-hog {
gpio-hog;
gpios = <RZG2L_GPIO(39, 2) GPIO_ACTIVE_HIGH>;
output-high;
line-name = "sd1_pwr_en";
};
sdhi1_pins: sd1 {
sd1_data {
pins = "SD1_DATA0", "SD1_DATA1", "SD1_DATA2", "SD1_DATA3";
power-source = <3300>;
};
sd1_ctrl {
pins = "SD1_CLK", "SD1_CMD";
power-source = <3300>;
};
sd1_mux {
pinmux = <RZG2L_PORT_PINMUX(19, 0, 1)>; /* SD1_CD */
};
};
sdhi1_pins_uhs: sd1_uhs {
sd1_data_uhs {
pins = "SD1_DATA0", "SD1_DATA1", "SD1_DATA2", "SD1_DATA3";
power-source = <1800>;
};
sd1_ctrl_uhs {
pins = "SD1_CLK", "SD1_CMD";
power-source = <1800>;
};
sd1_mux_uhs {
pinmux = <RZG2L_PORT_PINMUX(19, 0, 1)>; /* SD1_CD */
};
};
sound_clk_pins: sound_clk { sound_clk_pins: sound_clk {
pins = "AUDIO_CLK1", "AUDIO_CLK2"; pins = "AUDIO_CLK1", "AUDIO_CLK2";
input-enable; input-enable;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册