microsoft,surface-sam.yaml 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
  2. %YAML 1.2
  3. ---
  4. $id: http://devicetree.org/schemas/platform/microsoft,surface-sam.yaml#
  5. $schema: http://devicetree.org/meta-schemas/core.yaml#
  6. title: Surface System Aggregator Module (SAM, SSAM)
  7. maintainers:
  8. - Konrad Dybcio <konradybcio@kernel.org>
  9. description: |
  10. Surface devices use a standardized embedded controller to let the
  11. operating system interface with various hardware functions. The
  12. specific functionalities are modeled as subdevices and matched on
  13. five levels: domain, category, target, instance and function.
  14. properties:
  15. compatible:
  16. const: microsoft,surface-sam
  17. interrupts:
  18. maxItems: 1
  19. current-speed: true
  20. required:
  21. - compatible
  22. - interrupts
  23. additionalProperties: false
  24. examples:
  25. - |
  26. #include <dt-bindings/interrupt-controller/irq.h>
  27. uart {
  28. embedded-controller {
  29. compatible = "microsoft,surface-sam";
  30. interrupts-extended = <&tlmm 91 IRQ_TYPE_EDGE_RISING>;
  31. pinctrl-0 = <&ssam_state>;
  32. pinctrl-names = "default";
  33. current-speed = <4000000>;
  34. };
  35. };