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

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
......@@ -1094,6 +1094,19 @@ r_i2c: i2c@1f02400 {
#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 @@ r_i2c_pl89_pins: r-i2c-pl89-pins {
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";
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment