Browse Source

tests: drivers: gpio: Add support for RZ/G2LC-SMARC

Add support for RZ/G2LC-SMARC

Signed-off-by: Tien Nguyen <tien.nguyen.zg@renesas.com>
pull/88679/head
Tien Nguyen 3 months ago committed by Benjamin Cabé
parent
commit
5cf65452c3
  1. 27
      tests/drivers/gpio/gpio_api_1pin/boards/rzg2lc_smarc_r9a07g044c22gbg_cm33.overlay
  2. 1
      tests/drivers/gpio/gpio_basic_api/boards/rzg2lc_smarc_r9a07g044c22gbg_cm33.conf
  3. 26
      tests/drivers/gpio/gpio_basic_api/boards/rzg2lc_smarc_r9a07g044c22gbg_cm33.overlay

27
tests/drivers/gpio/gpio_api_1pin/boards/rzg2lc_smarc_r9a07g044c22gbg_cm33.overlay

@ -0,0 +1,27 @@ @@ -0,0 +1,27 @@
/*
* Copyright (c) 2025 Renesas Electronics Corporation
* SPDX-License-Identifier: Apache-2.0
*/
/ {
aliases {
led0 = &led_0;
};
gpio-led {
compatible = "gpio-leds";
led_0: led_0 {
gpios = <&gpio43 1 0>;
};
};
};
&gpio {
status = "okay";
};
&gpio43 {
irqs = <1 1>;
status = "okay";
};

1
tests/drivers/gpio/gpio_basic_api/boards/rzg2lc_smarc_r9a07g044c22gbg_cm33.conf

@ -0,0 +1 @@ @@ -0,0 +1 @@
CONFIG_SKIP_PULL_TEST=y

26
tests/drivers/gpio/gpio_basic_api/boards/rzg2lc_smarc_r9a07g044c22gbg_cm33.overlay

@ -0,0 +1,26 @@ @@ -0,0 +1,26 @@
/*
* Copyright (c) 2025 Renesas Electronics Corporation
* SPDX-License-Identifier: Apache-2.0
*/
/ {
resources {
compatible = "test-gpio-basic-api";
out-gpios = <&gpio4 1 GPIO_ACTIVE_HIGH>;
in-gpios = <&gpio43 0 GPIO_ACTIVE_HIGH>;
};
};
&gpio {
status = "okay";
};
&gpio4 {
irqs = <2 20>;
status = "okay";
};
&gpio43 {
irqs = <2 20>;
status = "okay";
};
Loading…
Cancel
Save