pinmux: sam0: add a pinmux driver for the SAM0 series.

Pin multiplexing is a function of the PORT peripheral.  This change
defines a separate pinmux device at the same address as the PORTs
themselves.

Signed-off-by: Michael Hope <mlhx@google.com>
This commit is contained in:
Michael Hope 2018-01-30 20:37:46 +01:00 committed by Anas Nashif
commit 0a5725e858
7 changed files with 158 additions and 0 deletions

View file

@ -0,0 +1,34 @@
---
title: Atmel SAM0 PINMUX
id: atmel,sam0-pinmux
version: 0.1
description: >
This binding gives a base representation of the Atmel SAM0 PINMUX
properties:
compatible:
type: string
category: required
description: compatible strings
constraint: "atmel,sam0-pinmux"
reg:
type: int
description: mmio register space
generation: define
category: required
label:
type: string
category: required
description: Human readable string describing the device (used by Zephyr for API name)
generation: define
cell_string: PINMUX
"#cells":
- pin
- function
...