zephyr/dts/bindings/timer/arm,cmsdk-dtimer.yaml
Erwan Gouriou 104553d93f yaml: fix properties syntax to 'mapping' instead of 'series'
According to yaml syntaxic rules, 'properties' described in dts
bindings yaml files could be seen as 'mapping'(key/value couple),
instead of 'series' (list of single elements).
yaml 'mappings' will then be converted by yaml python library as
python 'dict' which will ease treatment (instead of current list
as were before this commit).
Same treatment is applied to 'inherits'.

script extract_dts_inlcude is updated to take change of yaml_list
structre into account. This allows some code simplification. Largest
impact is yaml_collapse function which works now allow complete
overload method on all the attributes of a yaml nodes.

Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
2017-11-28 11:42:59 -06:00

28 lines
546 B
YAML

---
title: ARM CMSDK DUALTIMER
id: arm,cmsdk-dtimer
version: 0.1
description: >
This binding gives a base representation of the ARM CMSDK DUALTIMER
properties:
compatible:
type: string
category: required
description: compatible strings
constraint: "arm,cmsdk-dtimer"
reg:
type: array
description: mmio register space
generation: define
category: required
interrupts:
type: array
category: required
description: required interrupts
generation: define
...