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>
This commit is contained in:
Samuel Holland 2023-10-29 16:26:57 -05:00 committed by Chen-Yu Tsai
parent 0b2761eb12
commit 4d9af1e12c

View File

@ -420,6 +420,20 @@ i2c3: i2c@5002c00 {
#size-cells = <0>;
};
ledc: led-controller@5018000 {
compatible = "allwinner,sun50i-a100-ledc";
reg = <0x5018000 0x400>;
interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&ccu CLK_BUS_LEDC>, <&ccu CLK_LEDC>;
clock-names = "bus", "mod";
resets = <&ccu RST_BUS_LEDC>;
dmas = <&dma 42>;
dma-names = "tx";
#address-cells = <1>;
#size-cells = <0>;
status = "disabled";
};
emac0: ethernet@5020000 {
compatible = "allwinner,sun50i-a100-emac",
"allwinner,sun50i-a64-emac";