tests: drivers: gpio_basic_api: add overlays for cc32xx and cc1352r1

Adding overlays so that users can run this test on the following
boards:

- cc3220sf_launchxl
- cc3235sf_launchxl
- cc1352r1_launchxl

Instructions on pins to connect are included in the overlay files.

Signed-off-by: Vincent Wan <vincent.wan@linaro.org>
This commit is contained in:
Vincent Wan 2019-10-03 10:36:56 -07:00 committed by Carles Cufí
commit 045249ae6c
3 changed files with 45 additions and 0 deletions

View file

@ -0,0 +1,15 @@
/*
* Copyright (c) 2019 Linaro Limited.
*
* SPDX-License-Identifier: Apache-2.0
*/
/* Connect DIO21 to DIO22 to run this test */
/ {
resources {
compatible = "test,gpio_basic_api";
out-gpios = <&gpio0 22 0>;
in-gpios = <&gpio0 21 0>;
};
};

View file

@ -0,0 +1,15 @@
/*
* Copyright (c) 2019 Linaro Limited.
*
* SPDX-License-Identifier: Apache-2.0
*/
/* Connect P07 to P08 to run this test */
/ {
resources {
compatible = "test,gpio_basic_api";
out-gpios = <&gpioa2 1 0>;
in-gpios = <&gpioa2 0 0>;
};
};

View file

@ -0,0 +1,15 @@
/*
* Copyright (c) 2019 Linaro Limited.
*
* SPDX-License-Identifier: Apache-2.0
*/
/* Connect P07 to P08 to run this test */
/ {
resources {
compatible = "test,gpio_basic_api";
out-gpios = <&gpioa2 1 0>;
in-gpios = <&gpioa2 0 0>;
};
};