Skip to content

Commit 2b2c5fc

Browse files
Quang Lekartben
authored andcommitted
samples: drivers: spi: Add support for RZ/G3S-SMARC
Enable SPI driver samples for RZ/G3S-SMARC Signed-off-by: Quang Le <[email protected]> Signed-off-by: Binh Nguyen <[email protected]>
1 parent 66eb8a8 commit 2b2c5fc

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
CONFIG_GPIO=y
2+
CONFIG_SPI_RENESAS_RZ_RSPI_DMAC=n
3+
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) 2024 Renesas Electronics Corporation
3+
* SPDX-License-Identifier: Apache-2.0
4+
*/
5+
6+
spibb0: &spi0 {
7+
cs-gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
8+
status = "okay";
9+
};
10+
11+
&gpio0 {
12+
status = "okay";
13+
};

0 commit comments

Comments
 (0)