Skip to content

Commit

Permalink
samples: drivers: spi: Add support for RZ/G3S-SMARC
Browse files Browse the repository at this point in the history
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
Quang Le authored and binhnguyen2434 committed Jan 10, 2025
1 parent dd81783 commit 4050737
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
CONFIG_GPIO=y
CONFIG_NO_OPTIMIZATIONS=y
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";
};

0 comments on commit 4050737

Please sign in to comment.