Skip to content

Commit e0c5341

Browse files
nbd168mbgg
authored andcommitted
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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Matthias Brugger <[email protected]>
1 parent f2906aa commit e0c5341

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

arch/arm/boot/dts/en7523.dtsi

+8
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
#include <dt-bindings/interrupt-controller/irq.h>
44
#include <dt-bindings/interrupt-controller/arm-gic.h>
55
#include <dt-bindings/gpio/gpio.h>
6+
#include <dt-bindings/clock/en7523-clk.h>
67

78
/ {
89
interrupt-parent = <&gic>;
@@ -83,6 +84,13 @@
8384
};
8485
};
8586

87+
scu: system-controller@1fa20000 {
88+
compatible = "airoha,en7523-scu";
89+
reg = <0x1fa20000 0x400>,
90+
<0x1fb00000 0x1000>;
91+
#clock-cells = <1>;
92+
};
93+
8694
gic: interrupt-controller@9000000 {
8795
compatible = "arm,gic-v3";
8896
interrupt-controller;

0 commit comments

Comments
 (0)