Documentation/devicetree/bindings/pinctrl/raspberrypi,rp1-gpio.yaml
Source file repositories/reference/linux-study-clean/Documentation/devicetree/bindings/pinctrl/raspberrypi,rp1-gpio.yaml
File Facts
- System
- Linux kernel
- Corpus path
Documentation/devicetree/bindings/pinctrl/raspberrypi,rp1-gpio.yaml- Extension
.yaml- Size
- 7571 bytes
- Lines
- 232
- Domain
- Support Tooling And Documentation
- Bucket
- Documentation
- Inferred role
- Support Tooling And Documentation: configuration, schema, or hardware description
- Status
- atlas-only
Why This File Exists
Repository support layer: documentation, build tooling, samples, user-space helper tools, generated initramfs support, licenses, and validation utilities.
- Repository support layer: documentation, build tooling, samples, user-space helper tools, generated initramfs support, licenses, and validation utilities.
Dependency Surface
dt-bindings/interrupt-controller/irq.h
Detected Declarations
- No top-level syscall, struct, function, initcall, or export declaration detected by the generator.
Annotated Snippet
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/pinctrl/raspberrypi,rp1-gpio.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#
title: RaspberryPi RP1 GPIO/Pinconf/Pinmux Controller submodule
maintainers:
- A. della Porta <andrea.porta@suse.com>
description:
The RP1 chipset is a Multi Function Device containing, among other
sub-peripherals, a gpio/pinconf/mux controller whose 54 pins are grouped
into 3 banks.
It works also as an interrupt controller for those gpios.
properties:
compatible:
const: raspberrypi,rp1-gpio
reg:
maxItems: 3
description: One reg specifier for each one of the 3 pin banks.
'#gpio-cells':
description: The first cell is the pin number and the second cell is used
to specify the flags (see include/dt-bindings/gpio/gpio.h).
const: 2
gpio-controller: true
gpio-ranges:
maxItems: 1
gpio-line-names:
maxItems: 54
interrupts:
maxItems: 3
description: One interrupt specifier for each one of the 3 pin banks.
'#interrupt-cells':
description:
Specifies the Bank number [0, 1, 2] and Flags as defined in
include/dt-bindings/interrupt-controller/irq.h.
const: 2
interrupt-controller: true
patternProperties:
'-state$':
oneOf:
- $ref: '#/$defs/raspberrypi-rp1-state'
- patternProperties:
'-pins$':
$ref: '#/$defs/raspberrypi-rp1-state'
additionalProperties: false
$defs:
raspberrypi-rp1-state:
allOf:
- $ref: pincfg-node.yaml#
- $ref: pinmux-node.yaml#
description:
Pin controller client devices use pin configuration subnodes (children
and grandchildren) for desired pin configuration.
Client device subnodes use below standard properties.
Annotation
- Immediate include surface: `dt-bindings/interrupt-controller/irq.h`.
- Atlas domain: Support Tooling And Documentation / Documentation.
- Implementation status: atlas-only.
Implementation Notes
- This generated page is the file-by-file coverage layer; curated subsystem chapters should link here when they synthesize a multi-file control flow.
- Core OS pages should be promoted from atlas-only to deep-reviewed when they explain data structures, invariants, locking, lifecycle, and C implementation snippets.
- Driver-family pages are intentionally pattern-oriented unless they are part of the selected PCIe/NVMe representative device path.