Skip to content

Commit

Permalink
dts: common: nordic: Add PDM to nrf54h20 dts
Browse files Browse the repository at this point in the history
Added pdm0 node to nrf54h20 devicetree with proper bindings.

Signed-off-by: Michał Stasiak <[email protected]>
  • Loading branch information
mstasiaknordic committed Dec 2, 2024
1 parent 6f26952 commit 3d6dbcc
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion dts/bindings/audio/nordic,nrf-pdm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ description: Nordic PDM (Pulse Density Modulation interface)

compatible: "nordic,nrf-pdm"

include: [base.yaml, pinctrl-device.yaml]
include: ["base.yaml", "pinctrl-device.yaml", "memory-region.yaml", "nordic-clockpin.yaml"]

properties:
reg:
Expand Down
9 changes: 9 additions & 0 deletions dts/common/nordic/nrf54h20.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -897,6 +897,15 @@
power-domains = <&gpd NRF_GPD_SLOW_ACTIVE>;
};

pdm0: pdm@993000 {
compatible = "nordic,nrf-pdm";
reg = <0x993000 0x1000>;
status = "disabled";
interrupts = <403 NRF_DEFAULT_IRQ_PRIORITY>;
nordic,clockpin-enable = <NRF_FUN_PDM_CLK>;
power-domains = <&gpd NRF_GPD_SLOW_ACTIVE>;
};

qdec130: qdec@994000 {
compatible = "nordic,nrf-qdec";
reg = <0x994000 0x1000>;
Expand Down

0 comments on commit 3d6dbcc

Please sign in to comment.