[PATCH 2/2] arm64: dts: sparx5: Fix for sgpio nodes
From: Horatiu Vultur
Date: Fri Feb 04 2022 - 10:33:48 EST
When the support for irqs was added for sgpio driver the memory size was
not updated. Because the irq registers are found at address 0x108.
Fixes: d0f482bb06f944 ("arm64: dts: sparx5: Add the Sparx5 switch node")
Signed-off-by: Horatiu Vultur <horatiu.vultur@xxxxxxxxxxxxx>
---
arch/arm64/boot/dts/microchip/sparx5.dtsi | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/arch/arm64/boot/dts/microchip/sparx5.dtsi b/arch/arm64/boot/dts/microchip/sparx5.dtsi
index 787ebcec121d..b9f2e2fa3d43 100644
--- a/arch/arm64/boot/dts/microchip/sparx5.dtsi
+++ b/arch/arm64/boot/dts/microchip/sparx5.dtsi
@@ -305,7 +305,7 @@ sgpio0: gpio@61101036c {
pinctrl-names = "default";
resets = <&reset 0>;
reset-names = "switch";
- reg = <0x6 0x1101036c 0x100>;
+ reg = <0x6 0x1101036c 0x118>;
sgpio_in0: gpio@0 {
compatible = "microchip,sparx5-sgpio-bank";
reg = <0>;
@@ -335,7 +335,7 @@ sgpio1: gpio@611010484 {
pinctrl-names = "default";
resets = <&reset 0>;
reset-names = "switch";
- reg = <0x6 0x11010484 0x100>;
+ reg = <0x6 0x11010484 0x118>;
sgpio_in1: gpio@0 {
compatible = "microchip,sparx5-sgpio-bank";
reg = <0>;
@@ -365,7 +365,7 @@ sgpio2: gpio@61101059c {
pinctrl-names = "default";
resets = <&reset 0>;
reset-names = "switch";
- reg = <0x6 0x1101059c 0x100>;
+ reg = <0x6 0x1101059c 0x118>;
sgpio_in2: gpio@0 {
reg = <0>;
compatible = "microchip,sparx5-sgpio-bank";
--
2.33.0