mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-28 09:39:00 +00:00
99545b4bb1
This target adds support for the Allwinner D1 RISC-V based SoCs. - RISC-V single-core T-Head C906 (RV64GCV) - Tensilica HiFi4 DSP - DDR2/DDR3 support - 10/100/1000M ethernet - usual peripherals like USB2, SPI, I2C, PWM, etc. Four boards are supported: - Dongshan Nezha STU - 512Mb RAM - ethernet - LicheePi RV Dock - 512Mb RAM - wireless-only (RTL8723DS) - MangoPi MQ-Pro - 512Mb RAM - there are pads available for an SPI flash - wireless-only (RTL8723DS) - Nezha D1 - 512Mb/1Gb/2Gb RAM - 256Mb NAND flash - ethernet, wireless Installation: Standard SD-card installation via dd-ing the generated image to an SD-card of at least 256Mb. Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
35 lines
1.0 KiB
Diff
35 lines
1.0 KiB
Diff
From d73f2176958e405e55c4e782c6d0f888e20080e5 Mon Sep 17 00:00:00 2001
|
|
From: Samuel Holland <samuel@sholland.org>
|
|
Date: Wed, 17 Aug 2022 02:08:58 -0500
|
|
Subject: [PATCH 041/117] riscv: dts: allwinner: d1: Add DMIC node
|
|
|
|
Signed-off-by: Samuel Holland <samuel@sholland.org>
|
|
---
|
|
arch/riscv/boot/dts/allwinner/sun20i-d1.dtsi | 15 +++++++++++++++
|
|
1 file changed, 15 insertions(+)
|
|
|
|
--- a/arch/riscv/boot/dts/allwinner/sun20i-d1.dtsi
|
|
+++ b/arch/riscv/boot/dts/allwinner/sun20i-d1.dtsi
|
|
@@ -208,6 +208,21 @@
|
|
};
|
|
};
|
|
|
|
+ dmic: dmic@2031000 {
|
|
+ compatible = "allwinner,sun20i-d1-dmic",
|
|
+ "allwinner,sun50i-h6-dmic";
|
|
+ reg = <0x2031000 0x400>;
|
|
+ interrupts = <40 IRQ_TYPE_LEVEL_HIGH>;
|
|
+ clocks = <&ccu CLK_BUS_DMIC>,
|
|
+ <&ccu CLK_DMIC>;
|
|
+ clock-names = "bus", "mod";
|
|
+ resets = <&ccu RST_BUS_DMIC>;
|
|
+ dmas = <&dma 8>;
|
|
+ dma-names = "rx";
|
|
+ status = "disabled";
|
|
+ #sound-dai-cells = <0>;
|
|
+ };
|
|
+
|
|
i2s0: i2s@2032000 {
|
|
compatible = "allwinner,sun20i-d1-i2s",
|
|
"allwinner,sun50i-r329-i2s";
|