diff mbox series

[V3,4/4] ARM: dts: bcm271x: add missing properties to local_intc

Message ID 20240812103652.29221-5-wahrenst@gmx.net (mailing list archive)
State New, archived
Headers show
Series ARM: dts: bcm283x: Improve device-trees and bindings | expand

Commit Message

Stefan Wahren Aug. 12, 2024, 10:36 a.m. UTC
After converting the bcm2836-l1-intc DT binding to YAML, the DT schema
checks gave warnings like:

interrupt-controller@40000000: 'interrupt-controller' is a required property
interrupt-controller@40000000: '#interrupt-cells' is a required property

So add them accordingly.

Signed-off-by: Stefan Wahren <wahrenst@gmx.net>
---
 arch/arm/boot/dts/broadcom/bcm2711.dtsi   | 2 ++
 arch/arm64/boot/dts/broadcom/bcm2712.dtsi | 2 ++
 2 files changed, 4 insertions(+)

--
2.34.1
diff mbox series

Patch

diff --git a/arch/arm/boot/dts/broadcom/bcm2711.dtsi b/arch/arm/boot/dts/broadcom/bcm2711.dtsi
index e4e42af21ef3..313b1046d74f 100644
--- a/arch/arm/boot/dts/broadcom/bcm2711.dtsi
+++ b/arch/arm/boot/dts/broadcom/bcm2711.dtsi
@@ -51,6 +51,8 @@  soc {
 		local_intc: interrupt-controller@40000000 {
 			compatible = "brcm,bcm2836-l1-intc";
 			reg = <0x40000000 0x100>;
+			interrupt-controller;
+			#interrupt-cells = <2>;
 		};

 		gicv2: interrupt-controller@40041000 {
diff --git a/arch/arm64/boot/dts/broadcom/bcm2712.dtsi b/arch/arm64/boot/dts/broadcom/bcm2712.dtsi
index 6e5a984c1d4e..7d192a5be851 100644
--- a/arch/arm64/boot/dts/broadcom/bcm2712.dtsi
+++ b/arch/arm64/boot/dts/broadcom/bcm2712.dtsi
@@ -224,6 +224,8 @@  mailbox: mailbox@7c013880 {
 		local_intc: interrupt-controller@7cd00000 {
 			compatible = "brcm,bcm2836-l1-intc";
 			reg = <0x7cd00000 0x100>;
+			interrupt-controller;
+			#interrupt-cells = <2>;
 		};

 		uart10: serial@7d001000 {