[v2,1/2] ARM: dts: aspeed: ast2500: Fix SCU IRQ controller node
diff mbox series

Message ID 1581363147-19310-2-git-send-email-eajames@linux.ibm.com
State Accepted, archived
Headers show
Series
  • ARM: dts: aspeed: Fix SCU IRQ controller node addresses
Related show

Commit Message

Eddie James Feb. 10, 2020, 7:32 p.m. UTC
The node was defined with a unit address but had no reg property,
resulting in a warning. Add a reg property for consistency to fix the
warning.

Signed-off-by: Eddie James <eajames@linux.ibm.com>
---
 arch/arm/boot/dts/aspeed-g5.dtsi | 1 +
 1 file changed, 1 insertion(+)

Comments

Andrew Jeffery Feb. 16, 2020, 11:52 p.m. UTC | #1
On Tue, 11 Feb 2020, at 06:02, Eddie James wrote:
> The node was defined with a unit address but had no reg property,
> resulting in a warning. Add a reg property for consistency to fix the
> warning.
> 
> Signed-off-by: Eddie James <eajames@linux.ibm.com>

Reviewed-by: Andrew Jeffery <andrew@aj.id.au>

> ---
>  arch/arm/boot/dts/aspeed-g5.dtsi | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/arch/arm/boot/dts/aspeed-g5.dtsi b/arch/arm/boot/dts/aspeed-g5.dtsi
> index 569f9d7..9db7bde 100644
> --- a/arch/arm/boot/dts/aspeed-g5.dtsi
> +++ b/arch/arm/boot/dts/aspeed-g5.dtsi
> @@ -225,6 +225,7 @@
>  				scu_ic: interrupt-controller@18 {
>  					#interrupt-cells = <1>;
>  					compatible = "aspeed,ast2500-scu-ic";
> +					reg = <0x18 0x4>;
>  					interrupts = <21>;
>  					interrupt-controller;
>  				};
> -- 
> 1.8.3.1
> 
>

Patch
diff mbox series

diff --git a/arch/arm/boot/dts/aspeed-g5.dtsi b/arch/arm/boot/dts/aspeed-g5.dtsi
index 569f9d7..9db7bde 100644
--- a/arch/arm/boot/dts/aspeed-g5.dtsi
+++ b/arch/arm/boot/dts/aspeed-g5.dtsi
@@ -225,6 +225,7 @@ 
 				scu_ic: interrupt-controller@18 {
 					#interrupt-cells = <1>;
 					compatible = "aspeed,ast2500-scu-ic";
+					reg = <0x18 0x4>;
 					interrupts = <21>;
 					interrupt-controller;
 				};