xref: /freebsd/sys/contrib/device-tree/Bindings/net/ti,cc1352p7.yaml (revision 56b17de1e8360fe131d425de20b5e75ff3ea897c)
1# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/net/ti,cc1352p7.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Texas Instruments Simplelink CC1352P7 wireless MCU
8
9description:
10  The CC1352P7 MCU can be connected via SPI or UART.
11
12maintainers:
13  - Ayush Singh <ayushdevel1325@gmail.com>
14
15properties:
16  compatible:
17    const: ti,cc1352p7
18
19  clocks:
20    items:
21      - description: high-frequency main system (MCU and peripherals) clock
22      - description: low-frequency system clock
23
24  clock-names:
25    items:
26      - const: sclk_hf
27      - const: sclk_lf
28
29  reset-gpios:
30    maxItems: 1
31
32  vdds-supply: true
33
34required:
35  - compatible
36
37additionalProperties: false
38
39examples:
40  - |
41    #include <dt-bindings/gpio/gpio.h>
42
43    serial {
44      mcu {
45        compatible = "ti,cc1352p7";
46        clocks = <&sclk_hf 0>, <&sclk_lf 25>;
47        clock-names = "sclk_hf", "sclk_lf";
48        reset-gpios = <&pio 35 GPIO_ACTIVE_LOW>;
49        vdds-supply = <&vdds>;
50      };
51    };
52