Commit b9cb2ba7 authored by Viresh Kumar's avatar Viresh Kumar Committed by Tony Lindgren

ARM: dts: Use - instead of @ for DT OPP entries for TI SoCs

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: default avatarKrzysztof Kozlowski <krzk@kernel.org>
Reported-by: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
Suggested-by: default avatarMark Rutland <mark.rutland@arm.com>
Signed-off-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
Acked-by: default avatarRob Herring <robh@kernel.org>
Acked-by: default avatarTony Lindgren <tony@atomide.com>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent 49b2c130
...@@ -63,64 +63,64 @@ cpu0_opp_table: opp-table { ...@@ -63,64 +63,64 @@ cpu0_opp_table: opp-table {
* because they can not be enabled simultaneously on a * because they can not be enabled simultaneously on a
* single SoC. * single SoC.
*/ */
opp50@300000000 { opp50-300000000 {
opp-hz = /bits/ 64 <300000000>; opp-hz = /bits/ 64 <300000000>;
opp-microvolt = <950000 931000 969000>; opp-microvolt = <950000 931000 969000>;
opp-supported-hw = <0x06 0x0010>; opp-supported-hw = <0x06 0x0010>;
opp-suspend; opp-suspend;
}; };
opp100@275000000 { opp100-275000000 {
opp-hz = /bits/ 64 <275000000>; opp-hz = /bits/ 64 <275000000>;
opp-microvolt = <1100000 1078000 1122000>; opp-microvolt = <1100000 1078000 1122000>;
opp-supported-hw = <0x01 0x00FF>; opp-supported-hw = <0x01 0x00FF>;
opp-suspend; opp-suspend;
}; };
opp100@300000000 { opp100-300000000 {
opp-hz = /bits/ 64 <300000000>; opp-hz = /bits/ 64 <300000000>;
opp-microvolt = <1100000 1078000 1122000>; opp-microvolt = <1100000 1078000 1122000>;
opp-supported-hw = <0x06 0x0020>; opp-supported-hw = <0x06 0x0020>;
opp-suspend; opp-suspend;
}; };
opp100@500000000 { opp100-500000000 {
opp-hz = /bits/ 64 <500000000>; opp-hz = /bits/ 64 <500000000>;
opp-microvolt = <1100000 1078000 1122000>; opp-microvolt = <1100000 1078000 1122000>;
opp-supported-hw = <0x01 0xFFFF>; opp-supported-hw = <0x01 0xFFFF>;
}; };
opp100@600000000 { opp100-600000000 {
opp-hz = /bits/ 64 <600000000>; opp-hz = /bits/ 64 <600000000>;
opp-microvolt = <1100000 1078000 1122000>; opp-microvolt = <1100000 1078000 1122000>;
opp-supported-hw = <0x06 0x0040>; opp-supported-hw = <0x06 0x0040>;
}; };
opp120@600000000 { opp120-600000000 {
opp-hz = /bits/ 64 <600000000>; opp-hz = /bits/ 64 <600000000>;
opp-microvolt = <1200000 1176000 1224000>; opp-microvolt = <1200000 1176000 1224000>;
opp-supported-hw = <0x01 0xFFFF>; opp-supported-hw = <0x01 0xFFFF>;
}; };
opp120@720000000 { opp120-720000000 {
opp-hz = /bits/ 64 <720000000>; opp-hz = /bits/ 64 <720000000>;
opp-microvolt = <1200000 1176000 1224000>; opp-microvolt = <1200000 1176000 1224000>;
opp-supported-hw = <0x06 0x0080>; opp-supported-hw = <0x06 0x0080>;
}; };
oppturbo@720000000 { oppturbo-720000000 {
opp-hz = /bits/ 64 <720000000>; opp-hz = /bits/ 64 <720000000>;
opp-microvolt = <1260000 1234800 1285200>; opp-microvolt = <1260000 1234800 1285200>;
opp-supported-hw = <0x01 0xFFFF>; opp-supported-hw = <0x01 0xFFFF>;
}; };
oppturbo@800000000 { oppturbo-800000000 {
opp-hz = /bits/ 64 <800000000>; opp-hz = /bits/ 64 <800000000>;
opp-microvolt = <1260000 1234800 1285200>; opp-microvolt = <1260000 1234800 1285200>;
opp-supported-hw = <0x06 0x0100>; opp-supported-hw = <0x06 0x0100>;
}; };
oppnitro@1000000000 { oppnitro-1000000000 {
opp-hz = /bits/ 64 <1000000000>; opp-hz = /bits/ 64 <1000000000>;
opp-microvolt = <1325000 1298500 1351500>; opp-microvolt = <1325000 1298500 1351500>;
opp-supported-hw = <0x04 0x0200>; opp-supported-hw = <0x04 0x0200>;
......
...@@ -22,7 +22,7 @@ &cpu0_opp_table { ...@@ -22,7 +22,7 @@ &cpu0_opp_table {
* BeagleBone Blacks have PG 2.0 silicon which is guaranteed * BeagleBone Blacks have PG 2.0 silicon which is guaranteed
* to support 1GHz OPP so enable it for PG 2.0 on this board. * to support 1GHz OPP so enable it for PG 2.0 on this board.
*/ */
oppnitro@1000000000 { oppnitro-1000000000 {
opp-supported-hw = <0x06 0x0100>; opp-supported-hw = <0x06 0x0100>;
}; };
}; };
...@@ -64,64 +64,64 @@ cpu0_opp_table: opp-table { ...@@ -64,64 +64,64 @@ cpu0_opp_table: opp-table {
* because the can not be enabled simultaneously on a * because the can not be enabled simultaneously on a
* single SoC. * single SoC.
*/ */
opp50@300000000 { opp50-300000000 {
opp-hz = /bits/ 64 <300000000>; opp-hz = /bits/ 64 <300000000>;
opp-microvolt = <950000 931000 969000>; opp-microvolt = <950000 931000 969000>;
opp-supported-hw = <0x06 0x0010>; opp-supported-hw = <0x06 0x0010>;
opp-suspend; opp-suspend;
}; };
opp100@275000000 { opp100-275000000 {
opp-hz = /bits/ 64 <275000000>; opp-hz = /bits/ 64 <275000000>;
opp-microvolt = <1100000 1078000 1122000>; opp-microvolt = <1100000 1078000 1122000>;
opp-supported-hw = <0x01 0x00FF>; opp-supported-hw = <0x01 0x00FF>;
opp-suspend; opp-suspend;
}; };
opp100@300000000 { opp100-300000000 {
opp-hz = /bits/ 64 <300000000>; opp-hz = /bits/ 64 <300000000>;
opp-microvolt = <1100000 1078000 1122000>; opp-microvolt = <1100000 1078000 1122000>;
opp-supported-hw = <0x06 0x0020>; opp-supported-hw = <0x06 0x0020>;
opp-suspend; opp-suspend;
}; };
opp100@500000000 { opp100-500000000 {
opp-hz = /bits/ 64 <500000000>; opp-hz = /bits/ 64 <500000000>;
opp-microvolt = <1100000 1078000 1122000>; opp-microvolt = <1100000 1078000 1122000>;
opp-supported-hw = <0x01 0xFFFF>; opp-supported-hw = <0x01 0xFFFF>;
}; };
opp100@600000000 { opp100-600000000 {
opp-hz = /bits/ 64 <600000000>; opp-hz = /bits/ 64 <600000000>;
opp-microvolt = <1100000 1078000 1122000>; opp-microvolt = <1100000 1078000 1122000>;
opp-supported-hw = <0x06 0x0040>; opp-supported-hw = <0x06 0x0040>;
}; };
opp120@600000000 { opp120-600000000 {
opp-hz = /bits/ 64 <600000000>; opp-hz = /bits/ 64 <600000000>;
opp-microvolt = <1200000 1176000 1224000>; opp-microvolt = <1200000 1176000 1224000>;
opp-supported-hw = <0x01 0xFFFF>; opp-supported-hw = <0x01 0xFFFF>;
}; };
opp120@720000000 { opp120-720000000 {
opp-hz = /bits/ 64 <720000000>; opp-hz = /bits/ 64 <720000000>;
opp-microvolt = <1200000 1176000 1224000>; opp-microvolt = <1200000 1176000 1224000>;
opp-supported-hw = <0x06 0x0080>; opp-supported-hw = <0x06 0x0080>;
}; };
oppturbo@720000000 { oppturbo-720000000 {
opp-hz = /bits/ 64 <720000000>; opp-hz = /bits/ 64 <720000000>;
opp-microvolt = <1260000 1234800 1285200>; opp-microvolt = <1260000 1234800 1285200>;
opp-supported-hw = <0x01 0xFFFF>; opp-supported-hw = <0x01 0xFFFF>;
}; };
oppturbo@800000000 { oppturbo-800000000 {
opp-hz = /bits/ 64 <800000000>; opp-hz = /bits/ 64 <800000000>;
opp-microvolt = <1260000 1234800 1285200>; opp-microvolt = <1260000 1234800 1285200>;
opp-supported-hw = <0x06 0x0100>; opp-supported-hw = <0x06 0x0100>;
}; };
oppnitro@1000000000 { oppnitro-1000000000 {
opp-hz = /bits/ 64 <1000000000>; opp-hz = /bits/ 64 <1000000000>;
opp-microvolt = <1325000 1298500 1351500>; opp-microvolt = <1325000 1298500 1351500>;
opp-supported-hw = <0x04 0x0200>; opp-supported-hw = <0x04 0x0200>;
......
...@@ -59,32 +59,32 @@ cpu0_opp_table: opp-table { ...@@ -59,32 +59,32 @@ cpu0_opp_table: opp-table {
compatible = "operating-points-v2-ti-cpu"; compatible = "operating-points-v2-ti-cpu";
syscon = <&scm_conf>; syscon = <&scm_conf>;
opp50@300000000 { opp50-300000000 {
opp-hz = /bits/ 64 <300000000>; opp-hz = /bits/ 64 <300000000>;
opp-microvolt = <950000 931000 969000>; opp-microvolt = <950000 931000 969000>;
opp-supported-hw = <0xFF 0x01>; opp-supported-hw = <0xFF 0x01>;
opp-suspend; opp-suspend;
}; };
opp100@600000000 { opp100-600000000 {
opp-hz = /bits/ 64 <600000000>; opp-hz = /bits/ 64 <600000000>;
opp-microvolt = <1100000 1078000 1122000>; opp-microvolt = <1100000 1078000 1122000>;
opp-supported-hw = <0xFF 0x04>; opp-supported-hw = <0xFF 0x04>;
}; };
opp120@720000000 { opp120-720000000 {
opp-hz = /bits/ 64 <720000000>; opp-hz = /bits/ 64 <720000000>;
opp-microvolt = <1200000 1176000 1224000>; opp-microvolt = <1200000 1176000 1224000>;
opp-supported-hw = <0xFF 0x08>; opp-supported-hw = <0xFF 0x08>;
}; };
oppturbo@800000000 { oppturbo-800000000 {
opp-hz = /bits/ 64 <800000000>; opp-hz = /bits/ 64 <800000000>;
opp-microvolt = <1260000 1234800 1285200>; opp-microvolt = <1260000 1234800 1285200>;
opp-supported-hw = <0xFF 0x10>; opp-supported-hw = <0xFF 0x10>;
}; };
oppnitro@1000000000 { oppnitro-1000000000 {
opp-hz = /bits/ 64 <1000000000>; opp-hz = /bits/ 64 <1000000000>;
opp-microvolt = <1325000 1298500 1351500>; opp-microvolt = <1325000 1298500 1351500>;
opp-supported-hw = <0xFF 0x20>; opp-supported-hw = <0xFF 0x20>;
......
...@@ -99,14 +99,14 @@ cpu0_opp_table: opp-table { ...@@ -99,14 +99,14 @@ cpu0_opp_table: opp-table {
compatible = "operating-points-v2-ti-cpu"; compatible = "operating-points-v2-ti-cpu";
syscon = <&scm_wkup>; syscon = <&scm_wkup>;
opp_nom@1000000000 { opp_nom-1000000000 {
opp-hz = /bits/ 64 <1000000000>; opp-hz = /bits/ 64 <1000000000>;
opp-microvolt = <1060000 850000 1150000>; opp-microvolt = <1060000 850000 1150000>;
opp-supported-hw = <0xFF 0x01>; opp-supported-hw = <0xFF 0x01>;
opp-suspend; opp-suspend;
}; };
opp_od@1176000000 { opp_od-1176000000 {
opp-hz = /bits/ 64 <1176000000>; opp-hz = /bits/ 64 <1176000000>;
opp-microvolt = <1160000 885000 1160000>; opp-microvolt = <1160000 885000 1160000>;
opp-supported-hw = <0xFF 0x02>; opp-supported-hw = <0xFF 0x02>;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment