Skip to content

Commit 9a0baee

Browse files
jonhunterthierryreding
authored andcommitted
ARM: tegra: Enable CPUFreq support for Tegra124 Chromebooks
Add the device-tree DFLL clock node and CPU regulator phandle for Tegra124 Chromebooks to enable CPUFreq support on these boards. Signed-off-by: Jon Hunter <[email protected]> Reviewed-by: Tomeu Vizoso <[email protected]> Signed-off-by: Thierry Reding <[email protected]>
1 parent 6ff33f3 commit 9a0baee

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

arch/arm/boot/dts/tegra124-nyan.dtsi

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@
159159
vin-ldo9-10-supply = <&vdd_5v0_sys>;
160160
vin-ldo11-supply = <&vdd_3v3_run>;
161161

162-
sd0 {
162+
vdd_cpu: sd0 {
163163
regulator-name = "+VDD_CPU_AP";
164164
regulator-min-microvolt = <700000>;
165165
regulator-max-microvolt = <1350000>;
@@ -397,6 +397,13 @@
397397
non-removable;
398398
};
399399

400+
/* CPU DFLL clock */
401+
clock@0,70110000 {
402+
status = "okay";
403+
vdd-cpu-supply = <&vdd_cpu>;
404+
nvidia,i2c-fs-rate = <400000>;
405+
};
406+
400407
ahub@0,70300000 {
401408
i2s@0,70301100 {
402409
status = "okay";
@@ -487,6 +494,12 @@
487494
};
488495
};
489496

497+
cpus {
498+
cpu@0 {
499+
vdd-cpu-supply = <&vdd_cpu>;
500+
};
501+
};
502+
490503
gpio-keys {
491504
compatible = "gpio-keys";
492505

0 commit comments

Comments
 (0)