Skip to content

Commit 7df46d9

Browse files
khoa-nguyen-18kartben
authored andcommitted
boards: shields: pmod_sd: Add support ek_ra8p1_r7ka8p1kflcac_cm33
Add support pmod_sd shield for Renesas ek_ra8p1_r7ka8p1kflcac_cm33 Signed-off-by: Khoa Nguyen <[email protected]>
1 parent 2831929 commit 7df46d9

File tree

2 files changed

+32
-2
lines changed

2 files changed

+32
-2
lines changed
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
/*
2+
* Copyright (c) 2025 Renesas Electronics Corporation
3+
* SPDX-License-Identifier: Apache-2.0
4+
*/
5+
6+
&pinctrl {
7+
pmod_sd_default: pmod_sd_default {
8+
group1 {
9+
psels = <RA_PSEL(RA_PSEL_SDHI, 3, 6)>, /* SDCD */
10+
<RA_PSEL(RA_PSEL_SDHI, 3, 7)>, /* SDCMD */
11+
<RA_PSEL(RA_PSEL_SDHI, 3, 4)>, /* SDDATA0 */
12+
<RA_PSEL(RA_PSEL_SDHI, 13, 2)>, /* SDDATA1 */
13+
<RA_PSEL(RA_PSEL_SDHI, 13, 1)>, /* SDDATA2 */
14+
<RA_PSEL(RA_PSEL_SDHI, 1, 11)>, /* SDDATA3 */
15+
<RA_PSEL(RA_PSEL_SDHI, 3, 5)>; /* SDWP */
16+
drive-strength = "high";
17+
};
18+
19+
group2 {
20+
psels = <RA_PSEL(RA_PSEL_SDHI, 3, 8)>; /* SDCLK */
21+
drive-strength = "highspeed-high";
22+
};
23+
};
24+
};
25+
26+
&pmod_sd_shield {
27+
interrupt-names = "accs", "card", "dma-req";
28+
interrupts = <84 12>, <85 12>, <86 12>;
29+
pinctrl-0 = <&pmod_sd_default>;
30+
};

boards/shields/pmod_sd/boards/ek_ra8p1_r7ka8p1kflcac_cm85.overlay

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,14 +49,14 @@
4949

5050
&pmod_sd_shield {
5151
interrupt-names = "accs", "card", "dma-req";
52-
interrupts = <60 12>, <61 12>, <62 12>;
52+
interrupts = <84 12>, <85 12>, <86 12>;
5353
pinctrl-0 = <&pmod_sd_default>;
5454
};
5555

5656
&sci9 {
5757
pinctrl-0 = <&sci9_default>;
5858
pinctrl-names = "default";
59-
interrupts = <63 1>, <64 1>, <65 1>, <66 1>;
59+
interrupts = <87 1>, <88 1>, <89 1>, <90 1>;
6060
interrupt-names = "rxi", "txi", "tei", "eri";
6161
status = "okay";
6262

0 commit comments

Comments
 (0)