Skip to content

Commit ef47878

Browse files
le-quang168tiennguyenzg
authored andcommitted
samples: drivers: spi: Add support for RZT2M
Enable SPI driver sample for RZT2M Signed-off-by: Quang Le <[email protected]> Signed-off-by: Tien Nguyen <[email protected]>
1 parent 33afd01 commit ef47878

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
CONFIG_GPIO=y
2+
CONFIG_NO_OPTIMIZATIONS=y
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
/*
2+
* Copyright (c) 2025 Renesas Electronics Corporation
3+
* SPDX-License-Identifier: Apache-2.0
4+
*/
5+
6+
spibb0: &spi2 {
7+
cs-gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
8+
status = "okay";
9+
};
10+
11+
&gpio0 {
12+
status = "okay";
13+
};

0 commit comments

Comments
 (0)