airoha: disable afe by default for an7581

The audio should only be enabled when the sound
node is enabled. This fixes the following error:

an7581-audio 1fbe2200.afe: probe with driver an7581-audio failed with error -2

Fixes: 7b55651 ("airoha: enable I2S sound driver and add nodes for eMMC RFB board")
Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn>
Link: https://github.com/openwrt/openwrt/pull/22660
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
This commit is contained in:
Chukun Pan 2026-03-28 16:19:20 +08:00 committed by Hauke Mehrtens
parent 4f59715716
commit 5dbe94d972
2 changed files with 5 additions and 0 deletions

View File

@ -5,6 +5,10 @@
#include <dt-bindings/gpio/gpio.h>
#include "an7581.dtsi"
&afe {
status = "okay";
};
&sound {
audio-routing = "Headphone", "HP_L",
"Headphone", "HP_R",

View File

@ -439,6 +439,7 @@
reg = <0x0 0x1fbe2200 0x0 0x9000>;
interrupts = <GIC_SPI 48 IRQ_TYPE_LEVEL_HIGH>;
status = "disabled";
};
uart4: serial@1fbf0600 {