48 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/platform/microsoft,surface-sam.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Surface System Aggregator Module (SAM, SSAM)8 9maintainers:10 - Konrad Dybcio <konradybcio@kernel.org>11 12description: |13 Surface devices use a standardized embedded controller to let the14 operating system interface with various hardware functions. The15 specific functionalities are modeled as subdevices and matched on16 five levels: domain, category, target, instance and function.17 18properties:19 compatible:20 const: microsoft,surface-sam21 22 interrupts:23 maxItems: 124 25 current-speed: true26 27required:28 - compatible29 - interrupts30 31additionalProperties: false32 33examples:34 - |35 #include <dt-bindings/interrupt-controller/irq.h>36 uart {37 embedded-controller {38 compatible = "microsoft,surface-sam";39 40 interrupts-extended = <&tlmm 91 IRQ_TYPE_EDGE_RISING>;41 42 pinctrl-0 = <&ssam_state>;43 pinctrl-names = "default";44 45 current-speed = <4000000>;46 };47 };48