[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20190119201900.26592-2-jernej.skrabec@siol.net>
Date: Sat, 19 Jan 2019 21:18:59 +0100
From: Jernej Skrabec <jernej.skrabec@...l.net>
To: maxime.ripard@...tlin.com, wens@...e.org
Cc: robh+dt@...nel.org, mark.rutland@....com,
linux-arm-kernel@...ts.infradead.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-sunxi@...glegroups.com,
Igors Makejevs <git_bb@...one.com>
Subject: [PATCH v2 1/2] arm64: dts: allwinner: a64: Add IR node
From: Igors Makejevs <git_bb@...one.com>
IR peripheral is completely compatible with A13 one.
Signed-off-by: Igors Makejevs <git_bb@...one.com>
Signed-off-by: Jernej Skrabec <jernej.skrabec@...l.net>
---
arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi
index 839b2ae88583..6db55cdc3b4e 100644
--- a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi
+++ b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi
@@ -1004,6 +1004,18 @@
status = "disabled";
};
+ r_ir: ir@...2000 {
+ compatible = "allwinner,sun5i-a13-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_pin>;
+ status = "disabled";
+ };
+
r_i2c: i2c@...2400 {
compatible = "allwinner,sun50i-a64-i2c",
"allwinner,sun6i-a31-i2c";
@@ -1043,6 +1055,11 @@
function = "s_i2c";
};
+ r_ir_pin: ir {
+ pins = "PL11";
+ function = "s_cir_rx";
+ };
+
r_pwm_pin: pwm {
pins = "PL10";
function = "s_pwm";
--
2.20.1
Powered by blists - more mailing lists