[PATCH 2/2] arm64: dts: sparx5: Fix for sgpio nodes

Horatiu Vultur horatiu.vultur at microchip.com
Fri Feb 4 07:35:35 PST 2022


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 at microchip.com>
---
 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 at 61101036c {
 			pinctrl-names = "default";
 			resets = <&reset 0>;
 			reset-names = "switch";
-			reg = <0x6 0x1101036c 0x100>;
+			reg = <0x6 0x1101036c 0x118>;
 			sgpio_in0: gpio at 0 {
 				compatible = "microchip,sparx5-sgpio-bank";
 				reg = <0>;
@@ -335,7 +335,7 @@ sgpio1: gpio at 611010484 {
 			pinctrl-names = "default";
 			resets = <&reset 0>;
 			reset-names = "switch";
-			reg = <0x6 0x11010484 0x100>;
+			reg = <0x6 0x11010484 0x118>;
 			sgpio_in1: gpio at 0 {
 				compatible = "microchip,sparx5-sgpio-bank";
 				reg = <0>;
@@ -365,7 +365,7 @@ sgpio2: gpio at 61101059c {
 			pinctrl-names = "default";
 			resets = <&reset 0>;
 			reset-names = "switch";
-			reg = <0x6 0x1101059c 0x100>;
+			reg = <0x6 0x1101059c 0x118>;
 			sgpio_in2: gpio at 0 {
 				reg = <0>;
 				compatible = "microchip,sparx5-sgpio-bank";
-- 
2.33.0




More information about the linux-arm-kernel mailing list