]> rtime.felk.cvut.cz Git - can-eth-gw-linux.git/commitdiff
ARM: tegra: dts: Add pwm label
authorThierry Reding <thierry.reding@avionic-design.de>
Thu, 20 Sep 2012 15:06:05 +0000 (17:06 +0200)
committerStephen Warren <swarren@nvidia.com>
Thu, 20 Sep 2012 15:33:59 +0000 (09:33 -0600)
PWM devices can be referenced in the DT by phandle and per-chip index.
In order for this to work properly, the PWM controller needs to have a
label attached to it.

Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
arch/arm/boot/dts/tegra20.dtsi
arch/arm/boot/dts/tegra30.dtsi

index 405d1673904e53805a11551693446b55cfa1831c..67a6cd910b9612d0a3aa7d206f1570a709a1226e 100644 (file)
                status = "disabled";
        };
 
-       pwm {
+       pwm: pwm {
                compatible = "nvidia,tegra20-pwm";
                reg = <0x7000a000 0x100>;
                #pwm-cells = <2>;
index 3e4334d14efb4d70bdd88e46c44dc4b6af1e7cf2..b1497c7d7d6851db3753c1210e974cb9e47888c2 100644 (file)
                status = "disabled";
        };
 
-       pwm {
+       pwm: pwm {
                compatible = "nvidia,tegra30-pwm", "nvidia,tegra20-pwm";
                reg = <0x7000a000 0x100>;
                #pwm-cells = <2>;