1 # SPDX-License-Identifier: (GPL-2.0-only OR BS 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 %YAML 1.2 2 %YAML 1.2 3 --- 3 --- 4 $id: http://devicetree.org/schemas/cpufreq/cpu 4 $id: http://devicetree.org/schemas/cpufreq/cpufreq-mediatek-hw.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: MediaTek's CPUFREQ 7 title: MediaTek's CPUFREQ 8 8 9 maintainers: 9 maintainers: 10 - Hector Yuan <hector.yuan@mediatek.com> 10 - Hector Yuan <hector.yuan@mediatek.com> 11 11 12 description: 12 description: 13 CPUFREQ HW is a hardware engine used by Medi 13 CPUFREQ HW is a hardware engine used by MediaTek SoCs to 14 manage frequency in hardware. It is capable 14 manage frequency in hardware. It is capable of controlling 15 frequency for multiple clusters. 15 frequency for multiple clusters. 16 16 17 properties: 17 properties: 18 compatible: 18 compatible: 19 const: mediatek,cpufreq-hw 19 const: mediatek,cpufreq-hw 20 20 21 reg: 21 reg: 22 minItems: 1 22 minItems: 1 23 maxItems: 2 23 maxItems: 2 24 description: 24 description: 25 Addresses and sizes for the memory of th 25 Addresses and sizes for the memory of the HW bases in 26 each frequency domain. Each entry corres 26 each frequency domain. Each entry corresponds to 27 a register bank for each frequency domai 27 a register bank for each frequency domain present. 28 28 29 "#performance-domain-cells": 29 "#performance-domain-cells": 30 description: 30 description: 31 Number of cells in a performance domain 31 Number of cells in a performance domain specifier. 32 Set const to 1 here for nodes providing 32 Set const to 1 here for nodes providing multiple 33 performance domains. 33 performance domains. 34 const: 1 34 const: 1 35 35 36 required: 36 required: 37 - compatible 37 - compatible 38 - reg 38 - reg 39 - "#performance-domain-cells" 39 - "#performance-domain-cells" 40 40 41 additionalProperties: false 41 additionalProperties: false 42 42 43 examples: 43 examples: 44 - | 44 - | 45 cpus { 45 cpus { 46 #address-cells = <1>; 46 #address-cells = <1>; 47 #size-cells = <0>; 47 #size-cells = <0>; 48 48 49 cpu0: cpu@0 { 49 cpu0: cpu@0 { 50 device_type = "cpu"; 50 device_type = "cpu"; 51 compatible = "arm,cortex-a55"; 51 compatible = "arm,cortex-a55"; 52 enable-method = "psci"; 52 enable-method = "psci"; 53 performance-domains = <&perfor 53 performance-domains = <&performance 0>; 54 reg = <0x000>; 54 reg = <0x000>; 55 }; 55 }; 56 }; 56 }; 57 57 58 /* ... */ 58 /* ... */ 59 59 60 soc { 60 soc { 61 #address-cells = <2>; 61 #address-cells = <2>; 62 #size-cells = <2>; 62 #size-cells = <2>; 63 63 64 performance: performance-controller@11 64 performance: performance-controller@11bc00 { 65 compatible = "mediatek,cpufreq-hw" 65 compatible = "mediatek,cpufreq-hw"; 66 reg = <0 0x0011bc10 0 0x120>, <0 0 66 reg = <0 0x0011bc10 0 0x120>, <0 0x0011bd30 0 0x120>; 67 67 68 #performance-domain-cells = <1>; 68 #performance-domain-cells = <1>; 69 }; 69 }; 70 }; 70 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.