[PATCH] 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") Signed-off-by: Eugen Hristev eugen.hristev@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 {

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 {

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
participants (3)
-
Claudiu.Beznea@microchip.com
-
Eugen Hristev
-
Eugen.Hristev@microchip.com