Skip to contentSkip to conversation

ARM: dts: at91: sama5d2: fix wrong interrupt-cells property

PATCH In review Eugen Hristev 2 participants 3 messages Dec 12, 2022 – Dec 21, 2022 Arm (32-bit)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: dts: at91: sama5d2: fix wrong interrupt-cells property

The PMC node is not an interrupt provider, so it must not have interrupt-cells.

This fixes the warning (on newer DTC):
arch/arm/dts/sama5d2.dtsi:82.22-602.6: Warning (interrupt_provider): /ahb/apb/pmc@f0014000: '#interrupt-cells' found, but node is not an interrupt provider

Fixes 2c4b2dd289 ("ARM: at91/dt: Add device tree for SAMA5D2 Xplained")
---
 arch/arm/dts/sama5d2.dtsi | 1 -
 1 file changed, 1 deletion(-)
arch/arm/dts/sama5d2.dtsi +0 -1
index 790b746ed1..187c2ff2fb 100644
@@ -84,7 +84,6 @@
 				reg = <0xf0014000 0x160>;
 				#address-cells = <1>;
 				#size-cells = <0>;
-				#interrupt-cells = <1>;
 				u-boot,dm-pre-reloc;
 
 				main: mainck {
Signature · 1 line
2.25.1
Reviewed-by on v1 1/1
#1 lore raw
Quoted 8 lines · Eugen Hristev

The PMC node is not an interrupt provider, so it must not have interrupt-cells.

This fixes the warning (on newer DTC):
arch/arm/dts/sama5d2.dtsi:82.22-602.6: Warning (interrupt_provider): /ahb/apb/pmc@f0014000: '#interrupt-cells' found, but node is not an interrupt provider

Fixes 2c4b2dd289 ("ARM: at91/dt: Add device tree for SAMA5D2 Xplained")
Quoted 16 lines
---
 arch/arm/dts/sama5d2.dtsi | 1 -
 1 file changed, 1 deletion(-)
arch/arm/dts/sama5d2.dtsi +0 -1
index 790b746ed1..187c2ff2fb 100644
@@ -84,7 +84,6 @@
 				reg = <0xf0014000 0x160>;
 				#address-cells = <1>;
 				#size-cells = <0>;
-				#interrupt-cells = <1>;
 				u-boot,dm-pre-reloc;
 
 				main: mainck {
#2 lore raw
Quoted 4 lines · On 12/12/22 12:07, Claudiu Beznea - M18063 wrote:
Quoted 3 lines · Eugen Hristev

The PMC node is not an interrupt provider, so it must not have interrupt-cells.

Quoted 9 lines
Quoted 5 lines

This fixes the warning (on newer DTC):
arch/arm/dts/sama5d2.dtsi:82.22-602.6: Warning (interrupt_provider): /ahb/apb/pmc@f0014000: '#interrupt-cells' found, but node is not an interrupt provider

Fixes 2c4b2dd289 ("ARM: at91/dt: Add device tree for SAMA5D2 Xplained")

Applied to u-boot-at91/next