OSDN Git Service

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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 13 Dec 2019 07:52:06 +0000 (08:52 +0100)
[ Upstream commit a858f569b80a69076c521532a289097af905cf1e ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arm/boot/dts/sun8i-h3.dtsi
arch/arm/boot/dts/sun8i-r16-bananapi-m2m.dts

index f009607..97de6ad 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 0dbdb29..ee7ce37 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 */