ARM: dts: sun8i: a83t: bananapi-m3: Enable IR controller
authorPhilipp Rossak <embed3d@gmail.com>
Wed, 1 Aug 2018 09:48:00 +0000 (11:48 +0200)
committerChen-Yu Tsai <wens@csie.org>
Mon, 27 Aug 2018 02:41:14 +0000 (10:41 +0800)
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>
arch/arm/boot/dts/sun8i-a83t-bananapi-m3.dts

index c7ce415..742d294 100644 (file)
        status = "okay";
 };
 
+&r_cir {
+       clock-frequency = <3000000>;
+       status = "okay";
+};
+
 &r_rsb {
        status = "okay";