2021-06-30 09:41:58 +08:00
|
|
|
# Copyright (c) 2021 Synopsys, Inc. All rights reserved.
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
|
|
|
description: Synopsys CREG GPIO node
|
|
|
|
|
|
|
|
compatible: "snps,creg-gpio"
|
|
|
|
|
|
|
|
include: [gpio-controller.yaml, base.yaml]
|
|
|
|
|
|
|
|
properties:
|
2023-01-04 03:21:25 +08:00
|
|
|
reg:
|
|
|
|
required: true
|
2021-06-30 09:41:58 +08:00
|
|
|
|
2023-01-04 03:21:25 +08:00
|
|
|
bit_per_gpio:
|
|
|
|
type: int
|
|
|
|
required: true
|
2021-06-30 09:41:58 +08:00
|
|
|
|
2023-01-04 03:21:25 +08:00
|
|
|
off_val:
|
|
|
|
type: int
|
|
|
|
required: true
|
2021-06-30 09:41:58 +08:00
|
|
|
|
2023-01-04 03:21:25 +08:00
|
|
|
on_val:
|
|
|
|
type: int
|
|
|
|
required: true
|
2021-06-30 09:41:58 +08:00
|
|
|
|
2023-01-04 03:21:25 +08:00
|
|
|
"#gpio-cells":
|
|
|
|
const: 2
|
2021-06-30 09:41:58 +08:00
|
|
|
|
|
|
|
gpio-cells:
|
|
|
|
- pin
|
|
|
|
- flags
|