summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/en7523.dtsi
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2022-03-14 09:44:05 +0100
committerMatthias Brugger <matthias.bgg@gmail.com>2022-06-07 18:26:03 +0200
commite0c5341acdbeb5c900f3204cf279153c1c8b7433 (patch)
tree3edcf7cba6b3babfa49eedabe36675f5881bf1a5 /arch/arm/boot/dts/en7523.dtsi
parentf2906aa863381afb0015a9eb7fefad885d4e5a56 (diff)
downloadlwn-e0c5341acdbeb5c900f3204cf279153c1c8b7433.tar.gz
lwn-e0c5341acdbeb5c900f3204cf279153c1c8b7433.zip
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>
Diffstat (limited to 'arch/arm/boot/dts/en7523.dtsi')
-rw-r--r--arch/arm/boot/dts/en7523.dtsi8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/en7523.dtsi b/arch/arm/boot/dts/en7523.dtsi
index 36597f587f46..2e705b87b6c1 100644
--- a/arch/arm/boot/dts/en7523.dtsi
+++ b/arch/arm/boot/dts/en7523.dtsi
@@ -3,6 +3,7 @@
#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/gpio/gpio.h>
+#include <dt-bindings/clock/en7523-clk.h>
/ {
interrupt-parent = <&gic>;
@@ -83,6 +84,13 @@
};
};
+ scu: system-controller@1fa20000 {
+ compatible = "airoha,en7523-scu";
+ reg = <0x1fa20000 0x400>,
+ <0x1fb00000 0x1000>;
+ #clock-cells = <1>;
+ };
+
gic: interrupt-controller@9000000 {
compatible = "arm,gic-v3";
interrupt-controller;