ARM: dts: n900: enable lirc-rx51 driver
authorIvaylo Dimitrov <ivo.g.dimitrov.75@gmail.com>
Mon, 16 May 2016 19:34:14 +0000 (22:34 +0300)
committerTony Lindgren <tony@atomide.com>
Fri, 10 Jun 2016 11:58:06 +0000 (04:58 -0700)
Add the needed DT data to enable IR TX driver

Signed-off-by: Ivaylo Dimitrov <ivo.g.dimitrov.75@gmail.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/boot/dts/omap3-n900.dts

index d9e2d9c6e999e4aa6f3a4c8f582fe9caf74953f4..0ceff5d285b2fe8c6feb9a57a97895990182613b 100644 (file)
                io-channels = <&twl_madc 0>, <&twl_madc 4>, <&twl_madc 12>;
                io-channel-names = "temp", "bsi", "vbat";
        };
+
+       pwm9: dmtimer-pwm@9 {
+               compatible = "ti,omap-dmtimer-pwm";
+               #pwm-cells = <3>;
+               ti,timers = <&timer9>;
+               ti,clock-source = <0x00>; /* timer_sys_ck */
+       };
+
+       ir: n900-ir {
+               compatible = "nokia,n900-ir";
+               pwms = <&pwm9 0 26316 0>; /* 38000 Hz */
+       };
 };
 
 &omap3_pmx_core {