aboutsummaryrefslogtreecommitdiff
path: root/sys/contrib/device-tree/Bindings/net/ieee802154/atmel,at86rf233.yaml
blob: 32cdc30009cc0a9dbefbc0770a0eb7791708c8d7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/net/ieee802154/atmel,at86rf233.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: AT86RF230 IEEE 802.15.4

maintainers:
  - Frank Li <Frank.Li@nxp.com>

properties:
  compatible:
    enum:
      - atmel,at86rf212
      - atmel,at86rf230
      - atmel,at86rf231
      - atmel,at86rf233

  reg:
    maxItems: 1

  interrupts:
    maxItems: 1

  reset-gpio:
    maxItems: 1

  sleep-gpio:
    maxItems: 1

  spi-max-frequency:
    maximum: 7500000

  xtal-trim:
    $ref: /schemas/types.yaml#/definitions/uint8
    maximum: 0xf
    description: |
      Fine tuning the internal capacitance arrays of xtal pins:
        0 = +0 pF, 0xf = +4.5 pF

required:
  - compatible
  - reg
  - interrupts

allOf:
  - $ref: /schemas/spi/spi-peripheral-props.yaml#

unevaluatedProperties: false

examples:
  - |
    spi {
        #address-cells = <1>;
        #size-cells = <0>;

        zigbee@0 {
            compatible = "atmel,at86rf231";
            reg = <0>;
            spi-max-frequency = <7500000>;
            interrupts = <19 4>;
            interrupt-parent = <&gpio3>;
            xtal-trim = /bits/ 8 <0x06>;
        };
    };