Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 33 additions & 0 deletions dts/bindings/gpio/gpio-in.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
#
# Copyright (c) 2019, Prevas A/S
# All rights reserved.
#
# SPDX-License-Identifier: Apache-2.0
#
---
title: GPIO IN
version: 0.1

description: >
This is a representation of generic GPIO input nodes

properties:
compatible:
type: string
category: required
description: compatible strings
constraint: "gpio-in"
generation: define

gpios:
type: compound
category: required
generation: define

label:
type: string
category: required
description: Human readable string describing the device (used by Zephyr for API name)
generation: define

...
33 changes: 33 additions & 0 deletions dts/bindings/gpio/gpio-out.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
#
# Copyright (c) 2019, Prevas A/S
# All rights reserved.
#
# SPDX-License-Identifier: Apache-2.0
#
---
title: GPIO OUT
version: 0.1

description: >
This is a representation of generic GPIO output nodes

properties:
compatible:
type: string
category: required
description: compatible strings
constraint: "gpio-out"
generation: define

gpios:
type: compound
category: required
generation: define

label:
type: string
category: required
description: Human readable string describing the device (used by Zephyr for API name)
generation: define

...