-
Notifications
You must be signed in to change notification settings - Fork 6.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
samples: drivers: spi: Add support for RZ/G3S-SMARC
Enable SPI driver samples for RZ/G3S-SMARC Signed-off-by: Quang Le <quang.le.eb@bp.renesas.com> Signed-off-by: Binh Nguyen <binh.nguyen.xw@renesas.com>
- Loading branch information
1 parent
dd81783
commit 4050737
Showing
2 changed files
with
15 additions
and
0 deletions.
There are no files selected for viewing
2 changes: 2 additions & 0 deletions
2
samples/drivers/spi_bitbang/boards/rzg3s_smarc_r9a08g045s33gbg_cm33.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
CONFIG_GPIO=y | ||
CONFIG_NO_OPTIMIZATIONS=y |
13 changes: 13 additions & 0 deletions
13
samples/drivers/spi_bitbang/boards/rzg3s_smarc_r9a08g045s33gbg_cm33.overlay
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
/* | ||
* Copyright (c) 2024 Renesas Electronics Corporation | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
spibb0: &spi0 { | ||
cs-gpios = <&gpio0 1 GPIO_ACTIVE_LOW>; | ||
status = "okay"; | ||
}; | ||
|
||
&gpio0 { | ||
status = "okay"; | ||
}; |