zephyr/dts/bindings/gpio/st,stm32-gpio.yaml
Erwan Gouriou 1755cf6582 dts/bindings: Add 'generation' directive on for 'compatible' property
Add 'generation: define' directive to 'compatible' property.
When existing for a type of device, move compatible property
description in device base structure (eg: i2c.yaml)

Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
2018-09-14 08:02:53 -05:00

50 lines
953 B
YAML

#
# Copyright (c) 2018, Linaro Limited
#
# SPDX-License-Identifier: Apache-2.0
#
---
title: STM32 GPIO
id: st,stm32-gpio
version: 0.1
description: >
This is a representation of the STM32 GPIO nodes
properties:
compatible:
type: string
category: required
description: compatible strings
constraint: "st,stm32-gpio"
generation: define
reg:
type: int
description: mmio register space
generation: define
category: required
interrupts:
type: compound
category: required
description: required interrupts
generation: define
label:
type: string
category: required
description: Human readable string describing the device (used by Zephyr for API name)
generation: define
clocks:
type: array
category: required
description: Clock gate control information
generation: define
"#cells":
- pin
- flags
...