2021-12-11 03:49:03 +08:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2021 Teslabs Engineering S.L.
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*/
|
|
|
|
|
2024-06-23 18:10:36 +08:00
|
|
|
/ {
|
2021-12-11 03:49:03 +08:00
|
|
|
resources {
|
|
|
|
compatible = "test-gpio-basic-api";
|
|
|
|
/* Unplug jumpers from P3 and P2 and bridge PD0/PD1 */
|
|
|
|
out-gpios = <&gpiod 0 0>; /* P3 pin 2 (PD0) */
|
|
|
|
in-gpios = <&gpiod 1 0>; /* P2 pin 2 (PD1) */
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
&gpiod {
|
|
|
|
status = "okay";
|
|
|
|
};
|