arm64: tegra: Enable DFLL clock on Jetson TX1
authorJoseph Lo <josephl@nvidia.com>
Fri, 4 Jan 2019 03:06:59 +0000 (11:06 +0800)
committerThierry Reding <treding@nvidia.com>
Thu, 7 Feb 2019 18:03:09 +0000 (19:03 +0100)
Enable DFLL clock for Jetson TX1 platform.

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-p2371-2180.dts

index 37e3c46..9fad0d2 100644 (file)
                        };
                };
        };
+
+       clock@70110000 {
+               status = "okay";
+
+               nvidia,cf = <6>;
+               nvidia,ci = <0>;
+               nvidia,cg = <2>;
+               nvidia,droop-ctrl = <0x00000f00>;
+               nvidia,force-mode = <1>;
+               nvidia,sample-rate = <25000>;
+
+               nvidia,pwm-min-microvolts = <708000>;
+               nvidia,pwm-period-nanoseconds = <2500>; /* 2.5us */
+               nvidia,pwm-to-pmic;
+               nvidia,pwm-tristate-microvolts = <1000000>;
+               nvidia,pwm-voltage-step-microvolts = <19200>;
+
+               pinctrl-names = "dvfs_pwm_enable", "dvfs_pwm_disable";
+               pinctrl-0 = <&dvfs_pwm_active_state>;
+               pinctrl-1 = <&dvfs_pwm_inactive_state>;
+       };
 };