[PATCH] riscv: dts: microchip: fix fabric i2c reg size

Conor Dooley conor.dooley at microchip.com
Tue Sep 20 02:37:35 PDT 2022


The size of the reg should've been changed when the address was changed,
but obviously I forgot to do so.

Fixes: 7f3be227e818 ("riscv: dts: microchip: icicle: re-jig fabric peripheral addresses")
Signed-off-by: Conor Dooley <conor.dooley at microchip.com>
---
 arch/riscv/boot/dts/microchip/mpfs-icicle-kit-fabric.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/riscv/boot/dts/microchip/mpfs-icicle-kit-fabric.dtsi b/arch/riscv/boot/dts/microchip/mpfs-icicle-kit-fabric.dtsi
index c196bbfc0c24..917ed4c7b18f 100644
--- a/arch/riscv/boot/dts/microchip/mpfs-icicle-kit-fabric.dtsi
+++ b/arch/riscv/boot/dts/microchip/mpfs-icicle-kit-fabric.dtsi
@@ -17,7 +17,7 @@ core_pwm0: pwm at 40000000 {
 
 	i2c2: i2c at 40000200 {
 		compatible = "microchip,corei2c-rtl-v7";
-		reg = <0x0 0x40000200 0x0 0x1000>;
+		reg = <0x0 0x40000200 0x0 0x100>;
 		#address-cells = <1>;
 		#size-cells = <0>;
 		clocks = <&ccc_nw CLK_CCC_PLL0_OUT3>;
-- 
2.37.3




More information about the linux-riscv mailing list