summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilipp Rossak <embed3d@gmail.com>2018-08-01 11:48:00 +0200
committerChen-Yu Tsai <wens@csie.org>2018-08-27 04:41:14 +0200
commit6f26c238b7d3c7caf195f4c4ceea6c54d3bb4ffa (patch)
treee5d37227f31ac2c2bda127db118c7050b0b7e8f2
parentARM: dts: sun8i: a83t: Add support for the cir interface (diff)
downloadlinux-6f26c238b7d3c7caf195f4c4ceea6c54d3bb4ffa.tar.xz
linux-6f26c238b7d3c7caf195f4c4ceea6c54d3bb4ffa.zip
ARM: dts: sun8i: a83t: bananapi-m3: Enable IR controller
The Bananapi M3 has an onboard IR receiver. This enables the onboard IR receiver subnode. Unlike the other IR receivers this one needs a base clock frequency of 3000000 Hz (3 MHz), to be able to work. Signed-off-by: Philipp Rossak <embed3d@gmail.com> Acked-by: Chen-Yu Tsai <wens@csie.org> Acked-by: Maxime Ripard <maxime.ripard@bootlin.com> Signed-off-by: Chen-Yu Tsai <wens@csie.org>
-rw-r--r--arch/arm/boot/dts/sun8i-a83t-bananapi-m3.dts5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/sun8i-a83t-bananapi-m3.dts b/arch/arm/boot/dts/sun8i-a83t-bananapi-m3.dts
index c7ce4158d6c8..742d2946b08b 100644
--- a/arch/arm/boot/dts/sun8i-a83t-bananapi-m3.dts
+++ b/arch/arm/boot/dts/sun8i-a83t-bananapi-m3.dts
@@ -191,6 +191,11 @@
status = "okay";
};
+&r_cir {
+ clock-frequency = <3000000>;
+ status = "okay";
+};
+
&r_rsb {
status = "okay";