2019-08-02 16:38:56 +08:00
|
|
|
#
|
|
|
|
# Copyright (c) 2019 Antmicro <www.antmicro.com>
|
|
|
|
#
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
#
|
|
|
|
|
2019-08-05 18:05:36 +08:00
|
|
|
description: Litex GPIO
|
2019-08-02 16:38:56 +08:00
|
|
|
|
|
|
|
compatible: "litex,gpio"
|
|
|
|
|
|
|
|
include: [gpio-controller.yaml, base.yaml]
|
|
|
|
|
|
|
|
properties:
|
|
|
|
port-is-output:
|
|
|
|
type: boolean
|
|
|
|
description: Indicates if the port is an output port
|
|
|
|
|
|
|
|
reg:
|
|
|
|
required: true
|
|
|
|
|
|
|
|
ngpios:
|
|
|
|
required: true
|
|
|
|
|
|
|
|
"#gpio-cells":
|
|
|
|
const: 2
|
|
|
|
|
|
|
|
gpio-cells:
|
|
|
|
- pin
|
|
|
|
- flags
|