mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-02-10 04:55:37 +07:00
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: Jerome Brunet <jbrunet@baylibre.com> Signed-off-by: Kevin Hilman <khilman@baylibre.com>
This commit is contained in:
parent
649675db93
commit
9c5dc0322d
@ -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 {
|
pwm_a_pins: pwm-a {
|
||||||
mux {
|
mux {
|
||||||
groups = "pwm_a";
|
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 {
|
audio: bus@42000 {
|
||||||
compatible = "simple-bus";
|
compatible = "simple-bus";
|
||||||
reg = <0x0 0x42000 0x0 0x2000>;
|
reg = <0x0 0x42000 0x0 0x2000>;
|
||||||
|
Loading…
Reference in New Issue
Block a user