Commit eab1de67 authored by Zhen Lei's avatar Zhen Lei Committed by Rob Herring

dt-bindings: sp804: add support for Hisilicon sp804 timer

Some Hisilicon SoCs, such as Hi1212, use the Hisilicon extended sp804
timer.
Signed-off-by: default avatarZhen Lei <thunder.leizhen@huawei.com>
Link: https://lore.kernel.org/r/20200919124412.4135-2-thunder.leizhen@huawei.comSigned-off-by: default avatarRob Herring <robh@kernel.org>
parent 73f76a41
...@@ -15,19 +15,26 @@ description: |+ ...@@ -15,19 +15,26 @@ description: |+
free-running mode. The input clock is shared, but can be gated and prescaled free-running mode. The input clock is shared, but can be gated and prescaled
independently for each timer. 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 # Need a custom select here or 'arm,primecell' will match on lots of nodes
select: select:
properties: properties:
compatible: compatible:
contains: contains:
const: arm,sp804 oneOf:
- const: arm,sp804
- const: hisilicon,sp804
required: required:
- compatible - compatible
properties: properties:
compatible: compatible:
items: items:
- const: arm,sp804 - enum:
- arm,sp804
- hisilicon,sp804
- const: arm,primecell - const: arm,primecell
interrupts: interrupts:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment