Add pinctrl driver for Realtek RTS5912. Signed-off-by: Lin Yu-Cheng <lin_yu_cheng@realtek.com>
54 lines
1.2 KiB
YAML
54 lines
1.2 KiB
YAML
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
# Copyright (c) 2024 Realtek Semiconductor Corporation, SIBG-SD7
|
|
#
|
|
|
|
description: |
|
|
This binding gives a base representation of the pins configuration
|
|
|
|
compatible: "realtek,rts5912-pinctrl"
|
|
|
|
include: [base.yaml, pinctrl-device.yaml, pincfg-node.yaml]
|
|
|
|
properties:
|
|
reg:
|
|
required: true
|
|
|
|
child-binding:
|
|
description: |
|
|
This binding gives a base representation of the pins configuration
|
|
|
|
include:
|
|
- name: pincfg-node.yaml
|
|
property-allowlist:
|
|
- bias-pull-down
|
|
- bias-pull-up
|
|
- drive-push-pull
|
|
- drive-open-drain
|
|
- input-enable
|
|
- output-enable
|
|
- output-high
|
|
- output-low
|
|
- input-schmitt-enable
|
|
|
|
properties:
|
|
pinmux:
|
|
type: int
|
|
required: true
|
|
description: Pinmux selection
|
|
drive-strength:
|
|
type: string
|
|
enum:
|
|
- "low"
|
|
- "high"
|
|
description: |
|
|
"low" — 4mA/8mA drive strength
|
|
"high" — 8mA/12mA drive strength
|
|
slew-rate:
|
|
type: string
|
|
enum:
|
|
- "fast"
|
|
- "low"
|
|
description: |
|
|
"fast" — Fast Frequency Slew Rate
|
|
"slow" — Slow Frequency Slew Rate
|