Commit abe076fb authored by Chen-Yu Tsai's avatar Chen-Yu Tsai
Browse files

ARM: dts: sun8i: r40: Fix register base address for SPI2 and SPI3



When the SPI device nodes were added, SPI2 and SPI3 had incorrect
register base addresses.

Fix the base address for both of them.

Fixes: 554581b7 ("ARM: dts: sun8i: R40: Add SPI controllers nodes and pinmuxes")
Reported-by: default avatarJuanEsf <juanesf91@gmail.com>
Acked-by: default avatarMaxime Ripard <mripard@kernel.org>
Reviewed-by: default avatarAndre Przywara <andre.przywara@arm.com>
Signed-off-by: default avatarChen-Yu Tsai <wens@csie.org>
parent fe3a0482
Loading
Loading
Loading
Loading
+4 −4
Original line number Original line Diff line number Diff line
@@ -689,10 +689,10 @@
			#size-cells = <0>;
			#size-cells = <0>;
		};
		};


		spi2: spi@1c07000 {
		spi2: spi@1c17000 {
			compatible = "allwinner,sun8i-r40-spi",
			compatible = "allwinner,sun8i-r40-spi",
				     "allwinner,sun8i-h3-spi";
				     "allwinner,sun8i-h3-spi";
			reg = <0x01c07000 0x1000>;
			reg = <0x01c17000 0x1000>;
			interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>;
			interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>;
			clocks = <&ccu CLK_BUS_SPI2>, <&ccu CLK_SPI2>;
			clocks = <&ccu CLK_BUS_SPI2>, <&ccu CLK_SPI2>;
			clock-names = "ahb", "mod";
			clock-names = "ahb", "mod";
@@ -702,10 +702,10 @@
			#size-cells = <0>;
			#size-cells = <0>;
		};
		};


		spi3: spi@1c0f000 {
		spi3: spi@1c1f000 {
			compatible = "allwinner,sun8i-r40-spi",
			compatible = "allwinner,sun8i-r40-spi",
				     "allwinner,sun8i-h3-spi";
				     "allwinner,sun8i-h3-spi";
			reg = <0x01c0f000 0x1000>;
			reg = <0x01c1f000 0x1000>;
			interrupts = <GIC_SPI 50 IRQ_TYPE_LEVEL_HIGH>;
			interrupts = <GIC_SPI 50 IRQ_TYPE_LEVEL_HIGH>;
			clocks = <&ccu CLK_BUS_SPI3>, <&ccu CLK_SPI3>;
			clocks = <&ccu CLK_BUS_SPI3>, <&ccu CLK_SPI3>;
			clock-names = "ahb", "mod";
			clock-names = "ahb", "mod";