diff options
Diffstat (limited to 'Documentation/devicetree/bindings/timer/arm,arch_timer_mmio.yaml')
| -rw-r--r-- | Documentation/devicetree/bindings/timer/arm,arch_timer_mmio.yaml | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/Documentation/devicetree/bindings/timer/arm,arch_timer_mmio.yaml b/Documentation/devicetree/bindings/timer/arm,arch_timer_mmio.yaml index 102f319833d9..ab8f28993139 100644 --- a/Documentation/devicetree/bindings/timer/arm,arch_timer_mmio.yaml +++ b/Documentation/devicetree/bindings/timer/arm,arch_timer_mmio.yaml @@ -20,7 +20,7 @@ properties: compatible: items: - enum: - - arm,armv7-timer-mem + - arm,armv7-timer-mem reg: maxItems: 1 @@ -32,6 +32,8 @@ properties: '#size-cells': const: 1 + ranges: true + clock-frequency: description: The frequency of the main counter, in Hz. Should be present only where necessary to work around broken firmware which does not configure @@ -58,26 +60,24 @@ properties: be implemented in an always-on power domain." patternProperties: - '^frame@[0-9a-z]*$': + '^frame@[0-9a-f]+$': type: object + additionalProperties: false description: A timer node has up to 8 frame sub-nodes, each with the following properties. properties: frame-number: - allOf: - - $ref: "/schemas/types.yaml#/definitions/uint32" - - minimum: 0 - maximum: 7 + $ref: /schemas/types.yaml#/definitions/uint32 + minimum: 0 + maximum: 7 interrupts: minItems: 1 - maxItems: 2 items: - description: physical timer irq - description: virtual timer irq - reg : + reg: minItems: 1 - maxItems: 2 items: - description: 1st view base address - description: 2nd optional view base address @@ -93,6 +93,8 @@ required: - '#address-cells' - '#size-cells' +additionalProperties: false + examples: - | timer@f0000000 { |
