summaryrefslogtreecommitdiff
path: root/arch/arm64/boot/dts/rockchip/rk356x.dtsi
diff options
context:
space:
mode:
authorSamuel Holland <samuel@sholland.org>2022-01-29 23:38:02 -0600
committerHeiko Stuebner <heiko@sntech.de>2022-02-12 01:02:06 +0100
commit79c5f0e52d29a688a951fc818394b529e7e77e3e (patch)
tree1d0b6cb476b8d235a2ea8ad14b6ee18c75f59e6b /arch/arm64/boot/dts/rockchip/rk356x.dtsi
parenta7c9013216f399791ca354cc2e0f4a444837fe39 (diff)
arm64: dts: rockchip: Add pdm node to rk356x
rk356x contains a PDM microphone controller which is compatible with the existing rockchip,pdm binding. Add its node. Signed-off-by: Samuel Holland <samuel@sholland.org> Link: https://lore.kernel.org/r/20220130053803.43660-2-samuel@sholland.org Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Diffstat (limited to 'arch/arm64/boot/dts/rockchip/rk356x.dtsi')
-rw-r--r--arch/arm64/boot/dts/rockchip/rk356x.dtsi21
1 files changed, 21 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/rockchip/rk356x.dtsi b/arch/arm64/boot/dts/rockchip/rk356x.dtsi
index 80e3a3a2ab0f..e20ee3968b5a 100644
--- a/arch/arm64/boot/dts/rockchip/rk356x.dtsi
+++ b/arch/arm64/boot/dts/rockchip/rk356x.dtsi
@@ -770,6 +770,27 @@
status = "disabled";
};
+ pdm: pdm@fe440000 {
+ compatible = "rockchip,rk3568-pdm";
+ reg = <0x0 0xfe440000 0x0 0x1000>;
+ interrupts = <GIC_SPI 76 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&cru MCLK_PDM>, <&cru HCLK_PDM>;
+ clock-names = "pdm_clk", "pdm_hclk";
+ dmas = <&dmac1 9>;
+ dma-names = "rx";
+ pinctrl-0 = <&pdmm0_clk
+ &pdmm0_clk1
+ &pdmm0_sdi0
+ &pdmm0_sdi1
+ &pdmm0_sdi2
+ &pdmm0_sdi3>;
+ pinctrl-names = "default";
+ resets = <&cru SRST_M_PDM>;
+ reset-names = "pdm-m";
+ #sound-dai-cells = <0>;
+ status = "disabled";
+ };
+
dmac0: dmac@fe530000 {
compatible = "arm,pl330", "arm,primecell";
reg = <0x0 0xfe530000 0x0 0x4000>;