2018-05-04 11:02:52 +08:00
|
|
|
#
|
|
|
|
# Copyright (c) 2018 Synopsys, Inc. All rights reserved.
|
|
|
|
#
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
#
|
|
|
|
---
|
|
|
|
title: Synopsys Designware GPIO controller
|
|
|
|
version: 0.1
|
|
|
|
|
|
|
|
description: >
|
|
|
|
This is a representation of the Synopsys DesignWare gpio node
|
|
|
|
|
|
|
|
properties:
|
|
|
|
compatible:
|
|
|
|
type: string
|
|
|
|
category: required
|
|
|
|
description: compatible strings
|
|
|
|
constraint: "snps,designware-gpio"
|
2018-08-20 19:45:55 +08:00
|
|
|
generation: define
|
2018-05-04 11:02:52 +08:00
|
|
|
|
|
|
|
reg:
|
|
|
|
type: int
|
|
|
|
description: mmio register space
|
|
|
|
generation: define
|
|
|
|
category: required
|
|
|
|
|
|
|
|
bits:
|
|
|
|
type: int
|
|
|
|
description: gpio bits
|
|
|
|
generation: define
|
|
|
|
category: required
|
|
|
|
|
|
|
|
interrupts:
|
|
|
|
type: array
|
|
|
|
category: required
|
|
|
|
description: required interrupts
|
|
|
|
generation: define
|
|
|
|
|
|
|
|
label:
|
|
|
|
type: string
|
|
|
|
category: required
|
|
|
|
description: Human readable string describing the device (used by Zephyr for API name)
|
|
|
|
generation: define
|
|
|
|
|
|
|
|
cell_string: GPIO
|
|
|
|
|
|
|
|
"#cells":
|
|
|
|
- pin
|
|
|
|
- flags
|
2018-08-20 19:45:55 +08:00
|
|
|
...
|