Implement a sample app to perform basic GPIO tracing. Signed-off-by: Alexander Lay <alexanderlay@tenstorrent.com> Signed-off-by: Yang Xu <yangxu@tenstorrent.com>
20 lines
303 B
Plaintext
20 lines
303 B
Plaintext
/*
|
|
* Copyright (c) 2024 Tenstorrent AI ULC
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
/ {
|
|
gpio_emul: gpio_emul {
|
|
status = "okay";
|
|
compatible = "zephyr,gpio-emul";
|
|
rising-edge;
|
|
falling-edge;
|
|
high-level;
|
|
low-level;
|
|
gpio-controller;
|
|
#gpio-cells = < 0x2 >;
|
|
phandle = < 0x1 >;
|
|
};
|
|
};
|