arm64: tegra: Enable gpu on P2530

This adds the gpu regulator and enables the gpu node.

Change-Id: I8a0f580fa600d8f37fb3fa497cf657abf2905d5f
Signed-off-by: Aaron Kling <webgeek1234@gmail.com>
This commit is contained in:
Aaron Kling
2025-04-21 15:22:17 -05:00
committed by Thomas Makin
parent 888868a8e9
commit 381fdbc5a5

View File

@@ -22,6 +22,11 @@
reg = <0x0 0x80000000 0x0 0xc0000000>; reg = <0x0 0x80000000 0x0 0xc0000000>;
}; };
gpu@57000000 {
vdd-supply = <&vdd_gpu>;
status = "okay";
};
/* debug port */ /* debug port */
serial@70006000 { serial@70006000 {
/delete-property/ dmas; /delete-property/ dmas;
@@ -305,4 +310,15 @@
compatible = "arm,psci-0.2"; compatible = "arm,psci-0.2";
method = "smc"; method = "smc";
}; };
vdd_gpu: regulator-vdd-gpu {
compatible = "pwm-regulator";
pwms = <&pwm 1 8000>;
regulator-name = "VDD_GPU";
regulator-min-microvolt = <710000>;
regulator-max-microvolt = <1320000>;
enable-gpios = <&pmic 6 GPIO_ACTIVE_HIGH>;
regulator-ramp-delay = <160>;
regulator-enable-ramp-delay = <2000>;
};
}; };