Skip to content

Commit 4d9af1e

Browse files
smaeulwens
authored andcommitted
arm64: dts: allwinner: a100: Add LED controller node
Allwinner A100 contains an LED controller. Add it to the devicetree. Acked-by: Guo Ren <guoren@kernel.org> Reviewed-by: Jernej Skrabec <jernej.skrabec@gmail.com> Signed-off-by: Samuel Holland <samuel@sholland.org> Link: https://patch.msgid.link/20231029212738.7871-4-samuel@sholland.org [wens@kernel.org: resolve conflict; move "status" to end of properties] Signed-off-by: Chen-Yu Tsai <wens@kernel.org>
1 parent 0b2761e commit 4d9af1e

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

arch/arm64/boot/dts/allwinner/sun50i-a100.dtsi

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -420,6 +420,20 @@
420420
#size-cells = <0>;
421421
};
422422

423+
ledc: led-controller@5018000 {
424+
compatible = "allwinner,sun50i-a100-ledc";
425+
reg = <0x5018000 0x400>;
426+
interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>;
427+
clocks = <&ccu CLK_BUS_LEDC>, <&ccu CLK_LEDC>;
428+
clock-names = "bus", "mod";
429+
resets = <&ccu RST_BUS_LEDC>;
430+
dmas = <&dma 42>;
431+
dma-names = "tx";
432+
#address-cells = <1>;
433+
#size-cells = <0>;
434+
status = "disabled";
435+
};
436+
423437
emac0: ethernet@5020000 {
424438
compatible = "allwinner,sun50i-a100-emac",
425439
"allwinner,sun50i-a64-emac";

0 commit comments

Comments
 (0)