mirror of
https://github.com/torvalds/linux.git
synced 2026-09-27 11:02:03 +02:00
arm64: dts: allwinner: a523: add IR receiver nodes
The A523 has two CIR receivers, both compatible with the A31 CIR: one in the CPUX domain, clocked from the main CCU, and one in the RTC power domain, clocked from the R-CCU. The RTC domain instance's RX signal is typically muxed to PL11, as on the X96Q Pro+. The CPUX instance's can be muxed to PI8, which is what the Avaota A1 uses. Add nodes for both instances, disabled by default. Since the RX signal of each instance can be routed to more than one pin, boards with an IR receiver are expected to add the pinctrl properties next to where they enable the node. Add pinmux nodes for both pins: PL11 for the RTC domain instance, and PI8 for the CPUX one. Co-developed-by: Andre Przywara <andre.przywara@arm.com> Signed-off-by: Andre Przywara <andre.przywara@arm.com> Signed-off-by: Justin Suess <utilityemal77@gmail.com> Link: https://patch.msgid.link/20260728024916.993224-3-utilityemal77@gmail.com Signed-off-by: Chen-Yu Tsai <wens@kernel.org>
This commit is contained in:
parent
96cd41eac1
commit
2b24f53865
|
|
@ -155,6 +155,13 @@ i2s2_pi_pins: i2s2-pi-pins {
|
|||
bias-disable;
|
||||
};
|
||||
|
||||
/omit-if-no-ref/
|
||||
ir_rx_pin: ir-rx-pi-pin {
|
||||
pins = "PI8";
|
||||
allwinner,pinmux = <3>;
|
||||
function = "cir_rx";
|
||||
};
|
||||
|
||||
/omit-if-no-ref/
|
||||
ledc_ph_pin: ledc-ph-pin {
|
||||
pins = "PH19";
|
||||
|
|
@ -327,6 +334,17 @@ ccu: clock-controller@2001000 {
|
|||
#reset-cells = <1>;
|
||||
};
|
||||
|
||||
ir: ir@2005000 {
|
||||
compatible = "allwinner,sun55i-a523-ir",
|
||||
"allwinner,sun6i-a31-ir";
|
||||
reg = <0x02005000 0x400>;
|
||||
interrupts = <GIC_SPI 27 IRQ_TYPE_LEVEL_HIGH>;
|
||||
clocks = <&ccu CLK_BUS_IR_RX>, <&ccu CLK_IR_RX>;
|
||||
clock-names = "apb", "ir";
|
||||
resets = <&ccu RST_BUS_IR_RX>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
ledc: led-controller@2008000 {
|
||||
compatible = "allwinner,sun55i-a523-ledc",
|
||||
"allwinner,sun50i-a100-ledc";
|
||||
|
|
@ -927,6 +945,24 @@ r_i2c_pins: r-i2c-pins {
|
|||
allwinner,pinmux = <2>;
|
||||
function = "r_i2c0";
|
||||
};
|
||||
|
||||
/omit-if-no-ref/
|
||||
r_ir_rx_pin: r-ir-rx-pl-pin {
|
||||
pins = "PL11";
|
||||
allwinner,pinmux = <2>;
|
||||
function = "s_cir_rx";
|
||||
};
|
||||
};
|
||||
|
||||
r_ir: ir@7040000 {
|
||||
compatible = "allwinner,sun55i-a523-ir",
|
||||
"allwinner,sun6i-a31-ir";
|
||||
reg = <0x07040000 0x400>;
|
||||
interrupts = <GIC_SPI 167 IRQ_TYPE_LEVEL_HIGH>;
|
||||
clocks = <&r_ccu CLK_BUS_R_IR_RX>, <&r_ccu CLK_R_IR_RX>;
|
||||
clock-names = "apb", "ir";
|
||||
resets = <&r_ccu RST_BUS_R_IR_RX>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
pck600: power-controller@7060000 {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user