summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/net/ti,cc1352p7.yaml
blob: 3dde10de4630e626d8204bd0bbe6d17d84557282 (plain)
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
# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
%YAML 1.2
---
$id: http://devicetree.org/schemas/net/ti,cc1352p7.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Texas Instruments Simplelink CC1352P7 wireless MCU

description:
  The CC1352P7 MCU can be connected via SPI or UART.

maintainers:
  - Ayush Singh <ayushdevel1325@gmail.com>

properties:
  compatible:
    const: ti,cc1352p7

  clocks:
    items:
      - description: high-frequency main system (MCU and peripherals) clock
      - description: low-frequency system clock

  clock-names:
    items:
      - const: sclk_hf
      - const: sclk_lf

  reset-gpios:
    maxItems: 1

  vdds-supply: true

required:
  - compatible

additionalProperties: false

examples:
  - |
    #include <dt-bindings/gpio/gpio.h>

    serial {
      mcu {
        compatible = "ti,cc1352p7";
        clocks = <&sclk_hf 0>, <&sclk_lf 25>;
        clock-names = "sclk_hf", "sclk_lf";
        reset-gpios = <&pio 35 GPIO_ACTIVE_LOW>;
        vdds-supply = <&vdds>;
      };
    };