summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/timer/arm,sp804.yaml
diff options
context:
space:
mode:
authorZhen Lei <thunder.leizhen@huawei.com>2020-09-19 20:44:12 +0800
committerRob Herring <robh@kernel.org>2020-09-23 15:00:57 -0600
commiteab1de67d292d0b88c148721a276897238150b89 (patch)
treefb59a203551483ef3f59600a436aa96491405cff /Documentation/devicetree/bindings/timer/arm,sp804.yaml
parent73f76a41c4ed7def5dc2ec7c33c7e9f94e601a20 (diff)
dt-bindings: sp804: add support for Hisilicon sp804 timer
Some Hisilicon SoCs, such as Hi1212, use the Hisilicon extended sp804 timer. Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com> Link: https://lore.kernel.org/r/20200919124412.4135-2-thunder.leizhen@huawei.com Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/timer/arm,sp804.yaml')
-rw-r--r--Documentation/devicetree/bindings/timer/arm,sp804.yaml11
1 files changed, 9 insertions, 2 deletions
diff --git a/Documentation/devicetree/bindings/timer/arm,sp804.yaml b/Documentation/devicetree/bindings/timer/arm,sp804.yaml
index ba0945cf799e..e35d3053250a 100644
--- a/Documentation/devicetree/bindings/timer/arm,sp804.yaml
+++ b/Documentation/devicetree/bindings/timer/arm,sp804.yaml
@@ -15,19 +15,26 @@ description: |+
free-running mode. The input clock is shared, but can be gated and prescaled
independently for each timer.
+ There is a viriant of Arm SP804: Hisilicon 64-bit SP804 timer. Some Hisilicon
+ SoCs, such as Hi1212, should use the dedicated compatible: "hisilicon,sp804".
+
# Need a custom select here or 'arm,primecell' will match on lots of nodes
select:
properties:
compatible:
contains:
- const: arm,sp804
+ oneOf:
+ - const: arm,sp804
+ - const: hisilicon,sp804
required:
- compatible
properties:
compatible:
items:
- - const: arm,sp804
+ - enum:
+ - arm,sp804
+ - hisilicon,sp804
- const: arm,primecell
interrupts: