mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-06 10:58:48 +09:00
arm64: dts: rockchip: add rk3588 dmc relate node
Signed-off-by: YouMin Chen <cym@rock-chips.com> Change-Id: I89520fdd76f7584b17312c2c7a88f8b6271d4c7d
This commit is contained in:
@@ -9,6 +9,7 @@
|
||||
#include <dt-bindings/phy/phy.h>
|
||||
#include <dt-bindings/power/rk3588-power.h>
|
||||
#include <dt-bindings/soc/rockchip,boot-mode.h>
|
||||
#include <dt-bindings/soc/rockchip-system-status.h>
|
||||
|
||||
/ {
|
||||
compatible = "rockchip,rk3588";
|
||||
@@ -745,6 +746,41 @@
|
||||
};
|
||||
};
|
||||
|
||||
dmc: dmc {
|
||||
compatible = "rockchip,rk3588-dmc";
|
||||
interrupts = <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>;
|
||||
interrupt-names = "complete";
|
||||
devfreq-events = <&dfi>;
|
||||
clocks = <&scmi_clk 4>;
|
||||
clock-names = "dmc_clk";
|
||||
operating-points-v2 = <&dmc_opp_table>;
|
||||
upthreshold = <40>;
|
||||
downdifferential = <20>;
|
||||
system-status-level = <
|
||||
/*system status freq level*/
|
||||
SYS_STATUS_NORMAL DMC_FREQ_LEVEL_MID_HIGH
|
||||
SYS_STATUS_REBOOT DMC_FREQ_LEVEL_HIGH
|
||||
SYS_STATUS_SUSPEND DMC_FREQ_LEVEL_LOW
|
||||
SYS_STATUS_VIDEO_4K DMC_FREQ_LEVEL_MID_HIGH
|
||||
SYS_STATUS_VIDEO_4K_10B DMC_FREQ_LEVEL_MID_HIGH
|
||||
SYS_STATUS_BOOST DMC_FREQ_LEVEL_HIGH
|
||||
SYS_STATUS_ISP DMC_FREQ_LEVEL_HIGH
|
||||
SYS_STATUS_PERFORMANCE DMC_FREQ_LEVEL_HIGH
|
||||
SYS_STATUS_DUALVIEW DMC_FREQ_LEVEL_HIGH
|
||||
>;
|
||||
auto-freq-en = <1>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
dmc_opp_table: dmc-opp-table {
|
||||
compatible = "operating-points-v2";
|
||||
|
||||
opp-2750000000 {
|
||||
opp-hz = /bits/ 64 <2750000000>;
|
||||
opp-microvolt = <850000>;
|
||||
};
|
||||
};
|
||||
|
||||
firmware {
|
||||
scmi: scmi {
|
||||
compatible = "arm,scmi-smc";
|
||||
|
||||
Reference in New Issue
Block a user