Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Unverified Commit 44a4f416 authored by Igors Makejevs's avatar Igors Makejevs Committed by Maxime Ripard
Browse files

arm64: dts: allwinner: a64: Add IR node



IR peripheral is completely compatible with A31 one.

Signed-off-by: default avatarIgors Makejevs <git_bb@bwzone.com>
Signed-off-by: default avatarJernej Skrabec <jernej.skrabec@siol.net>
Signed-off-by: default avatarClément Péron <peron.clem@gmail.com>
Acked-by: default avatarSean Young <sean@mess.org>
Signed-off-by: default avatarMaxime Ripard <maxime.ripard@bootlin.com>
parent 8fa345e7
Loading
Loading
Loading
Loading
+18 −0
Original line number Diff line number Diff line
@@ -1094,6 +1094,19 @@
			#size-cells = <0>;
		};

		r_ir: ir@1f02000 {
			compatible = "allwinner,sun50i-a64-ir",
				     "allwinner,sun6i-a31-ir";
			reg = <0x01f02000 0x400>;
			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>;
			pinctrl-names = "default";
			pinctrl-0 = <&r_ir_rx_pin>;
			status = "disabled";
		};

		r_pwm: pwm@1f03800 {
			compatible = "allwinner,sun50i-a64-pwm",
				     "allwinner,sun5i-a13-pwm";
@@ -1121,6 +1134,11 @@
				function = "s_i2c";
			};

			r_ir_rx_pin: r-ir-rx-pin {
				pins = "PL11";
				function = "s_cir_rx";
			};

			r_pwm_pin: r-pwm-pin {
				pins = "PL10";
				function = "s_pwm";