From 5503683318f643737870905d75dbc8de5d08343e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Stasiak?= Date: Tue, 19 Nov 2024 14:22:58 +0100 Subject: [PATCH] [nrf fromlist] dts: common: nordic: Add PDM to nrf54h20 dts MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Added pdm0 node to nrf54h20 devicetree with proper bindings. Upstream PR #: 81588 Signed-off-by: MichaƂ Stasiak --- dts/bindings/audio/nordic,nrf-pdm.yaml | 2 +- dts/common/nordic/nrf54h20.dtsi | 9 +++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/dts/bindings/audio/nordic,nrf-pdm.yaml b/dts/bindings/audio/nordic,nrf-pdm.yaml index c18d9ceebe8..78b08567b7d 100644 --- a/dts/bindings/audio/nordic,nrf-pdm.yaml +++ b/dts/bindings/audio/nordic,nrf-pdm.yaml @@ -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: diff --git a/dts/common/nordic/nrf54h20.dtsi b/dts/common/nordic/nrf54h20.dtsi index a9523f15465..4ef0a05a302 100644 --- a/dts/common/nordic/nrf54h20.dtsi +++ b/dts/common/nordic/nrf54h20.dtsi @@ -905,6 +905,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 = ; + power-domains = <&gpd NRF_GPD_SLOW_ACTIVE>; + }; + qdec130: qdec@994000 { compatible = "nordic,nrf-qdec"; reg = <0x994000 0x1000>;