arm64: tegra: Enable gpu on P2894
This adds the gpu regulator and enables the gpu node. Signed-off-by: Aaron Kling <webgeek1234@gmail.com>
This commit is contained in:
@@ -21,6 +21,11 @@
|
|||||||
reg = <0x0 0x80000000 0x0 0xc0000000>;
|
reg = <0x0 0x80000000 0x0 0xc0000000>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
gpu@57000000 {
|
||||||
|
vdd-supply = <&vdd_gpu>;
|
||||||
|
status = "okay";
|
||||||
|
};
|
||||||
|
|
||||||
pinmux: pinmux@700008d4 {
|
pinmux: pinmux@700008d4 {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
pinctrl-names = "boot";
|
pinctrl-names = "boot";
|
||||||
@@ -1831,4 +1836,16 @@
|
|||||||
enable-active-high;
|
enable-active-high;
|
||||||
gpio-open-drain;
|
gpio-open-drain;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
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 = <80>;
|
||||||
|
regulator-enable-ramp-delay = <2000>;
|
||||||
|
regulator-settling-time-us = <160>;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user