| 1 |
# SPDX-License-Identifier: BSD-2-Clause |
| 2 |
# Copyright Ayush Singh <[email protected]> |
| 3 |
|
| 4 |
$id: http://devicetree.org/schemas/gpio/gpio-nexus-node.yaml# |
| 5 |
$schema: http://devicetree.org/meta-schemas/base.yaml# |
| 6 |
|
| 7 |
title: GPIO Nexus node properties |
| 8 |
|
| 9 |
description: Schema for nexus node devicetree bindings |
| 10 |
maintainers: |
| 11 |
- Ayush Singh <[email protected]> |
| 12 |
|
| 13 |
# always select the core schema |
| 14 |
select: true |
| 15 |
|
| 16 |
properties: |
| 17 |
"#gpio-cells": true |
| 18 |
gpio-map: |
| 19 |
$ref: /schemas/types.yaml#/definitions/uint32-matrix |
| 20 |
gpio-map-mask: |
| 21 |
$ref: /schemas/types.yaml#/definitions/uint32-array |
| 22 |
gpio-map-pass-thru: |
| 23 |
$ref: /schemas/types.yaml#/definitions/uint32-array |
| 24 |
|
| 25 |
dependentRequired: |
| 26 |
gpio-map: ['#gpio-cells'] |
| 27 |
'gpio-map-mask': [ gpio-map ] |
| 28 |
'gpio-map-pass-thru': [ gpio-map ] |
| 29 |
|
| 30 |
additionalProperties: true |