Skip to content

Commit fa5524a

Browse files
Hi-Im-Davidrlubos
authored andcommitted
dts: common: nordic: nrf7120: add AUDIOPLL
Define AUDIOPLL, an AUXPLL IP instance used by the TDM and PDM IP. PLL can be configured to set it's frequency based on marcros in nrf-audiopll.h. FICR not fully defined yet. Also added TDM node. Signed-off-by: David Jewsbury <[email protected]>
1 parent 2a99641 commit fa5524a

File tree

1 file changed

+21
-1
lines changed

1 file changed

+21
-1
lines changed

dts/common/nordic/nrf7120_enga.dtsi

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66

77
#include <mem.h>
88
#include <nordic/nrf_common.dtsi>
9+
#include <zephyr/dt-bindings/clock/nrf-auxpll.h>
910

1011
/delete-node/ &sw_pwm;
1112

@@ -112,7 +113,7 @@
112113
ficr: ficr@ffc000 {
113114
compatible = "nordic,nrf-ficr";
114115
reg = <0xffc000 0x1000>;
115-
status = "disabled";
116+
#nordic,ficr-cells = <1>;
116117
};
117118

118119
#ifdef USE_NON_SECURE_ADDRESS_MAP
@@ -817,6 +818,25 @@
817818
status = "disabled";
818819
};
819820

821+
audio_auxpll: auxpll@130000 {
822+
compatible = "nordic,nrf-auxpll";
823+
reg = <0x130000 0x1000>;
824+
interrupts = <304 NRF_DEFAULT_IRQ_PRIORITY>;
825+
clocks = <&hfxo32m>;
826+
#clock-cells = <0>;
827+
/*
828+
* Temporarily reading FICR addr 0 as FICR offsets
829+
* not defined yet
830+
*/
831+
nordic,ficrs = <&ficr 0>;
832+
nordic,out-div = <2>;
833+
nordic,out-drive = <0>;
834+
nordic,current-tune = <9>;
835+
nordic,sdm-disable;
836+
nordic,range = "high";
837+
status = "disabled";
838+
};
839+
820840
cpuapp_ppb: cpuapp-ppb-bus {
821841
#address-cells = <1>;
822842
#size-cells = <1>;

0 commit comments

Comments
 (0)