[PATCH RFC 17/19] dt-bindings: riscv: cpus: Document Espressif ESP32-P4 HP harts

Vítor Hugo Silva vitorhg20080 at gmail.com
Wed Nov 25 15:30:18 PST 2026


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 at gmail.com>
---
 .../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




More information about the linux-riscv mailing list