1# Copyright (c) 2023 Nordic Semiconductor ASA
2# SPDX-License-Identifier: Apache-2.0
3
4description: |
5  OpenThread configuration node.
6
7  Example usage:
8  options {
9    openthread {
10      compatible = "openthread,config";
11      diag-gpios = <&gpio0 0  GPIO_ACTIVE_HIGH>,
12                   <&gpio1 0  GPIO_ACTIVE_LOW>;
13      bootloader-gpios = <&gpio0 1 GPIO_ACTIVE_HIGH>;
14    };
15  };
16
17compatible: "openthread,config"
18
19properties:
20  diag-gpios:
21    type: phandle-array
22    description: |
23      This enables access to diagnostic GPIO pins. Each field consists of
24      GPIO pin's configuration: controller's phandle, pin number and configuration flags.
25
26  bootloader-gpios:
27    type: phandle-array
28    description: |
29      This enables resetting to bootloader by triggering given GPIO pin. Property represents
30      chosen GPIO pin's configuration: controller's phandle, pin number and configuration flags.
31