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 bootloader-backdoor-gpios: 33 maxItems: 1 34 description: | 35 gpios to enable bootloader backdoor in cc1352p7 bootloader to allow 36 flashing new firmware. 37 38 vdds-supply: true 39 40required: 41 - compatible 42 43additionalProperties: false 44 45examples: 46 - | 47 #include <dt-bindings/gpio/gpio.h> 48 49 serial { 50 mcu { 51 compatible = "ti,cc1352p7"; 52 clocks = <&sclk_hf 0>, <&sclk_lf 25>; 53 clock-names = "sclk_hf", "sclk_lf"; 54 reset-gpios = <&pio 35 GPIO_ACTIVE_LOW>; 55 bootloader-backdoor-gpios = <&pio 36 GPIO_ACTIVE_LOW>; 56 vdds-supply = <&vdds>; 57 }; 58 }; 59