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

ARM: dts: add clock support for Airoha EN7523

This driver only registers fixed rate clocks, since the clocks are fully
initialized by the boot loader and should not be changed later, according
to Airoha.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
Link: https://lore.kernel.org/r/20220314084409.84394-4-nbd@nbd.name
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>

authored by

Felix Fietkau and committed by
Matthias Brugger
e0c5341a f2906aa8

+8
+8
arch/arm/boot/dts/en7523.dtsi
··· 3 3 #include <dt-bindings/interrupt-controller/irq.h> 4 4 #include <dt-bindings/interrupt-controller/arm-gic.h> 5 5 #include <dt-bindings/gpio/gpio.h> 6 + #include <dt-bindings/clock/en7523-clk.h> 6 7 7 8 / { 8 9 interrupt-parent = <&gic>; ··· 82 81 L2_0: l2-cache0 { 83 82 compatible = "cache"; 84 83 }; 84 + }; 85 + 86 + scu: system-controller@1fa20000 { 87 + compatible = "airoha,en7523-scu"; 88 + reg = <0x1fa20000 0x400>, 89 + <0x1fb00000 0x1000>; 90 + #clock-cells = <1>; 85 91 }; 86 92 87 93 gic: interrupt-controller@9000000 {