diff options
author | Thierry Reding <thierry.reding@avionic-design.de> | 2011-12-21 02:04:13 -0500 |
---|---|---|
committer | Thierry Reding <thierry.reding@avionic-design.de> | 2012-07-02 15:38:59 -0400 |
commit | 140fd977dc46bc750258f082cdf1cfea79dc1d14 (patch) | |
tree | 689eedb11b8b36a2bef6d08266074168a43f7281 /arch/arm/boot/dts/tegra30.dtsi | |
parent | 0134b932a02f272a3137e8331e38b69eff011587 (diff) |
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/dts/tegra30.dtsi')
-rw-r--r-- | arch/arm/boot/dts/tegra30.dtsi | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/tegra30.dtsi b/arch/arm/boot/dts/tegra30.dtsi index 2dcc09e784b5..f7f428e81e3a 100644 --- a/arch/arm/boot/dts/tegra30.dtsi +++ b/arch/arm/boot/dts/tegra30.dtsi | |||
@@ -117,6 +117,12 @@ | |||
117 | status = "disable"; | 117 | status = "disable"; |
118 | }; | 118 | }; |
119 | 119 | ||
120 | pwm { | ||
121 | compatible = "nvidia,tegra30-pwm", "nvidia,tegra20-pwm"; | ||
122 | reg = <0x7000a000 0x100>; | ||
123 | #pwm-cells = <2>; | ||
124 | }; | ||
125 | |||
120 | i2c@7000c000 { | 126 | i2c@7000c000 { |
121 | compatible = "nvidia,tegra30-i2c", "nvidia,tegra20-i2c"; | 127 | compatible = "nvidia,tegra30-i2c", "nvidia,tegra20-i2c"; |
122 | reg = <0x7000c000 0x100>; | 128 | reg = <0x7000c000 0x100>; |