mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-20 06:08:08 +00:00
5b4bbd1097
Refresh patches and fix changed path for 32-bit mediatek boards 'arch/arm/dts' -> 'arch/arm/dts/mediatek' Signed-off-by: Daniel Golle <daniel@makrotopia.org>
76 lines
1.7 KiB
Diff
76 lines
1.7 KiB
Diff
--- /dev/null
|
|
+++ b/arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3-respeaker-2mics.dtso
|
|
@@ -0,0 +1,62 @@
|
|
+// SPDX-License-Identifier: (GPL-2.0 OR MIT)
|
|
+/*
|
|
+ * Copyright (C) 2023 MediaTek Inc.
|
|
+ * Author: Maso Huang <Maso.Huang@mediatek.com>
|
|
+ */
|
|
+
|
|
+/dts-v1/;
|
|
+/plugin/;
|
|
+
|
|
+/ {
|
|
+ compatible = "bananapi,bpi-r3", "mediatek,mt7986a";
|
|
+
|
|
+ fragment@0 {
|
|
+ target-path = "/";
|
|
+ __overlay__ {
|
|
+ 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>;
|
|
+ };
|
|
+ };
|
|
+ };
|
|
+ };
|
|
+
|
|
+ fragment@1 {
|
|
+ target = <&i2c0>;
|
|
+ __overlay__ {
|
|
+ pinctrl-names = "default";
|
|
+ pinctrl-0 = <&i2c_pins>;
|
|
+ clock-frequency = <400000>;
|
|
+ status = "okay";
|
|
+
|
|
+ wm8960: wm8960@1a {
|
|
+ compatible = "wlf,wm8960";
|
|
+ reg = <0x1a>;
|
|
+ };
|
|
+ };
|
|
+ };
|
|
+
|
|
+ fragment@2 {
|
|
+ target = <&pio>;
|
|
+ __overlay__ {
|
|
+ i2c_pins: i2c-pins-3-4 {
|
|
+ mux {
|
|
+ function = "i2c";
|
|
+ groups = "i2c";
|
|
+ };
|
|
+ };
|
|
+ };
|
|
+ };
|
|
+};
|
|
--- a/arch/arm64/boot/dts/mediatek/Makefile
|
|
+++ b/arch/arm64/boot/dts/mediatek/Makefile
|
|
@@ -13,6 +13,7 @@ dtb-$(CONFIG_ARCH_MEDIATEK) += mt7986a-b
|
|
dtb-$(CONFIG_ARCH_MEDIATEK) += mt7986a-bananapi-bpi-r3-nand.dtbo
|
|
dtb-$(CONFIG_ARCH_MEDIATEK) += mt7986a-bananapi-bpi-r3-nor.dtbo
|
|
dtb-$(CONFIG_ARCH_MEDIATEK) += mt7986a-bananapi-bpi-r3-sd.dtbo
|
|
+dtb-$(CONFIG_ARCH_MEDIATEK) += mt7986a-bananapi-bpi-r3-respeaker-2mics.dtbo
|
|
dtb-$(CONFIG_ARCH_MEDIATEK) += mt7986a-rfb.dtb
|
|
dtb-$(CONFIG_ARCH_MEDIATEK) += mt7986b-rfb.dtb
|
|
dtb-$(CONFIG_ARCH_MEDIATEK) += mt8167-pumpkin.dtb
|