Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: dts: sun8i: Add ir receiver nodes to H3 dtsi

The H3 ir receiver is completely compatible with the one found in the A31.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>

authored by

Hans de Goede and committed by
Maxime Ripard
fe0a8ea1 93385367

+25
+25
arch/arm/boot/dts/sun8i-h3.dtsi
··· 295 295 clock-indices = <0>, <1>; 296 296 clock-output-names = "apb0_pio", "apb0_ir"; 297 297 }; 298 + 299 + ir_clk: ir_clk@01f01454 { 300 + compatible = "allwinner,sun4i-a10-mod0-clk"; 301 + reg = <0x01f01454 0x4>; 302 + #clock-cells = <0>; 303 + clocks = <&osc32k>, <&osc24M>; 304 + clock-output-names = "ir"; 305 + }; 298 306 }; 299 307 300 308 soc { ··· 527 519 #reset-cells = <1>; 528 520 }; 529 521 522 + ir: ir@01f02000 { 523 + compatible = "allwinner,sun5i-a13-ir"; 524 + clocks = <&apb0_gates 1>, <&ir_clk>; 525 + clock-names = "apb", "ir"; 526 + resets = <&apb0_reset 1>; 527 + interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>; 528 + reg = <0x01f02000 0x40>; 529 + status = "disabled"; 530 + }; 531 + 530 532 r_pio: pinctrl@01f02c00 { 531 533 compatible = "allwinner,sun8i-h3-r-pinctrl"; 532 534 reg = <0x01f02c00 0x400>; ··· 547 529 #gpio-cells = <3>; 548 530 interrupt-controller; 549 531 #interrupt-cells = <3>; 532 + 533 + ir_pins_a: ir@0 { 534 + allwinner,pins = "PL11"; 535 + allwinner,function = "s_cir_rx"; 536 + allwinner,drive = <SUN4I_PINCTRL_10_MA>; 537 + allwinner,pull = <SUN4I_PINCTRL_NO_PULL>; 538 + }; 550 539 }; 551 540 }; 552 541 };