mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2024-11-22 04:56:15 +00:00
95d3d353f8
Copy patches from patches-6.1 to patches-6.6. No changes. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
62 lines
1.1 KiB
Diff
62 lines
1.1 KiB
Diff
From 1c09b694a1e9378931085e77d834a4d9786a5356 Mon Sep 17 00:00:00 2001
|
|
From: Maso Huang <maso.huang@mediatek.com>
|
|
Date: Thu, 7 Sep 2023 10:54:37 +0800
|
|
Subject: [PATCH] arm64: dts: mt7986: add sound wm8960
|
|
|
|
---
|
|
.../dts/mediatek/mt7986a-rfb-spim-nand.dts | 39 +++++++++++++++++++
|
|
1 files changed, 39 insertions(+)
|
|
|
|
--- a/arch/arm64/boot/dts/mediatek/mt7986a-rfb-spim-nand.dts
|
|
+++ b/arch/arm64/boot/dts/mediatek/mt7986a-rfb-spim-nand.dts
|
|
@@ -4,6 +4,35 @@
|
|
|
|
/ {
|
|
compatible = "mediatek,mt7986a-rfb-snand";
|
|
+
|
|
+ sound_wm8960 {
|
|
+ compatible = "mediatek,mt7986-wm8960-sound";
|
|
+ audio-routing = "Headphone", "HP_L",
|
|
+ "Headphone", "HP_R",
|
|
+ "LINPUT1", "AMIC",
|
|
+ "RINPUT1", "AMIC";
|
|
+
|
|
+ status = "okay";
|
|
+
|
|
+ platform {
|
|
+ sound-dai = <&afe>;
|
|
+ };
|
|
+
|
|
+ codec {
|
|
+ sound-dai = <&wm8960>;
|
|
+ };
|
|
+ };
|
|
+};
|
|
+
|
|
+&i2c0 {
|
|
+ pinctrl-names = "default";
|
|
+ pinctrl-0 = <&i2c_pins>;
|
|
+ status = "okay";
|
|
+
|
|
+ wm8960: wm8960@1a {
|
|
+ compatible = "wlf,wm8960";
|
|
+ reg = <0x1a>;
|
|
+ };
|
|
};
|
|
|
|
&spi0 {
|
|
@@ -50,3 +79,13 @@
|
|
&wifi {
|
|
mediatek,mtd-eeprom = <&factory 0>;
|
|
};
|
|
+
|
|
+&pio {
|
|
+ i2c_pins: i2c-pins-3-4 {
|
|
+ mux {
|
|
+ function = "i2c";
|
|
+ groups = "i2c";
|
|
+ };
|
|
+ };
|
|
+};
|
|
+
|