Skip to content

Commit e49263a

Browse files
Hieu Nguyenjhedberg
authored andcommitted
boards: renesas: Add SPI support for Renesas RZ/V2L, A3UL
Add SPI support for board Renesas RZ/V2L-SMARC, RZ/A3UL-SMARC Signed-off-by: Hieu Nguyen <[email protected]> Signed-off-by: Nhut Nguyen <[email protected]>
1 parent 6ca258e commit e49263a

File tree

6 files changed

+32
-0
lines changed

6 files changed

+32
-0
lines changed

boards/renesas/rza3ul_smarc/rza3ul_smarc-pinctrl.dtsi

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,13 @@
3434
input-enable;
3535
};
3636
};
37+
38+
/omit-if-no-ref/ spi0_pins: spi0 {
39+
spi0-pinmux {
40+
pinmux = <RZA_PINMUX(PORT_01, 0, 2)>, /* CK */
41+
<RZA_PINMUX(PORT_02, 2, 6)>, /* MOSI */
42+
<RZA_PINMUX(PORT_02, 3, 6)>, /* MISO */
43+
<RZA_PINMUX(PORT_01, 3, 2)>; /* SSL */
44+
};
45+
};
3746
};

boards/renesas/rza3ul_smarc/rza3ul_smarc.dts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,12 @@
8181
status = "okay";
8282
};
8383

84+
&spi0 {
85+
pinctrl-0 = <&spi0_pins>;
86+
pinctrl-names = "default";
87+
status = "okay";
88+
};
89+
8490
&wdt0 {
8591
status = "okay";
8692
};

boards/renesas/rza3ul_smarc/rza3ul_smarc.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ supported:
1111
- pwm
1212
- adc
1313
- i2c
14+
- spi
1415
- counter
1516
- watchdog
1617
testing:

boards/renesas/rzv2l_smarc/rzv2l_smarc-pinctrl.dtsi

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,13 @@
3232
<RZV_PINMUX(PORT_18, 1, 3)>; /* SCL */
3333
};
3434
};
35+
36+
/omit-if-no-ref/ spi1_pins: spi1 {
37+
spi1-pinmux {
38+
pinmux = <RZV_PINMUX(PORT_44, 0, 1)>, /* CK */
39+
<RZV_PINMUX(PORT_44, 1, 1)>, /* MOSI */
40+
<RZV_PINMUX(PORT_44, 2, 1)>, /* MISO */
41+
<RZV_PINMUX(PORT_44, 3, 1)>; /* SSL */
42+
};
43+
};
3544
};

boards/renesas/rzv2l_smarc/rzv2l_smarc_r9a07g054l23gbg_cm33.dts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,3 +43,9 @@
4343
pinctrl-names = "default";
4444
status = "okay";
4545
};
46+
47+
&spi1 {
48+
pinctrl-0 = <&spi1_pins>;
49+
pinctrl-names = "default";
50+
status = "okay";
51+
};

boards/renesas/rzv2l_smarc/rzv2l_smarc_r9a07g054l23gbg_cm33.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ supported:
1111
- pwm
1212
- adc
1313
- i2c
14+
- spi
1415
- counter
1516
- mbox
1617
vendor: renesas

0 commit comments

Comments
 (0)