xref: /linux/Documentation/devicetree/bindings/net/ti,cc1352p7.yaml (revision 3a39d672e7f48b8d6b91a09afa4b55352773b4b5)
1c966c715SAyush Singh# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
2c966c715SAyush Singh%YAML 1.2
3c966c715SAyush Singh---
4c966c715SAyush Singh$id: http://devicetree.org/schemas/net/ti,cc1352p7.yaml#
5c966c715SAyush Singh$schema: http://devicetree.org/meta-schemas/core.yaml#
6c966c715SAyush Singh
7c966c715SAyush Singhtitle: Texas Instruments Simplelink CC1352P7 wireless MCU
8c966c715SAyush Singh
9c966c715SAyush Singhdescription:
10c966c715SAyush Singh  The CC1352P7 MCU can be connected via SPI or UART.
11c966c715SAyush Singh
12c966c715SAyush Singhmaintainers:
13c966c715SAyush Singh  - Ayush Singh <ayushdevel1325@gmail.com>
14c966c715SAyush Singh
15c966c715SAyush Singhproperties:
16c966c715SAyush Singh  compatible:
17c966c715SAyush Singh    const: ti,cc1352p7
18c966c715SAyush Singh
19c966c715SAyush Singh  clocks:
20c966c715SAyush Singh    items:
21c966c715SAyush Singh      - description: high-frequency main system (MCU and peripherals) clock
22c966c715SAyush Singh      - description: low-frequency system clock
23c966c715SAyush Singh
24c966c715SAyush Singh  clock-names:
25c966c715SAyush Singh    items:
26c966c715SAyush Singh      - const: sclk_hf
27c966c715SAyush Singh      - const: sclk_lf
28c966c715SAyush Singh
29c966c715SAyush Singh  reset-gpios:
30c966c715SAyush Singh    maxItems: 1
31c966c715SAyush Singh
32*e1fa41baSAyush Singh  bootloader-backdoor-gpios:
33*e1fa41baSAyush Singh    maxItems: 1
34*e1fa41baSAyush Singh    description: |
35*e1fa41baSAyush Singh      gpios to enable bootloader backdoor in cc1352p7 bootloader to allow
36*e1fa41baSAyush Singh      flashing new firmware.
37*e1fa41baSAyush Singh
38c966c715SAyush Singh  vdds-supply: true
39c966c715SAyush Singh
40c966c715SAyush Singhrequired:
41c966c715SAyush Singh  - compatible
42c966c715SAyush Singh
43c966c715SAyush SinghadditionalProperties: false
44c966c715SAyush Singh
45c966c715SAyush Singhexamples:
46c966c715SAyush Singh  - |
47c966c715SAyush Singh    #include <dt-bindings/gpio/gpio.h>
48c966c715SAyush Singh
49c966c715SAyush Singh    serial {
50c966c715SAyush Singh      mcu {
51c966c715SAyush Singh        compatible = "ti,cc1352p7";
52c966c715SAyush Singh        clocks = <&sclk_hf 0>, <&sclk_lf 25>;
53c966c715SAyush Singh        clock-names = "sclk_hf", "sclk_lf";
54c966c715SAyush Singh        reset-gpios = <&pio 35 GPIO_ACTIVE_LOW>;
55*e1fa41baSAyush Singh        bootloader-backdoor-gpios = <&pio 36 GPIO_ACTIVE_LOW>;
56c966c715SAyush Singh        vdds-supply = <&vdds>;
57c966c715SAyush Singh      };
58c966c715SAyush Singh    };
59