brcm,bcm2835-sdhost.yaml 930 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
  2. %YAML 1.2
  3. ---
  4. $id: http://devicetree.org/schemas/mmc/brcm,bcm2835-sdhost.yaml#
  5. $schema: http://devicetree.org/meta-schemas/core.yaml#
  6. title: Broadcom BCM2835 SDHOST controller
  7. maintainers:
  8. - Stefan Wahren <stefan.wahren@i2se.com>
  9. allOf:
  10. - $ref: mmc-controller.yaml
  11. properties:
  12. compatible:
  13. const: brcm,bcm2835-sdhost
  14. reg:
  15. maxItems: 1
  16. interrupts:
  17. maxItems: 1
  18. clocks:
  19. maxItems: 1
  20. dmas:
  21. maxItems: 1
  22. dma-names:
  23. const: rx-tx
  24. required:
  25. - compatible
  26. - reg
  27. - interrupts
  28. - clocks
  29. unevaluatedProperties: false
  30. examples:
  31. - |
  32. #include <dt-bindings/clock/bcm2835.h>
  33. sdhost: mmc@7e202000 {
  34. compatible = "brcm,bcm2835-sdhost";
  35. reg = <0x7e202000 0x100>;
  36. interrupts = <2 24>;
  37. clocks = <&clocks BCM2835_CLOCK_VPU>;
  38. dmas = <&dma 13>;
  39. dma-names = "rx-tx";
  40. bus-width = <4>;
  41. };