2018-07-24 12:38:57 +00:00
|
|
|
From 364123029d8d547336323fbd3d659ecd0bba913f Mon Sep 17 00:00:00 2001
|
2018-02-21 19:40:50 +00:00
|
|
|
From: Matthew McClintock <mmcclint@codeaurora.org>
|
2018-07-24 12:38:57 +00:00
|
|
|
Date: Mon, 23 Jul 2018 08:41:02 +0200
|
|
|
|
Subject: [PATCH 5/8] qcom: ipq4019: use v2 of the kpss bringup mechanism
|
2018-02-21 19:40:50 +00:00
|
|
|
|
|
|
|
v1 was the incorrect choice here and sometimes the board
|
|
|
|
would not come up properly.
|
|
|
|
|
|
|
|
Signed-off-by: Matthew McClintock <mmcclint@codeaurora.org>
|
|
|
|
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
|
2018-07-24 12:38:57 +00:00
|
|
|
Signed-off-by: John Crispin <john@phrozen.org>
|
2018-02-21 19:40:50 +00:00
|
|
|
---
|
2018-07-24 12:38:57 +00:00
|
|
|
arch/arm/boot/dts/qcom-ipq4019.dtsi | 25 +++++++++++++++++--------
|
|
|
|
1 file changed, 17 insertions(+), 8 deletions(-)
|
2018-02-21 19:40:50 +00:00
|
|
|
|
|
|
|
--- a/arch/arm/boot/dts/qcom-ipq4019.dtsi
|
|
|
|
+++ b/arch/arm/boot/dts/qcom-ipq4019.dtsi
|
2018-07-30 15:08:49 +00:00
|
|
|
@@ -34,7 +34,8 @@
|
2018-02-21 19:40:50 +00:00
|
|
|
cpu@0 {
|
|
|
|
device_type = "cpu";
|
|
|
|
compatible = "arm,cortex-a7";
|
|
|
|
- enable-method = "qcom,kpss-acc-v1";
|
|
|
|
+ enable-method = "qcom,kpss-acc-v2";
|
|
|
|
+ next-level-cache = <&L2>;
|
|
|
|
qcom,acc = <&acc0>;
|
|
|
|
qcom,saw = <&saw0>;
|
|
|
|
reg = <0x0>;
|
2018-07-30 15:08:49 +00:00
|
|
|
@@ -53,7 +54,8 @@
|
2018-02-21 19:40:50 +00:00
|
|
|
cpu@1 {
|
|
|
|
device_type = "cpu";
|
|
|
|
compatible = "arm,cortex-a7";
|
|
|
|
- enable-method = "qcom,kpss-acc-v1";
|
|
|
|
+ enable-method = "qcom,kpss-acc-v2";
|
|
|
|
+ next-level-cache = <&L2>;
|
|
|
|
qcom,acc = <&acc1>;
|
|
|
|
qcom,saw = <&saw1>;
|
|
|
|
reg = <0x1>;
|
2018-07-30 15:08:49 +00:00
|
|
|
@@ -64,7 +66,8 @@
|
2018-02-21 19:40:50 +00:00
|
|
|
cpu@2 {
|
|
|
|
device_type = "cpu";
|
|
|
|
compatible = "arm,cortex-a7";
|
|
|
|
- enable-method = "qcom,kpss-acc-v1";
|
|
|
|
+ enable-method = "qcom,kpss-acc-v2";
|
|
|
|
+ next-level-cache = <&L2>;
|
|
|
|
qcom,acc = <&acc2>;
|
|
|
|
qcom,saw = <&saw2>;
|
|
|
|
reg = <0x2>;
|
2018-07-30 15:08:49 +00:00
|
|
|
@@ -75,13 +78,20 @@
|
2018-02-21 19:40:50 +00:00
|
|
|
cpu@3 {
|
|
|
|
device_type = "cpu";
|
|
|
|
compatible = "arm,cortex-a7";
|
|
|
|
- enable-method = "qcom,kpss-acc-v1";
|
|
|
|
+ enable-method = "qcom,kpss-acc-v2";
|
|
|
|
+ next-level-cache = <&L2>;
|
|
|
|
qcom,acc = <&acc3>;
|
|
|
|
qcom,saw = <&saw3>;
|
|
|
|
reg = <0x3>;
|
2018-07-24 12:38:57 +00:00
|
|
|
clocks = <&gcc GCC_APPS_CLK_SRC>;
|
|
|
|
clock-frequency = <0>;
|
|
|
|
};
|
|
|
|
+
|
|
|
|
+ L2: l2-cache {
|
|
|
|
+ compatible = "cache";
|
|
|
|
+ cache-level = <2>;
|
2018-07-30 15:08:49 +00:00
|
|
|
+ qcom,saw = <&saw_l2>;
|
2018-07-24 12:38:57 +00:00
|
|
|
+ };
|
|
|
|
};
|
|
|
|
|
|
|
|
pmu {
|
2018-07-30 15:08:49 +00:00
|
|
|
@@ -213,22 +223,22 @@
|
2018-02-21 19:40:50 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
acc0: clock-controller@b088000 {
|
|
|
|
- compatible = "qcom,kpss-acc-v1";
|
2018-07-24 12:38:57 +00:00
|
|
|
+ compatible = "qcom,kpss-acc-v2";
|
2018-02-21 19:40:50 +00:00
|
|
|
reg = <0x0b088000 0x1000>, <0xb008000 0x1000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
acc1: clock-controller@b098000 {
|
|
|
|
- compatible = "qcom,kpss-acc-v1";
|
2018-07-24 12:38:57 +00:00
|
|
|
+ compatible = "qcom,kpss-acc-v2";
|
2018-02-21 19:40:50 +00:00
|
|
|
reg = <0x0b098000 0x1000>, <0xb008000 0x1000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
acc2: clock-controller@b0a8000 {
|
|
|
|
- compatible = "qcom,kpss-acc-v1";
|
2018-07-24 12:38:57 +00:00
|
|
|
+ compatible = "qcom,kpss-acc-v2";
|
2018-02-21 19:40:50 +00:00
|
|
|
reg = <0x0b0a8000 0x1000>, <0xb008000 0x1000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
acc3: clock-controller@b0b8000 {
|
|
|
|
- compatible = "qcom,kpss-acc-v1";
|
2018-07-24 12:38:57 +00:00
|
|
|
+ compatible = "qcom,kpss-acc-v2";
|
2018-02-21 19:40:50 +00:00
|
|
|
reg = <0x0b0b8000 0x1000>, <0xb008000 0x1000>;
|
|
|
|
};
|
|
|
|
|
2018-07-30 15:08:49 +00:00
|
|
|
@@ -256,6 +266,12 @@
|
|
|
|
regulator;
|
|
|
|
};
|
|
|
|
|
|
|
|
+ saw_l2: regulator@b012000 {
|
|
|
|
+ compatible = "qcom,saw2";
|
|
|
|
+ reg = <0xb012000 0x1000>;
|
|
|
|
+ regulator;
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
serial@78af000 {
|
|
|
|
compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm";
|
|
|
|
reg = <0x78af000 0x200>;
|