ARM: dts: at91: sama7g5: add opps

Add OPPs for SAMA7G5 along with clock for CPU.

Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Signed-off-by: Nicolas Ferre <nicolas.ferre@microchip.com>
Link: https://lore.kernel.org/r/20220113144900.906370-9-claudiu.beznea@microchip.com
This commit is contained in:
Claudiu Beznea
2022-01-13 16:48:58 +02:00
committed by Nicolas Ferre
parent 85b1304b9d
commit 3c8a9c2e2d

View File

@@ -30,6 +30,44 @@ cpu0: cpu@0 {
device_type = "cpu";
compatible = "arm,cortex-a7";
reg = <0x0>;
clocks = <&pmc PMC_TYPE_CORE PMC_CPUPLL>;
clock-names = "cpu";
operating-points-v2 = <&cpu_opp_table>;
};
};
cpu_opp_table: opp-table {
compatible = "operating-points-v2";
opp-90000000 {
opp-hz = /bits/ 64 <90000000>;
opp-microvolt = <1050000 1050000 1225000>;
clock-latency-ns = <320000>;
};
opp-250000000 {
opp-hz = /bits/ 64 <250000000>;
opp-microvolt = <1050000 1050000 1225000>;
clock-latency-ns = <320000>;
};
opp-600000000 {
opp-hz = /bits/ 64 <600000000>;
opp-microvolt = <1050000 1050000 1225000>;
clock-latency-ns = <320000>;
opp-suspend;
};
opp-800000000 {
opp-hz = /bits/ 64 <800000000>;
opp-microvolt = <1150000 1125000 1225000>;
clock-latency-ns = <320000>;
};
opp-1000000002 {
opp-hz = /bits/ 64 <1000000002>;
opp-microvolt = <1250000 1225000 1300000>;
clock-latency-ns = <320000>;
};
};