| 1 |
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) |
| 2 |
%YAML 1.2 |
| 3 |
--- |
| 4 |
$id: http://devicetree.org/schemas/embedded-controller/microsoft,surface-sam.yaml# |
| 5 |
$schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 |
|
| 7 |
title: Surface System Aggregator Module (SAM, SSAM) |
| 8 |
|
| 9 |
maintainers: |
| 10 |
- Konrad Dybcio <[email protected]> |
| 11 |
|
| 12 |
description: | |
| 13 |
Surface devices use a standardized embedded controller to let the |
| 14 |
operating system interface with various hardware functions. The |
| 15 |
specific functionalities are modeled as subdevices and matched on |
| 16 |
five levels: domain, category, target, instance and function. |
| 17 |
|
| 18 |
properties: |
| 19 |
compatible: |
| 20 |
const: microsoft,surface-sam |
| 21 |
|
| 22 |
interrupts: |
| 23 |
maxItems: 1 |
| 24 |
|
| 25 |
current-speed: true |
| 26 |
|
| 27 |
required: |
| 28 |
- compatible |
| 29 |
- interrupts |
| 30 |
|
| 31 |
additionalProperties: false |
| 32 |
|
| 33 |
examples: |
| 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 |
}; |