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:
parent
ba4eec1597
commit
0a5725e858
7 changed files with 158 additions and 0 deletions
34
dts/bindings/pinctrl/atmel,sam0-pinmux.yaml
Normal file
34
dts/bindings/pinctrl/atmel,sam0-pinmux.yaml
Normal 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
|
||||
|
||||
...
|
Loading…
Add table
Add a link
Reference in a new issue