1 * Rockchip PDM controller
5 - compatible: "rockchip,pdm"
7 - "rockchip,rk1808-pdm"
8 - "rockchip,rk3308-pdm"
9 - reg: physical base address of the controller and length of memory mapped
11 - dmas: DMA specifiers for rx dma. See the DMA client binding,
12 Documentation/devicetree/bindings/dma/dma.txt
13 - dma-names: should include "rx".
14 - clocks: a list of phandle + clock-specifer pairs, one for each entry in clock-names.
15 - clock-names: should contain following:
16 - "pdm_hclk": clock for PDM BUS
17 - "pdm_clk" : clock for PDM controller
18 - resets: a list of phandle + reset-specifer paris, one for each entry in reset-names.
19 - reset-names: reset names, should include "pdm-m".
20 - pinctrl-names: Must contain a "default" entry.
21 - pinctrl-N: One property must exist for each entry in
22 pinctrl-names. See ../pinctrl/pinctrl-bindings.txt
23 for details of the property values.
25 Example for rk3328 PDM controller:
28 compatible = "rockchip,pdm";
29 reg = <0x0 0xff040000 0x0 0x1000>;
30 clocks = <&clk_pdm>, <&clk_gates28 0>;
31 clock-names = "pdm_clk", "pdm_hclk";
35 pinctrl-names = "default", "sleep";
36 pinctrl-0 = <&pdmm0_clk
41 pinctrl-1 = <&pdmm0_clk_sleep