Path: blob/master/Documentation/devicetree/bindings/cpufreq/cpufreq-dt.txt
26308 views
Generic cpufreq driver12It is a generic DT based cpufreq driver for frequency management. It supports3both uniprocessor (UP) and symmetric multiprocessor (SMP) systems which share4clock and voltage across all CPUs.56Both required and optional properties listed below must be defined7under node /cpus/cpu@0.89Required properties:10- None1112Optional properties:13- operating-points: Refer to Documentation/devicetree/bindings/opp/opp-v1.yaml for14details. OPPs *must* be supplied either via DT, i.e. this property, or15populated at runtime.16- clock-latency: Specify the possible maximum transition latency for clock,17in unit of nanoseconds.18- voltage-tolerance: Specify the CPU voltage tolerance in percentage.19- #cooling-cells:20Please refer to21Documentation/devicetree/bindings/thermal/thermal-cooling-devices.yaml.2223Examples:2425cpus {26#address-cells = <1>;27#size-cells = <0>;2829cpu@0 {30compatible = "arm,cortex-a9";31reg = <0>;32next-level-cache = <&L2>;33operating-points = <34/* kHz uV */35792000 110000036396000 95000037198000 85000038>;39clock-latency = <61036>; /* two CLK32 periods */40#cooling-cells = <2>;41};4243cpu@1 {44compatible = "arm,cortex-a9";45reg = <1>;46next-level-cache = <&L2>;47};4849cpu@2 {50compatible = "arm,cortex-a9";51reg = <2>;52next-level-cache = <&L2>;53};5455cpu@3 {56compatible = "arm,cortex-a9";57reg = <3>;58next-level-cache = <&L2>;59};60};616263