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

Commit 8bade1a

Browse files
committed
ARM: dts: rockchip: Fix the spi controller on rk3036
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]>
1 parent 1580ccb commit 8bade1a

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
@@ -553,11 +553,11 @@
553553
};
554554

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

0 commit comments

Comments
 (0)