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>
This commit is contained in:
parent
dd31b7f0ea
commit
5cf65452c3
3 changed files with 54 additions and 0 deletions
|
@ -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";
|
||||
};
|
|
@ -0,0 +1 @@
|
|||
CONFIG_SKIP_PULL_TEST=y
|
|
@ -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…
Add table
Add a link
Reference in a new issue