1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/net/ieee802154/atmel,at86rf233.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: AT86RF230 IEEE 802.15.4
8
9maintainers:
10  - Frank Li <Frank.Li@nxp.com>
11
12properties:
13  compatible:
14    enum:
15      - atmel,at86rf212
16      - atmel,at86rf230
17      - atmel,at86rf231
18      - atmel,at86rf233
19
20  reg:
21    maxItems: 1
22
23  interrupts:
24    maxItems: 1
25
26  reset-gpio:
27    maxItems: 1
28
29  sleep-gpio:
30    maxItems: 1
31
32  spi-max-frequency:
33    maximum: 7500000
34
35  xtal-trim:
36    $ref: /schemas/types.yaml#/definitions/uint8
37    maximum: 0xf
38    description: |
39      Fine tuning the internal capacitance arrays of xtal pins:
40        0 = +0 pF, 0xf = +4.5 pF
41
42required:
43  - compatible
44  - reg
45  - interrupts
46
47allOf:
48  - $ref: /schemas/spi/spi-peripheral-props.yaml#
49
50unevaluatedProperties: false
51
52examples:
53  - |
54    spi {
55        #address-cells = <1>;
56        #size-cells = <0>;
57
58        zigbee@0 {
59            compatible = "atmel,at86rf231";
60            reg = <0>;
61            spi-max-frequency = <7500000>;
62            interrupts = <19 4>;
63            interrupt-parent = <&gpio3>;
64            xtal-trim = /bits/ 8 <0x06>;
65        };
66    };
67