ARM: dts: sun8i: a23/a33: Fix OPP DTC warnings
authorMaxime Ripard <maxime.ripard@bootlin.com>
Wed, 21 Nov 2018 08:51:04 +0000 (09:51 +0100)
committerMaxime Ripard <maxime.ripard@bootlin.com>
Wed, 28 Nov 2018 14:14:17 +0000 (15:14 +0100)
DTC will emit a warning on our OPPs nodes for the common DTSI between the
A23 and A33 since those nodes use the frequency as unit addresses, but
don't have a matching reg property.

Fix this by moving the frequency to the node name instead.

Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
Acked-by: Chen-Yu Tsai <wens@csie.org>
arch/arm/boot/dts/sun8i-h3.dtsi
arch/arm/boot/dts/sun8i-r16-bananapi-m2m.dts

index 22883f1b80e28260a6d72a331de7ed5cd04a2573..9db1f58a47dec246fd8d033ffaa7bb231f62a827 100644 (file)
                compatible = "operating-points-v2";
                opp-shared;
 
-               opp@648000000 {
+               opp-648000000 {
                        opp-hz = /bits/ 64 <648000000>;
                        opp-microvolt = <1040000 1040000 1300000>;
                        clock-latency-ns = <244144>; /* 8 32k periods */
                };
 
-               opp@816000000 {
+               opp-816000000 {
                        opp-hz = /bits/ 64 <816000000>;
                        opp-microvolt = <1100000 1100000 1300000>;
                        clock-latency-ns = <244144>; /* 8 32k periods */
                };
 
-               opp@1008000000 {
+               opp-1008000000 {
                        opp-hz = /bits/ 64 <1008000000>;
                        opp-microvolt = <1200000 1200000 1300000>;
                        clock-latency-ns = <244144>; /* 8 32k periods */
index 0dbdb29a8fff9b1132b7011f725adc3e35b0a93b..ee7ce3752581b59160e0c6f62315cfbd27ebdb41 100644 (file)
 };
 
 &cpu0_opp_table {
-       opp@1104000000 {
+       opp-1104000000 {
                opp-hz = /bits/ 64 <1104000000>;
                opp-microvolt = <1320000>;
                clock-latency-ns = <244144>; /* 8 32k periods */
        };
 
-       opp@1200000000 {
+       opp-1200000000 {
                opp-hz = /bits/ 64 <1200000000>;
                opp-microvolt = <1320000>;
                clock-latency-ns = <244144>; /* 8 32k periods */