]> www.infradead.org Git - users/dwmw2/linux.git/commitdiff
ARM: dts: rockchip: Fix the timer clocks order
authorEzequiel Garcia <ezequiel@collabora.com>
Thu, 6 May 2021 11:11:35 +0000 (08:11 -0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 28 Jul 2021 09:13:41 +0000 (11:13 +0200)
[ Upstream commit 7b46d674ac000b101fdad92cf16cc11d90b72f86 ]

Fixed order is the device-tree convention.
The timer driver currently gets clocks by name,
so no changes are needed there.

Signed-off-by: Ezequiel Garcia <ezequiel@collabora.com>
Link: https://lore.kernel.org/r/20210506111136.3941-3-ezequiel@collabora.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arm/boot/dts/rk3188.dtsi
arch/arm/boot/dts/rk3288.dtsi

index aa123f93f181c0d1b01f210fdee5e134518bfdc2..3b7cae6f4127507d6924275bae6b681cd3d69ad5 100644 (file)
                compatible = "rockchip,rk3188-timer", "rockchip,rk3288-timer";
                reg = <0x2000e000 0x20>;
                interrupts = <GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH>;
-               clocks = <&cru SCLK_TIMER3>, <&cru PCLK_TIMER3>;
-               clock-names = "timer", "pclk";
+               clocks = <&cru PCLK_TIMER3>, <&cru SCLK_TIMER3>;
+               clock-names = "pclk", "timer";
        };
 
        timer6: timer@200380a0 {
                compatible = "rockchip,rk3188-timer", "rockchip,rk3288-timer";
                reg = <0x200380a0 0x20>;
                interrupts = <GIC_SPI 64 IRQ_TYPE_LEVEL_HIGH>;
-               clocks = <&cru SCLK_TIMER6>, <&cru PCLK_TIMER0>;
-               clock-names = "timer", "pclk";
+               clocks = <&cru PCLK_TIMER0>, <&cru SCLK_TIMER6>;
+               clock-names = "pclk", "timer";
        };
 
        i2s0: i2s@1011a000 {
index 545f991924fe26565eb21471446813b98c7b711a..c38c853f5f500515782ca6db7b96f2b6b5863d37 100644 (file)
                compatible = "rockchip,rk3288-timer";
                reg = <0x0 0xff810000 0x0 0x20>;
                interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>;
-               clocks = <&xin24m>, <&cru PCLK_TIMER>;
-               clock-names = "timer", "pclk";
+               clocks = <&cru PCLK_TIMER>, <&xin24m>;
+               clock-names = "pclk", "timer";
        };
 
        display-subsystem {