devapc.yaml 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
  2. # # Copyright 2020 MediaTek Inc.
  3. %YAML 1.2
  4. ---
  5. $id: http://devicetree.org/schemas/soc/mediatek/devapc.yaml#
  6. $schema: http://devicetree.org/meta-schemas/core.yaml#
  7. title: MediaTek Device Access Permission Control driver
  8. description: |
  9. MediaTek bus fabric provides TrustZone security support and data
  10. protection to prevent slaves from being accessed by unexpected masters.
  11. The security violation is logged and sent to the processor for further
  12. analysis and countermeasures.
  13. maintainers:
  14. - Neal Liu <neal.liu@mediatek.com>
  15. properties:
  16. compatible:
  17. enum:
  18. - mediatek,mt6779-devapc
  19. - mediatek,mt8186-devapc
  20. reg:
  21. description: The base address of devapc register bank
  22. maxItems: 1
  23. interrupts:
  24. description: A single interrupt specifier
  25. maxItems: 1
  26. clocks:
  27. description: Contains module clock source and clock names
  28. maxItems: 1
  29. clock-names:
  30. description: Names of the clocks list in clocks property
  31. maxItems: 1
  32. required:
  33. - compatible
  34. - reg
  35. - interrupts
  36. - clocks
  37. - clock-names
  38. additionalProperties: false
  39. examples:
  40. - |
  41. #include <dt-bindings/interrupt-controller/arm-gic.h>
  42. #include <dt-bindings/clock/mt6779-clk.h>
  43. devapc: devapc@10207000 {
  44. compatible = "mediatek,mt6779-devapc";
  45. reg = <0x10207000 0x1000>;
  46. interrupts = <GIC_SPI 168 IRQ_TYPE_LEVEL_LOW>;
  47. clocks = <&infracfg_ao CLK_INFRA_DEVICE_APC>;
  48. clock-names = "devapc-infra-clock";
  49. };