diff options
author | Viresh Kumar <viresh.kumar@linaro.org> | 2017-04-20 06:55:11 -0400 |
---|---|---|
committer | Shawn Guo <shawnguo@kernel.org> | 2017-06-21 07:05:38 -0400 |
commit | 61c9e029912d4962c52361f0f7cb5f77c405f08b (patch) | |
tree | 81944f13e826ec28e9faf42b15a79bc767ac0f81 | |
parent | 2ea659a9ef488125eb46da6eb571de5eae5c43f6 (diff) |
arm64: dts: zte: Use - instead of @ for DT OPP entries
Compiling the DT file with W=1, DTC warns like follows:
Warning (unit_address_vs_reg): Node /opp_table0/opp@1000000000 has a
unit name, but no reg property
Fix this by replacing '@' with '-' as the OPP nodes will never have a
"reg" property.
Reported-by: Krzysztof Kozlowski <krzk@kernel.org>
Reported-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Suggested-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
-rw-r--r-- | arch/arm64/boot/dts/zte/zx296718.dtsi | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/arch/arm64/boot/dts/zte/zx296718.dtsi b/arch/arm64/boot/dts/zte/zx296718.dtsi index 316dc713268c..d83bf789c864 100644 --- a/arch/arm64/boot/dts/zte/zx296718.dtsi +++ b/arch/arm64/boot/dts/zte/zx296718.dtsi | |||
@@ -118,27 +118,27 @@ | |||
118 | compatible = "operating-points-v2"; | 118 | compatible = "operating-points-v2"; |
119 | opp-shared; | 119 | opp-shared; |
120 | 120 | ||
121 | opp@500000000 { | 121 | opp-500000000 { |
122 | opp-hz = /bits/ 64 <500000000>; | 122 | opp-hz = /bits/ 64 <500000000>; |
123 | clock-latency-ns = <500000>; | 123 | clock-latency-ns = <500000>; |
124 | }; | 124 | }; |
125 | 125 | ||
126 | opp@648000000 { | 126 | opp-648000000 { |
127 | opp-hz = /bits/ 64 <648000000>; | 127 | opp-hz = /bits/ 64 <648000000>; |
128 | clock-latency-ns = <500000>; | 128 | clock-latency-ns = <500000>; |
129 | }; | 129 | }; |
130 | 130 | ||
131 | opp@800000000 { | 131 | opp-800000000 { |
132 | opp-hz = /bits/ 64 <800000000>; | 132 | opp-hz = /bits/ 64 <800000000>; |
133 | clock-latency-ns = <500000>; | 133 | clock-latency-ns = <500000>; |
134 | }; | 134 | }; |
135 | 135 | ||
136 | opp@1000000000 { | 136 | opp-1000000000 { |
137 | opp-hz = /bits/ 64 <1000000000>; | 137 | opp-hz = /bits/ 64 <1000000000>; |
138 | clock-latency-ns = <500000>; | 138 | clock-latency-ns = <500000>; |
139 | }; | 139 | }; |
140 | 140 | ||
141 | opp@1188000000 { | 141 | opp-1188000000 { |
142 | opp-hz = /bits/ 64 <1188000000>; | 142 | opp-hz = /bits/ 64 <1188000000>; |
143 | clock-latency-ns = <500000>; | 143 | clock-latency-ns = <500000>; |
144 | }; | 144 | }; |