[PATCH v4 22/23] arm64: tegra: Enable AHUB components on few Tegra platforms
Sameer Pujar
spujar at nvidia.com
Sat Jun 27 06:53:44 CEST 2020
This patch enables AHUB, ADMAIF modules for following Tegra platforms.
Along with this specific instances of I/O modules are enabled as per
the board design.
* Jetson TX1
- I2S1, I2S2, I2S3, I2S4 and I2S5
- DMIC1, DMIC2 and DMIC3
* Jetson Nano
- I2S3 and I2S4
- DMIC1 and DMIC2
* Jetson TX2
- I2S1, I2S2, I2S3, I2S4, I2S5 and I2S6
- DMIC1, DMIC2 and DMIC3
- DSPK2
* Jetson AGX Xavier
- I2S1, I2S2, I2S4 and I2S6
- DMIC2 and DMIC3
- DSPK1
This helps to register above components with ASoC core.
Signed-off-by: Sameer Pujar <spujar at nvidia.com>
---
arch/arm64/boot/dts/nvidia/tegra186-p2771-0000.dts | 48 ++++++++++++++++++++++
arch/arm64/boot/dts/nvidia/tegra194-p2972-0000.dts | 36 ++++++++++++++++
arch/arm64/boot/dts/nvidia/tegra210-p2371-2180.dts | 42 ++++++++++++++++++-
arch/arm64/boot/dts/nvidia/tegra210-p3450-0000.dts | 36 ++++++++++++++++
4 files changed, 161 insertions(+), 1 deletion(-)
diff --git a/arch/arm64/boot/dts/nvidia/tegra186-p2771-0000.dts b/arch/arm64/boot/dts/nvidia/tegra186-p2771-0000.dts
index a70fd4e..cb24b81 100644
--- a/arch/arm64/boot/dts/nvidia/tegra186-p2771-0000.dts
+++ b/arch/arm64/boot/dts/nvidia/tegra186-p2771-0000.dts
@@ -20,6 +20,54 @@
interrupt-controller at 2a40000 {
status = "okay";
};
+
+ ahub at 2900800 {
+ status = "okay";
+
+ admaif at 290f000 {
+ status = "okay";
+ };
+
+ i2s at 2901000 {
+ status = "okay";
+ };
+
+ i2s at 2901100 {
+ status = "okay";
+ };
+
+ i2s at 2901200 {
+ status = "okay";
+ };
+
+ i2s at 2901300 {
+ status = "okay";
+ };
+
+ i2s at 2901400 {
+ status = "okay";
+ };
+
+ i2s at 2901500 {
+ status = "okay";
+ };
+
+ dmic at 2904000 {
+ status = "okay";
+ };
+
+ dmic at 2904100 {
+ status = "okay";
+ };
+
+ dmic at 2904200 {
+ status = "okay";
+ };
+
+ dspk at 2905100 {
+ status = "okay";
+ };
+ };
};
i2c at 3160000 {
diff --git a/arch/arm64/boot/dts/nvidia/tegra194-p2972-0000.dts b/arch/arm64/boot/dts/nvidia/tegra194-p2972-0000.dts
index 90b6ea5..f71c3bd 100644
--- a/arch/arm64/boot/dts/nvidia/tegra194-p2972-0000.dts
+++ b/arch/arm64/boot/dts/nvidia/tegra194-p2972-0000.dts
@@ -21,6 +21,42 @@
interrupt-controller at 2a40000 {
status = "okay";
};
+
+ ahub at 2900800 {
+ status = "okay";
+
+ admaif at 290f000 {
+ status = "okay";
+ };
+
+ i2s at 2901000 {
+ status = "okay";
+ };
+
+ i2s at 2901100 {
+ status = "okay";
+ };
+
+ i2s at 2901300 {
+ status = "okay";
+ };
+
+ i2s at 2901500 {
+ status = "okay";
+ };
+
+ dmic at 2904100 {
+ status = "okay";
+ };
+
+ dmic at 2904200 {
+ status = "okay";
+ };
+
+ dspk at 2905000 {
+ status = "okay";
+ };
+ };
};
ddc: i2c at 31c0000 {
diff --git a/arch/arm64/boot/dts/nvidia/tegra210-p2371-2180.dts b/arch/arm64/boot/dts/nvidia/tegra210-p2371-2180.dts
index 56adf28..3c21137 100644
--- a/arch/arm64/boot/dts/nvidia/tegra210-p2371-2180.dts
+++ b/arch/arm64/boot/dts/nvidia/tegra210-p2371-2180.dts
@@ -118,12 +118,52 @@
aconnect at 702c0000 {
status = "okay";
- dma at 702e2000 {
+ dma-controller at 702e2000 {
status = "okay";
};
interrupt-controller at 702f9000 {
status = "okay";
};
+
+ ahub at 702d0800 {
+ status = "okay";
+
+ admaif at 702d0000 {
+ status = "okay";
+ };
+
+ i2s at 702d1000 {
+ status = "okay";
+ };
+
+ i2s at 702d1100 {
+ status = "okay";
+ };
+
+ i2s at 702d1200 {
+ status = "okay";
+ };
+
+ i2s at 702d1300 {
+ status = "okay";
+ };
+
+ i2s at 702d1400 {
+ status = "okay";
+ };
+
+ dmic at 702d4000 {
+ status = "okay";
+ };
+
+ dmic at 702d4100 {
+ status = "okay";
+ };
+
+ dmic at 702d4200 {
+ status = "okay";
+ };
+ };
};
};
diff --git a/arch/arm64/boot/dts/nvidia/tegra210-p3450-0000.dts b/arch/arm64/boot/dts/nvidia/tegra210-p3450-0000.dts
index 9b63469..721f66c 100644
--- a/arch/arm64/boot/dts/nvidia/tegra210-p3450-0000.dts
+++ b/arch/arm64/boot/dts/nvidia/tegra210-p3450-0000.dts
@@ -806,4 +806,40 @@
vin-supply = <&avdd_1v05_pll>;
};
+
+ aconnect at 702c0000 {
+ status = "okay";
+
+ dma-controller at 702e2000 {
+ status = "okay";
+ };
+
+ interrupt-controller at 702f9000 {
+ status = "okay";
+ };
+
+ ahub at 702d0800 {
+ status = "okay";
+
+ admaif at 702d0000 {
+ status = "okay";
+ };
+
+ i2s at 702d1200 {
+ status = "okay";
+ };
+
+ i2s at 702d1300 {
+ status = "okay";
+ };
+
+ dmic at 702d4000 {
+ status = "okay";
+ };
+
+ dmic at 702d4100 {
+ status = "okay";
+ };
+ };
+ };
};
--
2.7.4
More information about the Alsa-devel
mailing list