mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-04-16 04:13:31 +00:00

uboot: - immortalwrt/immortalwrt@7a042afdee uboot-rockchip: fix RockPro64 boot from eMMC - immortalwrt/immortalwrt@f450acefb0 uboot-rockchip: update to v2021.01 - immortalwrt/immortalwrt@5cc1d3df78 rockchip: improve support for NanoPi R4S - immortalwrt/immortalwrt@83d3fb9634 uboot-rockchip: add NanoPi R4S support - immortalwrt/immortalwrt@3d86ffedd7 uboot-rockchip: update to v2020.10 - immortalwrt/immortalwrt@fe5fa0c7ab Revert "uboot-rockchip: fix nanopi-r2s failed to boot on some sd cards" target: - immortalwrt/immortalwrt@f67522e532 rockchip: add support for Radxa Rock Pi 4 - immortalwrt/immortalwrt@cd7fd0c77b rockchip: add NanoPi R4S support - immortalwrt/immortalwrt@02395293a2 rockchip: fix SUPPORTED_DEVICES for Radxa ROCK Pi 4 - immortalwrt/immortalwrt@c7b200b8a2 rockchip: re-order patches - immortalwrt/immortalwrt@aee038e773 rockchip: refresh Kconfig - immortalwrt/immortalwrt@22061b2880 kernel: enable CONFIG_LEDS_TRIGGER_HEARTBEAT - immortalwrt/immortalwrt@b1150de9e4 rockchip: add missing Kconfig symbols - immortalwrt/immortalwrt@ab28d07c3b treewide: fix spelling 'seperate' -> 'separate' - immortalwrt/immortalwrt@6401fca74d rockchip: use native mac address for NanoPi R4S Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
70 lines
2.0 KiB
Diff
70 lines
2.0 KiB
Diff
From 4f279f9fbca54464173240f7e73b145a136dfa1e Mon Sep 17 00:00:00 2001
|
|
From: Robin Murphy <robin.murphy@arm.com>
|
|
Date: Sun, 29 Dec 2019 20:16:17 +0000
|
|
Subject: arm64: dts: rockchip: Add RK3328 idle state
|
|
|
|
Downstream RK3328 DTBs describe a CPU idle state matching that present
|
|
on other SoCs like RK3399. This works with upstream Trusted Firmware-A
|
|
too, so let's add it here.
|
|
|
|
Signed-off-by: Robin Murphy <robin.murphy@arm.com>
|
|
Link: https://lore.kernel.org/r/a8c83e705d387446ea8121516d410e38b2d9c57b.1577640736.git.robin.murphy@arm.com
|
|
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
|
|
---
|
|
arch/arm64/boot/dts/rockchip/rk3328.dtsi | 17 +++++++++++++++++
|
|
1 file changed, 17 insertions(+)
|
|
|
|
--- a/arch/arm64/boot/dts/rockchip/rk3328.dtsi
|
|
+++ b/arch/arm64/boot/dts/rockchip/rk3328.dtsi
|
|
@@ -41,6 +41,7 @@
|
|
reg = <0x0 0x0>;
|
|
clocks = <&cru ARMCLK>;
|
|
#cooling-cells = <2>;
|
|
+ cpu-idle-states = <&CPU_SLEEP>;
|
|
dynamic-power-coefficient = <120>;
|
|
enable-method = "psci";
|
|
next-level-cache = <&l2>;
|
|
@@ -53,6 +54,7 @@
|
|
reg = <0x0 0x1>;
|
|
clocks = <&cru ARMCLK>;
|
|
#cooling-cells = <2>;
|
|
+ cpu-idle-states = <&CPU_SLEEP>;
|
|
dynamic-power-coefficient = <120>;
|
|
enable-method = "psci";
|
|
next-level-cache = <&l2>;
|
|
@@ -65,6 +67,7 @@
|
|
reg = <0x0 0x2>;
|
|
clocks = <&cru ARMCLK>;
|
|
#cooling-cells = <2>;
|
|
+ cpu-idle-states = <&CPU_SLEEP>;
|
|
dynamic-power-coefficient = <120>;
|
|
enable-method = "psci";
|
|
next-level-cache = <&l2>;
|
|
@@ -77,12 +80,26 @@
|
|
reg = <0x0 0x3>;
|
|
clocks = <&cru ARMCLK>;
|
|
#cooling-cells = <2>;
|
|
+ cpu-idle-states = <&CPU_SLEEP>;
|
|
dynamic-power-coefficient = <120>;
|
|
enable-method = "psci";
|
|
next-level-cache = <&l2>;
|
|
operating-points-v2 = <&cpu0_opp_table>;
|
|
};
|
|
|
|
+ idle-states {
|
|
+ entry-method = "psci";
|
|
+
|
|
+ CPU_SLEEP: cpu-sleep {
|
|
+ compatible = "arm,idle-state";
|
|
+ local-timer-stop;
|
|
+ arm,psci-suspend-param = <0x0010000>;
|
|
+ entry-latency-us = <120>;
|
|
+ exit-latency-us = <250>;
|
|
+ min-residency-us = <900>;
|
|
+ };
|
|
+ };
|
|
+
|
|
l2: l2-cache0 {
|
|
compatible = "cache";
|
|
};
|