[PATCH RFC 17/19] dt-bindings: riscv: cpus: Document Espressif ESP32-P4 HP harts
From: Vítor Hugo Silva
Date: Wed Nov 25 2026 - 18:32:22 EST
Add esp,esp32p4-hp as a compatible for the ESP32-P4 high-performance
harts, with riscv as the fallback.
These harts receive interrupts through the memory-mapped CLIC, which
has its own binding and node. Disallow the CSR-based interrupt
controller child for ESP32-P4 HP harts and keep requiring it for
other RISC-V CPUs.
AI assisted with writing and validating the schema change.
Link: https://documentation.espressif.com/esp32-p4_technical_reference_manual_en.pdf
Signed-off-by: Vítor Hugo Silva <vitorhg20080@xxxxxxxxx>
---
.../devicetree/bindings/riscv/cpus.yaml | 17 ++++++++++++++---
1 file changed, 14 insertions(+), 3 deletions(-)
diff --git a/Documentation/devicetree/bindings/riscv/cpus.yaml b/Documentation/devicetree/bindings/riscv/cpus.yaml
index 0da219ae6769..17fef52aede1 100644
--- a/Documentation/devicetree/bindings/riscv/cpus.yaml
+++ b/Documentation/devicetree/bindings/riscv/cpus.yaml
@@ -38,6 +38,19 @@ allOf:
then:
properties:
thead,vlenb: false
+ - if:
+ properties:
+ compatible:
+ contains:
+ const: esp,esp32p4-hp
+ required:
+ - compatible
+ then:
+ properties:
+ interrupt-controller: false
+ else:
+ required:
+ - interrupt-controller
properties:
compatible:
@@ -48,6 +61,7 @@ properties:
- amd,mbv64
- andestech,ax45mp
- canaan,k210
+ - esp,esp32p4-hp
- nuclei,ux900
- sifive,bullet0
- sifive,e5
@@ -154,9 +168,6 @@ dependencies:
riscv,isa-base: ["riscv,isa-extensions"]
riscv,isa-extensions: ["riscv,isa-base"]
-required:
- - interrupt-controller
-
unevaluatedProperties: false
examples:
--
2.56.1