1 From 5a8aa766cedac0ceaa4beabc30e9fa62dd9f1ac1 Mon Sep 17 00:00:00 2001
2 From: Ansuel Smith <ansuelsmth@gmail.com>
3 Date: Fri, 29 Apr 2022 14:23:16 +0200
4 Subject: [PATCH v2 1/2] ARM: dts: qcom: replace gcc PXO with pxo_board fixed
7 Replace gcc PXO phandle to pxo_board fixed clock declared in the dts.
8 gcc driver doesn't provide PXO_SRC as it's a fixed-clock. This cause a
9 kernel panic if any driver actually try to use it.
11 Fixes: 40cf5c884a96 ("ARM: dts: qcom: add L2CC and RPM for IPQ8064")
12 Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
14 arch/arm/boot/dts/qcom-ipq8064.dtsi | 4 ++--
15 1 file changed, 2 insertions(+), 2 deletions(-)
17 --- a/arch/arm/boot/dts/qcom-ipq8064.dtsi
18 +++ b/arch/arm/boot/dts/qcom-ipq8064.dtsi
20 clock-frequency = <25000000>;
24 + pxo_board: pxo_board {
25 compatible = "fixed-clock";
27 clock-frequency = <25000000>;
29 l2cc: clock-controller@2011000 {
30 compatible = "qcom,kpss-gcc", "syscon";
31 reg = <0x2011000 0x1000>;
32 - clocks = <&gcc PLL8_VOTE>, <&gcc PXO_SRC>;
33 + clocks = <&gcc PLL8_VOTE>, <&pxo_board>;
34 clock-names = "pll8_vote", "pxo";
35 clock-output-names = "acpu_l2_aux";