diff mbox series

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

Message ID 20221212095916.253224-1-eugen.hristev@microchip.com
State Accepted
Commit 8374617637c5c26438ebea6a399aba69ba00054a
Delegated to: Eugen Hristev
Headers show
Series ARM: dts: at91: sama5d2: fix wrong interrupt-cells property | expand

Commit Message

Eugen Hristev Dec. 12, 2022, 9:59 a.m. UTC
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")
Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
---
 arch/arm/dts/sama5d2.dtsi | 1 -
 1 file changed, 1 deletion(-)

Comments

Claudiu Beznea Dec. 12, 2022, 10:07 a.m. UTC | #1
On 12.12.2022 11:59, Eugen Hristev wrote:
> 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")
> Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>

Reviewed-by: Claudiu Beznea <claudiu.beznea@microchip.com>


> ---
>  arch/arm/dts/sama5d2.dtsi | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/arch/arm/dts/sama5d2.dtsi b/arch/arm/dts/sama5d2.dtsi
> index 790b746ed1..187c2ff2fb 100644
> --- a/arch/arm/dts/sama5d2.dtsi
> +++ b/arch/arm/dts/sama5d2.dtsi
> @@ -84,7 +84,6 @@
>  				reg = <0xf0014000 0x160>;
>  				#address-cells = <1>;
>  				#size-cells = <0>;
> -				#interrupt-cells = <1>;
>  				u-boot,dm-pre-reloc;
>  
>  				main: mainck {
Eugen Hristev Dec. 21, 2022, 3:14 p.m. UTC | #2
On 12/12/22 12:07, Claudiu Beznea - M18063 wrote:
> On 12.12.2022 11:59, Eugen Hristev wrote:
>> 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")
>> Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
> 
> Reviewed-by: Claudiu Beznea <claudiu.beznea@microchip.com>
> 
> 

Applied to u-boot-at91/next
diff mbox series

Patch

diff --git a/arch/arm/dts/sama5d2.dtsi b/arch/arm/dts/sama5d2.dtsi
index 790b746ed1..187c2ff2fb 100644
--- a/arch/arm/dts/sama5d2.dtsi
+++ b/arch/arm/dts/sama5d2.dtsi
@@ -84,7 +84,6 @@ 
 				reg = <0xf0014000 0x160>;
 				#address-cells = <1>;
 				#size-cells = <0>;
-				#interrupt-cells = <1>;
 				u-boot,dm-pre-reloc;
 
 				main: mainck {