Commit 9c5dc032 authored by Jerome Brunet's avatar Jerome Brunet Committed by Kevin Hilman

arm64: dts: meson: g12a: add pdm

Add the pdm device node and the pinctrl definition for this capture
interface g12a SoC family
Signed-off-by: default avatarJerome Brunet <jbrunet@baylibre.com>
Signed-off-by: default avatarKevin Hilman <khilman@baylibre.com>
parent 649675db
......@@ -497,6 +497,170 @@ mux {
};
};
pdm_din0_a_pins: pdm-din0-a {
mux {
groups = "pdm_din0_a";
function = "pdm";
bias-disable;
};
};
pdm_din0_c_pins: pdm-din0-c {
mux {
groups = "pdm_din0_c";
function = "pdm";
bias-disable;
};
};
pdm_din0_x_pins: pdm-din0-x {
mux {
groups = "pdm_din0_x";
function = "pdm";
bias-disable;
};
};
pdm_din0_z_pins: pdm-din0-z {
mux {
groups = "pdm_din0_z";
function = "pdm";
bias-disable;
};
};
pdm_din1_a_pins: pdm-din1-a {
mux {
groups = "pdm_din1_a";
function = "pdm";
bias-disable;
};
};
pdm_din1_c_pins: pdm-din1-c {
mux {
groups = "pdm_din1_c";
function = "pdm";
bias-disable;
};
};
pdm_din1_x_pins: pdm-din1-x {
mux {
groups = "pdm_din1_x";
function = "pdm";
bias-disable;
};
};
pdm_din1_z_pins: pdm-din1-z {
mux {
groups = "pdm_din1_z";
function = "pdm";
bias-disable;
};
};
pdm_din2_a_pins: pdm-din2-a {
mux {
groups = "pdm_din2_a";
function = "pdm";
bias-disable;
};
};
pdm_din2_c_pins: pdm-din2-c {
mux {
groups = "pdm_din2_c";
function = "pdm";
bias-disable;
};
};
pdm_din2_x_pins: pdm-din2-x {
mux {
groups = "pdm_din2_x";
function = "pdm";
bias-disable;
};
};
pdm_din2_z_pins: pdm-din2-z {
mux {
groups = "pdm_din2_z";
function = "pdm";
bias-disable;
};
};
pdm_din3_a_pins: pdm-din3-a {
mux {
groups = "pdm_din3_a";
function = "pdm";
bias-disable;
};
};
pdm_din3_c_pins: pdm-din3-c {
mux {
groups = "pdm_din3_c";
function = "pdm";
bias-disable;
};
};
pdm_din3_x_pins: pdm-din3-x {
mux {
groups = "pdm_din3_x";
function = "pdm";
bias-disable;
};
};
pdm_din3_z_pins: pdm-din3-z {
mux {
groups = "pdm_din3_z";
function = "pdm";
bias-disable;
};
};
pdm_dclk_a_pins: pdm-dclk-a {
mux {
groups = "pdm_dclk_a";
function = "pdm";
bias-disable;
drive-strength-microamp = <500>;
};
};
pdm_dclk_c_pins: pdm-dclk-c {
mux {
groups = "pdm_dclk_c";
function = "pdm";
bias-disable;
drive-strength-microamp = <500>;
};
};
pdm_dclk_x_pins: pdm-dclk-x {
mux {
groups = "pdm_dclk_x";
function = "pdm";
bias-disable;
drive-strength-microamp = <500>;
};
};
pdm_dclk_z_pins: pdm-dclk-z {
mux {
groups = "pdm_dclk_z";
function = "pdm";
bias-disable;
drive-strength-microamp = <500>;
};
};
pwm_a_pins: pwm-a {
mux {
groups = "pwm_a";
......@@ -1164,6 +1328,19 @@ clkc: clock-controller {
};
};
pdm: audio-controller@40000 {
compatible = "amlogic,g12a-pdm",
"amlogic,axg-pdm";
reg = <0x0 0x40000 0x0 0x34>;
#sound-dai-cells = <0>;
sound-name-prefix = "PDM";
clocks = <&clkc_audio AUD_CLKID_PDM>,
<&clkc_audio AUD_CLKID_PDM_DCLK>,
<&clkc_audio AUD_CLKID_PDM_SYSCLK>;
clock-names = "pclk", "dclk", "sysclk";
status = "disabled";
};
audio: bus@42000 {
compatible = "simple-bus";
reg = <0x0 0x42000 0x0 0x2000>;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment