Skip to content

Commit 87560b2

Browse files
duynguyenxakartben
authored andcommitted
boards: renesas: Add SPI property node for RSK_RX130 board
This commit update pin control setup and spi node enable for RSKRX130 board Signed-off-by: Duy Nguyen <[email protected]>
1 parent e7c025d commit 87560b2

File tree

3 files changed

+16
-0
lines changed

3 files changed

+16
-0
lines changed

boards/renesas/rsk_rx130/rsk_rx130.dts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,3 +81,10 @@
8181
status = "okay";
8282
};
8383
};
84+
85+
&rspi0 {
86+
pinctrl-0 = <&rspi0_default>;
87+
pinctrl-names = "default";
88+
ssl-assert = <0>;
89+
status = "okay";
90+
};

boards/renesas/rsk_rx130/rsk_rx130_512kb-pinctrl.dtsi

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,12 @@
1111
<RX_PSEL(RX_PSEL_SCI_1, 3, 0)>; /* RX */
1212
};
1313
};
14+
rspi0_default: rspi0_default {
15+
group1 {
16+
psels = <RX_PSEL(RX_PSEL_PAnPFS_RSPCKA, 10, 5)>,
17+
<RX_PSEL(RX_PSEL_PAnPFS_MOSIA, 10, 6)>,
18+
<RX_PSEL(RX_PSEL_PAnPFS_MISOA, 10, 7)>,
19+
<RX_PSEL(RX_PSEL_PAnPFS_SSLA0, 10, 4)>;
20+
};
21+
};
1422
};

boards/renesas/rsk_rx130/rsk_rx130_512kb.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,6 @@ supported:
1111
- gpio
1212
- serial
1313
- timer
14+
- spi
1415
ram: 48
1516
flash: 512

0 commit comments

Comments
 (0)