ge-achc.yaml 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. # SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause
  2. # Copyright (C) 2021 GE Inc.
  3. # Copyright (C) 2021 Collabora Ltd.
  4. %YAML 1.2
  5. ---
  6. $id: http://devicetree.org/schemas/misc/ge-achc.yaml#
  7. $schema: http://devicetree.org/meta-schemas/core.yaml#
  8. title: GE Healthcare USB Management Controller
  9. description: |
  10. A device which handles data acquisition from compatible USB based peripherals.
  11. SPI is used for device management.
  12. Note: This device does not expose the peripherals as USB devices.
  13. maintainers:
  14. - Sebastian Reichel <sre@kernel.org>
  15. properties:
  16. compatible:
  17. items:
  18. - const: ge,achc
  19. - const: nxp,kinetis-k20
  20. clocks:
  21. maxItems: 1
  22. vdd-supply:
  23. description: Digital power supply regulator on VDD pin
  24. vdda-supply:
  25. description: Analog power supply regulator on VDDA pin
  26. reg:
  27. items:
  28. - description: Control interface
  29. - description: Firmware programming interface
  30. reset-gpios:
  31. description: GPIO used for hardware reset.
  32. maxItems: 1
  33. required:
  34. - compatible
  35. - clocks
  36. - reg
  37. - reset-gpios
  38. additionalProperties: false
  39. examples:
  40. - |
  41. #include <dt-bindings/gpio/gpio.h>
  42. spi {
  43. #address-cells = <1>;
  44. #size-cells = <0>;
  45. spi@1 {
  46. compatible = "ge,achc", "nxp,kinetis-k20";
  47. reg = <1>, <0>;
  48. clocks = <&achc_24M>;
  49. reset-gpios = <&gpio3 6 GPIO_ACTIVE_LOW>;
  50. };
  51. };