From e7c8682143db9771bad62626793201eb809cfaf2 Mon Sep 17 00:00:00 2001 From: Ivaylo Dimitrov Date: Mon, 16 May 2016 22:34:14 +0300 Subject: ARM: dts: n900: enable lirc-rx51 driver Add the needed DT data to enable IR TX driver Signed-off-by: Ivaylo Dimitrov Signed-off-by: Tony Lindgren --- arch/arm/boot/dts/omap3-n900.dts | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'arch/arm/boot/dts/omap3-n900.dts') diff --git a/arch/arm/boot/dts/omap3-n900.dts b/arch/arm/boot/dts/omap3-n900.dts index d9e2d9c6e999..0ceff5d285b2 100644 --- a/arch/arm/boot/dts/omap3-n900.dts +++ b/arch/arm/boot/dts/omap3-n900.dts @@ -143,6 +143,18 @@ 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 { -- cgit v1.2.3 From cc9a4bdadadbbcd354d1e0172ce55f19f1e41d80 Mon Sep 17 00:00:00 2001 From: Javier Martinez Canillas Date: Mon, 27 Jun 2016 15:20:45 -0400 Subject: ARM: dts: n900: remove unneeded unit name for dmtimer-pwm This patch fixes the following DTC warnings for omap3-n900.dtb: "dmtimer-pwm@9 has a unit name, but no reg property" Signed-off-by: Javier Martinez Canillas Signed-off-by: Tony Lindgren --- arch/arm/boot/dts/omap3-n900.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'arch/arm/boot/dts/omap3-n900.dts') diff --git a/arch/arm/boot/dts/omap3-n900.dts b/arch/arm/boot/dts/omap3-n900.dts index 0ceff5d285b2..cac9a8bc9b2c 100644 --- a/arch/arm/boot/dts/omap3-n900.dts +++ b/arch/arm/boot/dts/omap3-n900.dts @@ -144,7 +144,7 @@ io-channel-names = "temp", "bsi", "vbat"; }; - pwm9: dmtimer-pwm@9 { + pwm9: dmtimer-pwm { compatible = "ti,omap-dmtimer-pwm"; #pwm-cells = <3>; ti,timers = <&timer9>; -- cgit v1.2.3