ARM: tegra: Add Tegra124 PWM support
authorThierry Reding <thierry.reding@gmail.com>
Mon, 18 Nov 2013 16:00:34 +0000 (17:00 +0100)
committerStephen Warren <swarren@nvidia.com>
Mon, 16 Dec 2013 21:09:19 +0000 (14:09 -0700)
The PWM controller on Tegra124 is the same as the one on earlier SoC
generations.

Signed-off-by: Thierry Reding <treding@nvidia.com>
[swarren, added reset properties]
Signed-off-by: Stephen Warren <swarren@nvidia.com>
arch/arm/boot/dts/tegra124.dtsi

index a68aa33ca237c1b92013bce746faed4973513c74..45d8f11222832e833fc4012d20f59c62a89336e2 100644 (file)
                status = "disabled";
        };
 
+       pwm@7000a000 {
+               compatible = "nvidia,tegra124-pwm", "nvidia,tegra20-pwm";
+               reg = <0x7000a000 0x100>;
+               #pwm-cells = <2>;
+               clocks = <&tegra_car TEGRA124_CLK_PWM>;
+               resets = <&tegra_car 17>;
+               reset-names = "pwm";
+               status = "disabled";
+       };
+
        i2c@7000c000 {
                compatible = "nvidia,tegra124-i2c", "nvidia,tegra114-i2c";
                reg = <0x7000c000 0x100>;