mirror of
https://github.com/zephyrproject-rtos/zephyr.git
synced 2024-12-04 11:39:46 +08:00
1755cf6582
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>
40 lines
848 B
YAML
40 lines
848 B
YAML
---
|
|
title: Atmel SAM GPIO PORT driver
|
|
id: atmel,sam-gpio
|
|
version: 0.1
|
|
|
|
description: >
|
|
This is a representation of the SAM GPIO PORT nodes
|
|
|
|
properties:
|
|
compatible:
|
|
type: string
|
|
category: required
|
|
description: compatible strings
|
|
constraint: "atmel,sam-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
|
|
|
|
peripheral-id:
|
|
type: int
|
|
description: peripheral ID
|
|
generation: define
|
|
category: required
|