aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ath79/dts/ar7100.dtsi
diff options
context:
space:
mode:
authorShiji Yang <yangshiji66@qq.com>2022-10-08 16:06:00 +0800
committerHauke Mehrtens <hauke@hauke-m.de>2022-11-09 22:55:33 +0100
commit520c90854ca73eb6c3d8feeda59766c90bdd4144 (patch)
tree136eb2d5ad071de2bc9c01fd321b3f44e780eef7 /target/linux/ath79/dts/ar7100.dtsi
parent901366ad66ff904f2aa02fba1e1411580aedebc1 (diff)
downloadupstream-520c90854ca73eb6c3d8feeda59766c90bdd4144.tar.gz
upstream-520c90854ca73eb6c3d8feeda59766c90bdd4144.tar.bz2
upstream-520c90854ca73eb6c3d8feeda59766c90bdd4144.zip
ath79: move reference clock node to SoC dtsi
AR7161, AR724x, AR9132 and QCA95xx only support fixed frequency external crystal oscillator, so move reference clock node to SoC dtsi files. Signed-off-by: Shiji Yang <yangshiji66@qq.com>
Diffstat (limited to 'target/linux/ath79/dts/ar7100.dtsi')
-rw-r--r--target/linux/ath79/dts/ar7100.dtsi9
1 files changed, 8 insertions, 1 deletions
diff --git a/target/linux/ath79/dts/ar7100.dtsi b/target/linux/ath79/dts/ar7100.dtsi
index 12ab7e5039..d91ef91ebd 100644
--- a/target/linux/ath79/dts/ar7100.dtsi
+++ b/target/linux/ath79/dts/ar7100.dtsi
@@ -21,6 +21,13 @@
};
};
+ extosc: ref {
+ compatible = "fixed-clock";
+ #clock-cells = <0>;
+ clock-output-names = "ref";
+ clock-frequency = <40000000>;
+ };
+
ahb {
apb {
ddr_ctrl: memory-controller@18000000 {
@@ -73,8 +80,8 @@
compatible = "qca,ar7100-pll", "syscon";
reg = <0x18050000 0x20>;
+ clocks = <&extosc>;
clock-names = "ref";
- /* The board must provides the ref clock */
#clock-cells = <1>;
clock-output-names = "cpu", "ddr", "ahb";