diff options
author | Shiji Yang <yangshiji66@qq.com> | 2022-10-08 16:06:00 +0800 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2022-11-09 22:55:33 +0100 |
commit | 520c90854ca73eb6c3d8feeda59766c90bdd4144 (patch) | |
tree | 136eb2d5ad071de2bc9c01fd321b3f44e780eef7 /target/linux/ath79/dts/ar724x.dtsi | |
parent | 901366ad66ff904f2aa02fba1e1411580aedebc1 (diff) | |
download | upstream-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/ar724x.dtsi')
-rw-r--r-- | target/linux/ath79/dts/ar724x.dtsi | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/target/linux/ath79/dts/ar724x.dtsi b/target/linux/ath79/dts/ar724x.dtsi index 882b0bc51a..c090eb5e0f 100644 --- a/target/linux/ath79/dts/ar724x.dtsi +++ b/target/linux/ath79/dts/ar724x.dtsi @@ -24,6 +24,13 @@ }; }; + extosc: ref { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-output-names = "ref"; + clock-frequency = <40000000>; + }; + ahb: ahb { apb { ddr_ctrl: memory-controller@18000000 { @@ -89,8 +96,8 @@ compatible = "qca,ar7240-pll", "syscon"; reg = <0x18050000 0x3c>; + clocks = <&extosc>; clock-names = "ref"; - /* The board must provides the ref clock */ #clock-cells = <1>; clock-output-names = "cpu", "ddr", "ahb"; |