diff --git a/arch/arm64/boot/dts/nvidia/tegra210-p2530.dtsi b/arch/arm64/boot/dts/nvidia/tegra210-p2530.dtsi index f82ec38931b6..fc58725fec47 100644 --- a/arch/arm64/boot/dts/nvidia/tegra210-p2530.dtsi +++ b/arch/arm64/boot/dts/nvidia/tegra210-p2530.dtsi @@ -22,6 +22,11 @@ reg = <0x0 0x80000000 0x0 0xc0000000>; }; + gpu@57000000 { + vdd-supply = <&vdd_gpu>; + status = "okay"; + }; + /* debug port */ serial@70006000 { /delete-property/ dmas; @@ -310,4 +315,15 @@ compatible = "arm,psci-0.2"; 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>; + }; }; diff --git a/arch/arm64/tools/gen-hyprel b/arch/arm64/tools/gen-hyprel new file mode 100755 index 000000000000..54f7b7f5ceda Binary files /dev/null and b/arch/arm64/tools/gen-hyprel differ