# SPDX-License-Identifier: BSD-2-Clause # Copyright 2018 Linaro Ltd. $id: http://devicetree.org/schemas/gpio/gpio-hog.yaml# $schema: http://devicetree.org/meta-schemas/base.yaml# title: GPIO Hog Nodes description: Schema for GPIO hog devicetree bindings maintainers: - Rob Herring # select this schema for GPIO hogs select: properties: gpio-hog: true required: - gpio-hog properties: $nodename: pattern: "-hog(-[0-9]+)?$" gpio-hog: $ref: /schemas/types.yaml#/definitions/flag gpios: $ref: /schemas/types.yaml#/definitions/uint32-matrix input: $ref: /schemas/types.yaml#/definitions/flag line-name: $ref: /schemas/types.yaml#/definitions/string output-high: $ref: /schemas/types.yaml#/definitions/flag output-low: $ref: /schemas/types.yaml#/definitions/flag required: - gpio-hog - gpios oneOf: - required: - input - required: - output-high - required: - output-low additionalProperties: false