Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --- linux-stable/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi 2018-09-12 15:48:45.771415473 +0000
- +++ /tmp/sun50i-a64.dtsi 2018-09-12 15:50:33.029155085 +0000
- @@ -88,6 +88,18 @@
- device_type = "cpu";
- reg = <0>;
- enable-method = "psci";
- + cpufreq_tbl = < 480000
- + 600000
- + 720000
- + 816000
- + 1008000
- + 1104000
- + 1152000
- + 1200000
- + 1344000>;
- + clock-latency = <2000000>;
- + clock-frequency = <1008000000>;
- + cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0 &SYS_SLEEP_0>;
- };
- cpu1: cpu@1 {
- @@ -95,6 +107,8 @@
- device_type = "cpu";
- reg = <1>;
- enable-method = "psci";
- + clock-frequency = <1008000000>;
- + cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0 &SYS_SLEEP_0>;
- };
- cpu2: cpu@2 {
- @@ -102,6 +116,8 @@
- device_type = "cpu";
- reg = <2>;
- enable-method = "psci";
- + clock-frequency = <1008000000>;
- + cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0 &SYS_SLEEP_0>;
- };
- cpu3: cpu@3 {
- @@ -109,6 +125,35 @@
- device_type = "cpu";
- reg = <3>;
- enable-method = "psci";
- + clock-frequency = <1008000000>;
- + cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0 &SYS_SLEEP_0>;
- + };
- + idle-states {
- + entry-method = "arm,psci";
- +
- + CPU_SLEEP_0: cpu-sleep-0 {
- + compatible = "arm,idle-state";
- + arm,psci-suspend-param = <0x0010000>;
- + entry-latency-us = <40>;
- + exit-latency-us = <100>;
- + min-residency-us = <150>;
- + };
- +
- + CLUSTER_SLEEP_0: cluster-sleep-0 {
- + compatible = "arm,idle-state";
- + arm,psci-suspend-param = <0x1010000>;
- + entry-latency-us = <500>;
- + exit-latency-us = <1000>;
- + min-residency-us = <2500>;
- + };
- +
- + SYS_SLEEP_0: sys-sleep-0 {
- + compatible = "arm,idle-state";
- + arm,psci-suspend-param = <0x2010000>;
- + entry-latency-us = <1000>;
- + exit-latency-us = <2000>;
- + min-residency-us = <4500>;
- + };
- };
- };
- @@ -137,6 +182,16 @@
- psci {
- compatible = "arm,psci-0.2";
- method = "smc";
- + psci_version = <0x84000000>;
- + cpu_suspend = <0xc4000001>;
- + cpu_off = <0x84000002>;
- + cpu_on = <0xc4000003>;
- + affinity_info = <0xc4000004>;
- + migrate = <0xc4000005>;
- + migrate_info_type = <0x84000006>;
- + migrate_info_up_cpu = <0xc4000007>;
- + system_off = <0x84000008>;
- + system_reset = <0x84000009>;
- };
- sound_spdif {
- @@ -169,6 +224,29 @@
- (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>;
- };
- + dvfs_table: dvfs_table {
- + compatible = "allwinner,dvfs_table";
- + max_freq = <1200000000>;
- + min_freq = <480000000>;
- + lv_count = <8>;
- + lv1_freq = <1200000000>;
- + lv1_volt = <1300>;
- + lv2_freq = <1008000000>;
- + lv2_volt = <1200>;
- + lv3_freq = <816000000>;
- + lv3_volt = <1100>;
- + lv4_freq = <648000000>;
- + lv4_volt = <1040>;
- + lv5_freq = <0>;
- + lv5_volt = <1040>;
- + lv6_freq = <0>;
- + lv6_volt = <1040>;
- + lv7_freq = <0>;
- + lv7_volt = <1040>;
- + lv8_freq = <0>;
- + lv8_volt = <1040>;
- + };
- +
- soc {
- compatible = "simple-bus";
- #address-cells = <1>;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement