From bfa19a0b2f61e0930170eda31c161681b0175917 Mon Sep 17 00:00:00 2001 From: "Ziv.Xu" Date: Mon, 5 Sep 2022 13:19:06 +0800 Subject: [PATCH] riscv:dts: revise compatible value for PCIE/CPUfreq/idle/PMIC revise compatible values for PCIE/CPUfreq/idle/PMIC Signed-off-by: Ziv.Xu --- arch/riscv/boot/dts/starfive/jh7110-evb.dtsi | 4 ++-- arch/riscv/boot/dts/starfive/jh7110.dtsi | 16 ++++++++-------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/arch/riscv/boot/dts/starfive/jh7110-evb.dtsi b/arch/riscv/boot/dts/starfive/jh7110-evb.dtsi index 58019b5..06e0de8 100644 --- a/arch/riscv/boot/dts/starfive/jh7110-evb.dtsi +++ b/arch/riscv/boot/dts/starfive/jh7110-evb.dtsi @@ -8,8 +8,8 @@ #include "jh7110-common.dtsi" &i2c5 { - pmic: stf7110_evb_reg@50 { - compatible = "stf,jh7110-evb-regulator"; + pmic: jh7110_evb_reg@50 { + compatible = "starfive,jh7110-evb-regulator"; reg = <0x50>; regulators { diff --git a/arch/riscv/boot/dts/starfive/jh7110.dtsi b/arch/riscv/boot/dts/starfive/jh7110.dtsi index fc25056..729a4f1 100755 --- a/arch/riscv/boot/dts/starfive/jh7110.dtsi +++ b/arch/riscv/boot/dts/starfive/jh7110.dtsi @@ -222,7 +222,7 @@ idle-states { CPU_RET_0_0: cpu-retentive-0-0 { - compatible = "riscv,idle-state"; + compatible = "starfive,jh7110-idle-state"; riscv,sbi-suspend-param = <0x10000000>; entry-latency-us = <20>; exit-latency-us = <40>; @@ -230,7 +230,7 @@ }; CPU_NONRET_0_0: cpu-nonretentive-0-0 { - compatible = "riscv,idle-state"; + compatible = "starfive,jh7110-idle-state"; riscv,sbi-suspend-param = <0x90000000>; entry-latency-us = <250>; exit-latency-us = <500>; @@ -238,7 +238,7 @@ }; CLUSTER_RET_0: cluster-retentive-0 { - compatible = "riscv,idle-state"; + compatible = "starfive,jh7110-idle-state"; riscv,sbi-suspend-param = <0x11000000>; local-timer-stop; entry-latency-us = <50>; @@ -248,7 +248,7 @@ }; CLUSTER_NONRET_0: cluster-nonretentive-0 { - compatible = "riscv,idle-state"; + compatible = "starfive,jh7110-idle-state"; riscv,sbi-suspend-param = <0x91000000>; local-timer-stop; entry-latency-us = <600>; @@ -1503,7 +1503,7 @@ }; pcie0: pcie@2B000000 { - compatible = "plda,pci-xpressrich3-axi"; + compatible = "starfive,jh7110-pcie","plda,pci-xpressrich3-axi"; #address-cells = <3>; #size-cells = <2>; #interrupt-cells = <1>; @@ -1541,7 +1541,7 @@ }; pcie1: pcie@2C000000 { - compatible = "plda,pci-xpressrich3-axi"; + compatible = "starfive,jh7110-pcie","plda,pci-xpressrich3-axi"; #address-cells = <3>; #size-cells = <2>; #interrupt-cells = <1>; @@ -1801,8 +1801,8 @@ }; }; - stf_cpufreq: starfive,stf-cpufreq { - compatible = "starfive,stf-cpufreq"; + starfive_cpufreq: starfive,jh7110-cpufreq { + compatible = "starfive,jh7110-cpufreq"; clocks = <&clkgen JH7110_PLL0_OUT>, <&clkgen JH7110_CPU_ROOT>, <&osc>; -- 2.7.4