Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 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 | |
| 7 | title: Texas Instruments Simplelink CC1352P7 wireless MCU |
| 8 | |
| 9 | description: |
| 10 | The CC1352P7 MCU can be connected via SPI or UART. |
| 11 | |
| 12 | maintainers: |
| 13 | - Ayush Singh <ayushdevel1325@gmail.com> |
| 14 | |
| 15 | properties: |
| 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 | |
| 34 | required: |
| 35 | - compatible |
| 36 | |
| 37 | additionalProperties: false |
| 38 | |
| 39 | examples: |
| 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 | }; |