The current implementation requires SoCs/Boards to manualy instantiate the preripherals and initilize them. The change lets Zephyr rely on the device tree setup to instantiate & initialize the relevant gpio peripheral. Signed-off-by: Wilfried Chauveau <wilfried.chauveau@arm.com>
22 lines
318 B
YAML
22 lines
318 B
YAML
description: ARM MMIO32 GPIO
|
|
|
|
compatible: "arm,mmio32-gpio"
|
|
|
|
include: [gpio-controller.yaml, base.yaml]
|
|
|
|
properties:
|
|
reg:
|
|
required: true
|
|
|
|
ngpios:
|
|
required: true
|
|
|
|
"#gpio-cells":
|
|
const: 1
|
|
|
|
direction-input:
|
|
type: boolean
|
|
description: Marks this pin set as all input pins.
|
|
|
|
gpio-cells:
|
|
- pin
|