blob: 6366c289c805c1c57640f301c8d65d102c6e1e62 [file] [log] [blame]
# Copyright (c) 2023 Nordic Semiconductor ASA
# SPDX-License-Identifier: Apache-2.0
description: |
OpenThread configuration node.
Example usage:
options {
openthread {
compatible = "openthread,config";
diag-gpios = <&gpio0 0 GPIO_ACTIVE_HIGH>,
<&gpio1 0 GPIO_ACTIVE_LOW>;
bootloader-gpios = <&gpio0 1 GPIO_ACTIVE_HIGH>;
};
};
compatible: "openthread,config"
properties:
diag-gpios:
type: phandle-array
description: |
This enables access to diagnostic GPIO pins. Each field consists of
GPIO pin's configuration: controller's phandle, pin number and configuration flags.
bootloader-gpios:
type: phandle-array
description: |
This enables resetting to bootloader by triggering given GPIO pin. Property represents
chosen GPIO pin's configuration: controller's phandle, pin number and configuration flags.