ARM: dts: suniv: f1c100s: add CIR DT node
authorAndre Przywara <andre.przywara@arm.com>
Mon, 7 Nov 2022 00:54:29 +0000 (00:54 +0000)
committerJernej Skrabec <jernej.skrabec@gmail.com>
Wed, 16 Nov 2022 18:38:07 +0000 (19:38 +0100)
The CIR (infrared receiver) controller in the Allwinner F1C100s series
of SoCs is compatible to the ones used in other Allwinner SoCs.

Add the DT node describing the resources of the controller.
There are multiple possible pinmuxes, but none as them seem to be an
obvious choice, so refrain from adding any pincontroller subnodes for
now.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Reviewed-by: Jernej Skrabec <jernej.skrabec@gmail.com>
Link: https://lore.kernel.org/r/20221107005433.11079-7-andre.przywara@arm.com
Signed-off-by: Jernej Skrabec <jernej.skrabec@gmail.com>
arch/arm/boot/dts/suniv-f1c100s.dtsi

index 115fbea..2db99fb 100644 (file)
                        status = "disabled";
                };
 
+               ir: ir@1c22c00 {
+                       compatible = "allwinner,suniv-f1c100s-ir",
+                                    "allwinner,sun6i-a31-ir";
+                       reg = <0x01c22c00 0x400>;
+                       clocks = <&ccu CLK_BUS_IR>, <&ccu CLK_IR>;
+                       clock-names = "apb", "ir";
+                       resets = <&ccu RST_BUS_IR>;
+                       interrupts = <6>;
+                       status = "disabled";
+               };
+
                uart0: serial@1c25000 {
                        compatible = "snps,dw-apb-uart";
                        reg = <0x01c25000 0x400>;