Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: dts: keystone: fix netcp's clocks definitions

The clocks tree for Keystone 2 NTCP devices should be
defined as following:
[refclk] - board dependent
|- <papllclk> - PLL clock
|- <paclk13> - fixed factor clock div=3 mul=1
|- <clkpa> - gated clock
|- <clkcpgmac> - gated clock
|- <clksa> - gated clock

Hence, update Keystone 2 DT to follow HW specification.

Signed-off-by: WingMan Kwok <w-kwok2@ti.com>
Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com>

authored by

Grygorii Strashko and committed by
Santosh Shilimkar
2b7ef094 7171511e

+4 -4
+1 -1
arch/arm/boot/dts/k2e-clocks.dtsi
··· 22 22 #clock-cells = <0>; 23 23 compatible = "ti,keystone,pll-clock"; 24 24 clocks = <&refclkpass>; 25 - clock-output-names = "pa-pll-clk"; 25 + clock-output-names = "papllclk"; 26 26 reg = <0x02620358 4>; 27 27 reg-names = "control"; 28 28 };
+1 -1
arch/arm/boot/dts/k2hk-clocks.dtsi
··· 31 31 #clock-cells = <0>; 32 32 compatible = "ti,keystone,pll-clock"; 33 33 clocks = <&refclkpass>; 34 - clock-output-names = "pa-pll-clk"; 34 + clock-output-names = "papllclk"; 35 35 reg = <0x02620358 4>; 36 36 reg-names = "control"; 37 37 };
+1 -1
arch/arm/boot/dts/k2l-clocks.dtsi
··· 31 31 #clock-cells = <0>; 32 32 compatible = "ti,keystone,pll-clock"; 33 33 clocks = <&refclksys>; 34 - clock-output-names = "pa-pll-clk"; 34 + clock-output-names = "papllclk"; 35 35 reg = <0x02620358 4>; 36 36 reg-names = "control"; 37 37 };
+1 -1
arch/arm/boot/dts/keystone-clocks.dtsi
··· 215 215 clkpa: clkpa { 216 216 #clock-cells = <0>; 217 217 compatible = "ti,keystone,psc-clock"; 218 - clocks = <&chipclk16>; 218 + clocks = <&paclk13>; 219 219 clock-output-names = "pa"; 220 220 reg = <0x0235001c 0xb00>, <0x02350008 0x400>; 221 221 reg-names = "control", "domain";