zephyr/dts/bindings/gpio/atmel,sam-gpio.yaml
Kumar Gala ebbb92d330 dts: atmel sam: gpio: Add support for atmel,pins property
The atmel,pins property will be utilized to describe pin mux
configuration.  The property will be a phandle-array in which the
phandle points to the given GPIO port the pin is on, the pin number, and
the mux configuration.

This change updates the atmel,sam-gpio binding to support that
phandle-array and updates the associated SoC dtsi files as well.

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2020-04-18 17:04:08 -05:00

39 lines
566 B
YAML

description: SAM GPIO PORT node
compatible: "atmel,sam-gpio"
include: [gpio-controller.yaml, base.yaml]
properties:
reg:
required: true
interrupts:
required: true
label:
required: true
peripheral-id:
type: int
description: peripheral ID
required: true
"#gpio-cells":
const: 2
"#atmel,pin-cells":
type: int
required: true
const: 2
description: Number of items to expect in a atmel,pins specifier
gpio-cells:
- pin
- flags
atmel,pin-cells:
- pin
- peripheral