arm64: tegra: Add CPU power rail regulator on Smaug
authorJoseph Lo <josephl@nvidia.com>
Fri, 4 Jan 2019 03:07:00 +0000 (11:07 +0800)
committerThierry Reding <treding@nvidia.com>
Thu, 7 Feb 2019 18:03:56 +0000 (19:03 +0100)
Add CPU power rail regulator for Smaug board.

Signed-off-by: Joseph Lo <josephl@nvidia.com>
Acked-by: Jon Hunter <jonathanh@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
arch/arm64/boot/dts/nvidia/tegra210-smaug.dts

index ed04526..9a8f6b0 100644 (file)
                status = "okay";
                clock-frequency = <1000000>;
 
+               max77621_cpu: max77621@1b {
+                       compatible = "maxim,max77621";
+                       reg = <0x1b>;
+                       interrupt-parent = <&gpio>;
+                       interrupts = <TEGRA_GPIO(Y, 1) IRQ_TYPE_LEVEL_LOW>;
+                       regulator-always-on;
+                       regulator-boot-on;
+                       regulator-min-microvolt = <800000>;
+                       regulator-max-microvolt = <1231250>;
+                       regulator-name = "PPVAR_CPU";
+                       regulator-ramp-delay = <12500>;
+                       maxim,dvs-default-state = <1>;
+                       maxim,enable-active-discharge;
+                       maxim,enable-bias-control;
+                       maxim,enable-etr;
+                       maxim,enable-gpio = <&max77620 5 0>;
+                       maxim,externally-enable;
+               };
+
                max77620: max77620@3c {
                        compatible = "maxim,max77620";
                        reg = <0x3c>;