Documentation/devicetree/bindings/pinctrl/st,stm32-hdp.yaml

Source file repositories/reference/linux-study-clean/Documentation/devicetree/bindings/pinctrl/st,stm32-hdp.yaml

File Facts

System
Linux kernel
Corpus path
Documentation/devicetree/bindings/pinctrl/st,stm32-hdp.yaml
Extension
.yaml
Size
10110 bytes
Lines
194
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.

Dependency Surface

Detected Declarations

Annotated Snippet

# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
# Copyright (C) STMicroelectronics 2025.
%YAML 1.2
---
$id: http://devicetree.org/schemas/pinctrl/st,stm32-hdp.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: STM32 Hardware Debug Port Mux/Config

maintainers:
  - Clément LE GOFFIC <legoffic.clement@gmail.com>

description:
  STMicroelectronics's STM32 MPUs integrate a Hardware Debug Port (HDP).
  It allows to output internal signals on SoC's GPIO.

properties:
  compatible:
    enum:
      - st,stm32mp131-hdp
      - st,stm32mp151-hdp
      - st,stm32mp251-hdp

  reg:
    maxItems: 1

  clocks:
    maxItems: 1

  access-controllers:
    minItems: 1
    items:
      - description: debug configuration access controller
      - description: access controller that manages the HDP as a peripheral

patternProperties:
  "^hdp[0-7]-pins$":
    type: object
    $ref: pinmux-node.yaml#
    additionalProperties: false

    properties:
      pins:
        pattern: '^HDP[0-7]$'

      function: true

    required:
      - function
      - pins

allOf:
  - $ref: pinctrl.yaml#
  - if:
      properties:
        compatible:
          contains:
            const: st,stm32mp131-hdp
    then:
      patternProperties:
        "^hdp[0-7]-pins$":
          properties:
            function:
              enum: [ pwr_pwrwake_sys, pwr_stop_forbidden, pwr_stdby_wakeup, pwr_encomp_vddcore,
                      bsec_out_sec_niden, aiec_sys_wakeup, none, ddrctrl_lp_req,
                      pwr_ddr_ret_enable_n, dts_clk_ptat, sram3ctrl_tamp_erase_act, gpoval0,
                      pwr_sel_vth_vddcpu, pwr_mpu_ram_lowspeed, ca7_naxierrirq, pwr_okin_mr,
                      bsec_out_sec_dbgen, aiec_c1_wakeup, rcc_pwrds_mpu, ddrctrl_dfi_ctrlupd_req,
                      ddrctrl_cactive_ddrc_asr, sram3ctrl_hw_erase_act, nic400_s0_bready, gpoval1,
                      pwr_pwrwake_mpu, pwr_mpu_clock_disable_ack, ca7_ndbgreset_i,

Annotation

Implementation Notes