Skip to content
This repository was archived by the owner on Nov 8, 2023. It is now read-only.

Commit 1a22d37

Browse files
mmindgregkh
authored andcommitted
ARM: dts: rockchip: Fix the spi controller on rk3036
[ Upstream commit 8bade1a ] Compatible and clock names did not match the existing binding. So set the correct values and re-order+rename the clocks. It looks like no rk3036 board did use the spi controller so far, so this was never detected on a running device yet. Fixes: f629fcf ("ARM: dts: rockchip: support the spi for rk3036") Cc: Caesar Wang <[email protected]> Reviewed-by: Dragan Simic <[email protected]> Signed-off-by: Heiko Stuebner <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Heiko Stuebner <[email protected]> Signed-off-by: Sasha Levin <[email protected]>
1 parent 0f4e827 commit 1a22d37

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

arch/arm/boot/dts/rockchip/rk3036.dtsi

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -550,11 +550,11 @@
550550
};
551551

552552
spi: spi@20074000 {
553-
compatible = "rockchip,rockchip-spi";
553+
compatible = "rockchip,rk3036-spi";
554554
reg = <0x20074000 0x1000>;
555555
interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>;
556-
clocks = <&cru PCLK_SPI>, <&cru SCLK_SPI>;
557-
clock-names = "apb-pclk","spi_pclk";
556+
clocks = <&cru SCLK_SPI>, <&cru PCLK_SPI>;
557+
clock-names = "spiclk", "apb_pclk";
558558
dmas = <&pdma 8>, <&pdma 9>;
559559
dma-names = "tx", "rx";
560560
pinctrl-names = "default";

0 commit comments

Comments
 (0)