Helios64 - Temporary Fix for Linux Kernel (current, 5.8) crash due to LPDDR4 configuration issue (#2200)

* Helios64: rework vdd_log and vdd_center

* helios64: Use rockchip binaries for legacy and current branch

Fully open source bootloader only on dev branch

Signed-off-by: Aditya Prayoga <aditya@kobol.io>

* rework vdd_log and vdd_center patches
This commit is contained in:
Aditya Prayoga 2020-09-15 23:41:58 +07:00 committed by GitHub
parent 6f6543c6f5
commit ec768b6e89
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 58 additions and 36 deletions

View file

@ -1,13 +1,13 @@
From 20d538b02c0d5bb9faf4470a9c57ce4551b95564 Mon Sep 17 00:00:00 2001
From 6446809b001f0b53fb33b68d307d08acc82eca8f Mon Sep 17 00:00:00 2001
From: Aditya Prayoga <aditya@kobol.io>
Date: Fri, 11 Sep 2020 20:57:53 +0700
Date: Tue, 15 Sep 2020 20:46:04 +0700
Subject: [PATCH] Add Helios64 board device tree
Signed-off-by: Aditya Prayoga <aditya@kobol.io>
---
arch/arm64/boot/dts/rockchip/Makefile | 1 +
.../boot/dts/rockchip/rk3399-helios64.dts | 1257 +++++++++++++++++
2 files changed, 1258 insertions(+)
.../boot/dts/rockchip/rk3399-helios64.dts | 1263 +++++++++++++++++
2 files changed, 1264 insertions(+)
create mode 100644 arch/arm64/boot/dts/rockchip/rk3399-helios64.dts
diff --git a/arch/arm64/boot/dts/rockchip/Makefile b/arch/arm64/boot/dts/rockchip/Makefile
@ -24,10 +24,10 @@ index dbebbf9fe..2b1e29649 100644
dtb-$(CONFIG_ARCH_ROCKCHIP) += \
diff --git a/arch/arm64/boot/dts/rockchip/rk3399-helios64.dts b/arch/arm64/boot/dts/rockchip/rk3399-helios64.dts
new file mode 100644
index 000000000..51462db75
index 000000000..ef95aa489
--- /dev/null
+++ b/arch/arm64/boot/dts/rockchip/rk3399-helios64.dts
@@ -0,0 +1,1257 @@
@@ -0,0 +1,1263 @@
+// SPDX-License-Identifier: GPL-2.0+
+/*
+ * Copyright (c) 2020 Aditya Prayoga (aditya@kobol.io)
@ -263,13 +263,18 @@ index 000000000..51462db75
+ regulator-name = "vdd_log";
+ regulator-always-on;
+ regulator-boot-on;
+ regulator-min-microvolt = <800000>;
+ regulator-min-microvolt = <830000>;
+ regulator-max-microvolt = <1400000>;
+ vin-supply = <&vcc5v0_sys>;
+
+ /* for rockchip boot on */
+ rockchip,pwm_id = <2>;
+ rockchip,pwm_voltage = <1000000>;
+ rockchip,pwm_voltage = <900000>;
+
+ regulator-state-mem {
+ regulator-on-in-suspend;
+ regulator-suspend-microvolt = <900000>;
+ };
+ };
+
+ power_hdd_a: power-hdd-a {
@ -611,11 +616,12 @@ index 000000000..51462db75
+ regulator-name = "vdd_center";
+ regulator-always-on;
+ regulator-boot-on;
+ regulator-min-microvolt = <750000>;
+ regulator-max-microvolt = <1350000>;
+ regulator-min-microvolt = <800000>;
+ regulator-max-microvolt = <1000000>;
+ regulator-ramp-delay = <6001>;
+ regulator-state-mem {
+ regulator-off-in-suspend;
+ regulator-on-in-suspend;
+ regulator-suspend-microvolt = <950000>;
+ };
+ };
+