ti,cc1352p7.yaml 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  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. title: Texas Instruments Simplelink CC1352P7 wireless MCU
  7. description:
  8. The CC1352P7 MCU can be connected via SPI or UART.
  9. maintainers:
  10. - Ayush Singh <ayushdevel1325@gmail.com>
  11. properties:
  12. compatible:
  13. const: ti,cc1352p7
  14. clocks:
  15. items:
  16. - description: high-frequency main system (MCU and peripherals) clock
  17. - description: low-frequency system clock
  18. clock-names:
  19. items:
  20. - const: sclk_hf
  21. - const: sclk_lf
  22. reset-gpios:
  23. maxItems: 1
  24. bootloader-backdoor-gpios:
  25. maxItems: 1
  26. description: |
  27. gpios to enable bootloader backdoor in cc1352p7 bootloader to allow
  28. flashing new firmware.
  29. vdds-supply: true
  30. required:
  31. - compatible
  32. additionalProperties: false
  33. examples:
  34. - |
  35. #include <dt-bindings/gpio/gpio.h>
  36. serial {
  37. mcu {
  38. compatible = "ti,cc1352p7";
  39. clocks = <&sclk_hf 0>, <&sclk_lf 25>;
  40. clock-names = "sclk_hf", "sclk_lf";
  41. reset-gpios = <&pio 35 GPIO_ACTIVE_LOW>;
  42. bootloader-backdoor-gpios = <&pio 36 GPIO_ACTIVE_LOW>;
  43. vdds-supply = <&vdds>;
  44. };
  45. };