Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
379 changes: 273 additions & 106 deletions drivers/gpio/gpio_intel_apl.c

Large diffs are not rendered by default.

8 changes: 8 additions & 0 deletions dts/bindings/gpio/intel,apl-gpio.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,14 @@ properties:
interrupts:
required: true

ngpios:
required: true

pin-offset:
type: int
required: true
description: Pin offset of this GPIO entry

"#gpio-cells":
const: 2

Expand Down
22 changes: 22 additions & 0 deletions dts/bindings/gpio/intel,apollo-lake-gpio.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Copyright (c) 2019 Peter Bigot Consulting, LLC
# SPDX-License-Identifier: Apache-2.0

title: Apollo Lake GPIO Map

description: |
Map from Apollo Lake GPIO to component GPIO driver instances.

The Apollo Lake GPIO architecture provides four controllers each of
which has more than 32 pins. To be supported on Zephyr these pins
must be mapped to sub-devices that have no more than 32 pins each.
This compatible is used to map the full controller to its
subdevices.

The NORTH controller supports 78 pins.
The NORTHWEST controller supports 77 pins.
The WEST controller supports 47 pins.
The SOUTHWEST controller supports 43 pins.

compatible: "intel,apollo-lake-gpio"

include: [gpio-nexus.yaml, base.yaml]
Loading