Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/arm/dts Mainline dts has switched to operating-poin...



details:   https://anonhg.NetBSD.org/src/rev/62c8b9afdd61
branches:  trunk
changeset: 451415:62c8b9afdd61
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Tue May 21 22:31:39 2019 +0000

description:
Mainline dts has switched to operating-points-v2

diffstat:

 sys/arch/arm/dts/sun8i-h3-nanopi-neo.dts      |   8 +-------
 sys/arch/arm/dts/sun8i-h3-orangepi-plus2e.dts |  24 +++++++++++++++---------
 2 files changed, 16 insertions(+), 16 deletions(-)

diffs (64 lines):

diff -r 4ab98c14d0d8 -r 62c8b9afdd61 sys/arch/arm/dts/sun8i-h3-nanopi-neo.dts
--- a/sys/arch/arm/dts/sun8i-h3-nanopi-neo.dts  Tue May 21 22:15:26 2019 +0000
+++ b/sys/arch/arm/dts/sun8i-h3-nanopi-neo.dts  Tue May 21 22:31:39 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sun8i-h3-nanopi-neo.dts,v 1.3 2017/11/30 21:36:45 jmcneill Exp $ */
+/* $NetBSD: sun8i-h3-nanopi-neo.dts,v 1.4 2019/05/21 22:31:39 jmcneill Exp $ */
 
 /*-
  * Copyright (c) 2017 Jared McNeill <jmcneill%invisible.ca@localhost>
@@ -33,12 +33,6 @@
        cpus {
                cpu@0 {
                        cpu-supply = <&vdd_cpu>;
-                       operating-points = <
-                               /* kHz    uV */
-                               1008000 1300000
-                               816000  1100000
-                               480000  1100000
-                               >;
                };
        };
 
diff -r 4ab98c14d0d8 -r 62c8b9afdd61 sys/arch/arm/dts/sun8i-h3-orangepi-plus2e.dts
--- a/sys/arch/arm/dts/sun8i-h3-orangepi-plus2e.dts     Tue May 21 22:15:26 2019 +0000
+++ b/sys/arch/arm/dts/sun8i-h3-orangepi-plus2e.dts     Tue May 21 22:31:39 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sun8i-h3-orangepi-plus2e.dts,v 1.3 2017/11/30 21:36:45 jmcneill Exp $ */
+/* $NetBSD: sun8i-h3-orangepi-plus2e.dts,v 1.4 2019/05/21 22:31:39 jmcneill Exp $ */
 
 /*-
  * Copyright (c) 2017 Jared McNeill <jmcneill%invisible.ca@localhost>
@@ -33,18 +33,24 @@
        cpus {
                cpu@0 {
                        cpu-supply = <&vdd_cpu>;
-                       operating-points = <
-                               /* kHz    uV */
-                               1296000 1340000
-                               1200000 1320000
-                               1008000 1200000
-                               816000  1100000
-                               648000  1040000
-                               >;
                };
        };
 };
 
+&cpu0_opp_table {
+       opp@1200000000 {
+               opp-hz = /bits/ 64 <1200000000>;
+               opp-microvolt = <1320000 1320000 1320000>;
+               clock-latency-ns = <244144>;
+       };
+
+       opp@1296000000 {
+               opp-hz = /bits/ 64 <1296000000>;
+               opp-microvolt = <1340000 1340000 1340000>;
+               clock-latency-ns = <244144>;
+       };
+};
+
 &r_i2c {
        status = "okay";
 



Home | Main Index | Thread Index | Old Index