arm64: dts: ls1028a: Update the clock providers for the Mali DP500
authorWen He <wen.he_1@nxp.com>
Fri, 20 Sep 2019 08:34:18 +0000 (16:34 +0800)
committerShawn Guo <shawnguo@kernel.org>
Mon, 14 Oct 2019 06:19:12 +0000 (14:19 +0800)
In order to maximise performance of the LCD Controller's 64-bit AXI
bus, for any give speed bin of the device, the AXI master interface
clock(ACLK) clock can be up to CPU_frequency/2, which is already
capable of optimal performance. In general, ACLK is always expected
to be equal to CPU_frequency/2. APB slave interface clock(PCLK) and
Main processing clock(PCLK) both are tied to the same clock as ACLK.

This change followed the LS1028A Architecture Specification Manual.

Signed-off-by: Wen He <wen.he_1@nxp.com>
Acked-by: Li Yang <leoyang.li@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi

index 72b9a75..51fa8f5 100644 (file)
                clocks = <&osc_27m>;
        };
 
-       aclk: clock-axi {
-               compatible = "fixed-clock";
-               #clock-cells = <0>;
-               clock-frequency = <650000000>;
-               clock-output-names= "aclk";
-       };
-
-       pclk: clock-apb {
-               compatible = "fixed-clock";
-               #clock-cells = <0>;
-               clock-frequency = <650000000>;
-               clock-output-names= "pclk";
-       };
-
        reboot {
                compatible ="syscon-reboot";
                regmap = <&dcfg>;
                interrupts = <0 222 IRQ_TYPE_LEVEL_HIGH>,
                             <0 223 IRQ_TYPE_LEVEL_HIGH>;
                interrupt-names = "DE", "SE";
-               clocks = <&dpclk 0>, <&aclk>, <&aclk>, <&pclk>;
+               clocks = <&dpclk 0>, <&clockgen 2 2>, <&clockgen 2 2>,
+                        <&clockgen 2 2>;
                clock-names = "pxlclk", "mclk", "aclk", "pclk";
                arm,malidp-output-port-lines = /bits/ 8 <8 8 8>;
                arm,malidp-arqos-value = <0xd000d000>;