]> www.infradead.org Git - linux.git/commitdiff
ARM: dts: sun8i: a83t: Add support for the cir interface
authorPhilipp Rossak <embed3d@gmail.com>
Wed, 1 Aug 2018 09:47:59 +0000 (11:47 +0200)
committerChen-Yu Tsai <wens@csie.org>
Mon, 27 Aug 2018 02:41:13 +0000 (10:41 +0800)
The cir interface is like on the H3 located at 0x01f02000 and is exactly
the same. This patch adds support for the ir interface on the A83T.

Signed-off-by: Philipp Rossak <embed3d@gmail.com>
Acked-by: Maxime Ripard <maxime.ripard@bootlin.com>
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
arch/arm/boot/dts/sun8i-a83t.dtsi

index 9322f8f6faacca2b9f6ebde6c0729e3594e856ed..5617dd387fd35b4c7359a001834745918ed891c8 100644 (file)
                        reg = <0x1f01c00 0x400>;
                };
 
+               r_cir: ir@1f02000 {
+                       compatible = "allwinner,sun8i-a83t-ir",
+                               "allwinner,sun5i-a13-ir";
+                       clocks = <&r_ccu CLK_APB0_IR>, <&r_ccu CLK_IR>;
+                       clock-names = "apb", "ir";
+                       resets = <&r_ccu RST_APB0_IR>;
+                       interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
+                       reg = <0x01f02000 0x400>;
+                       pinctrl-names = "default";
+                       pinctrl-0 = <&r_cir_pin>;
+                       status = "disabled";
+               };
+
                r_pio: pinctrl@1f02c00 {
                        compatible = "allwinner,sun8i-a83t-r-pinctrl";
                        reg = <0x01f02c00 0x400>;