diff options
author | Thierry Reding <thierry.reding@avionic-design.de> | 2011-12-21 07:04:13 (GMT) |
---|---|---|
committer | Thierry Reding <thierry.reding@avionic-design.de> | 2012-07-02 19:38:59 (GMT) |
commit | 140fd977dc46bc750258f082cdf1cfea79dc1d14 (patch) | |
tree | 689eedb11b8b36a2bef6d08266074168a43f7281 /arch/arm/boot | |
parent | 0134b932a02f272a3137e8331e38b69eff011587 (diff) | |
download | linux-140fd977dc46bc750258f082cdf1cfea79dc1d14.tar.xz |
pwm: tegra: Add device tree support
Add auxdata to instantiate the PWFM controller from a device tree,
include the corresponding nodes in the dtsi files for Tegra 20 and
Tegra 30 and add binding documentation.
Acked-by: Stephen Warren <swarren@wwwdotorg.org>
Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de>
Diffstat (limited to 'arch/arm/boot')
-rw-r--r-- | arch/arm/boot/dts/tegra20.dtsi | 6 | ||||
-rw-r--r-- | arch/arm/boot/dts/tegra30.dtsi | 6 |
2 files changed, 12 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/tegra20.dtsi b/arch/arm/boot/dts/tegra20.dtsi index c417d67..846af57 100644 --- a/arch/arm/boot/dts/tegra20.dtsi +++ b/arch/arm/boot/dts/tegra20.dtsi @@ -123,6 +123,12 @@ status = "disable"; }; + pwm { + compatible = "nvidia,tegra20-pwm"; + reg = <0x7000a000 0x100>; + #pwm-cells = <2>; + }; + i2c@7000c000 { compatible = "nvidia,tegra20-i2c"; reg = <0x7000c000 0x100>; diff --git a/arch/arm/boot/dts/tegra30.dtsi b/arch/arm/boot/dts/tegra30.dtsi index 2dcc09e..f7f428e 100644 --- a/arch/arm/boot/dts/tegra30.dtsi +++ b/arch/arm/boot/dts/tegra30.dtsi @@ -117,6 +117,12 @@ status = "disable"; }; + pwm { + compatible = "nvidia,tegra30-pwm", "nvidia,tegra20-pwm"; + reg = <0x7000a000 0x100>; + #pwm-cells = <2>; + }; + i2c@7000c000 { compatible = "nvidia,tegra30-i2c", "nvidia,tegra20-i2c"; reg = <0x7000c000 0x100>; |