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

Conor Dooley conor.dooley at microchip.com
Fri Oct 7 06:37:59 PDT 2022


On Tue, Sep 20, 2022 at 10:37:35AM +0100, Conor Dooley wrote:
> 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")

Forgot about this patch... Changed the fixes tag since I had to rebase
the branch it was based on, and applied:
https://git.kernel.org/conor/c/c210b91818e81068ca2573c20684644b8e110a07

Figured it was better to apply despite being in the merge window rather
than submit a PR for a dt that I know is not right.

> 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
> 
> 
> _______________________________________________
> linux-riscv mailing list
> linux-riscv at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-riscv
> 



More information about the linux-riscv mailing list