xref: /linux/Documentation/devicetree/bindings/cpufreq/imx-cpufreq-dt.txt (revision d3f9990f1b48514b33342612b51fad238592d774)
1i.MX CPUFreq-DT OPP bindings
2================================
3
4Certain i.MX SoCs support different OPPs depending on the "market segment" and
5"speed grading" value which are written in fuses. These bits are combined with
6the opp-supported-hw values for each OPP to check if the OPP is allowed.
7
8Required properties:
9--------------------
10
11For each opp entry in 'operating-points-v2' table:
12- opp-supported-hw: Two bitmaps indicating:
13  - Supported speed grade mask
14  - Supported market segment mask
15    0: Consumer
16    1: Extended Consumer
17    2: Industrial
18    3: Automotive
19
20Example:
21--------
22
23opp_table {
24	compatible = "operating-points-v2";
25	opp-1000000000 {
26		opp-hz = /bits/ 64 <1000000000>;
27		/* grade >= 0, consumer only */
28		opp-supported-hw = <0xf>, <0x3>;
29	};
30
31	opp-1300000000 {
32		opp-hz = /bits/ 64 <1300000000>;
33		opp-microvolt = <1000000>;
34		/* grade >= 1, all segments */
35		opp-supported-hw = <0xe>, <0x7>;
36	};
37}
38