update to 74bf105eb

2K1000:usb-sound:ADD ALL USB-SOUND DRIVER FOR CUSTOMER USE
2k300:uart:Fix error rx status which is unexpected and error ECHO char
2K300-GONGKONG:Add RTC-DS1307 Driver, Fix Expand-GPIO IRQ not correct bug
2K300:EMMC mark "non-removable", Fix system cannot reboot in some case
2K300:Fix Pause/Resume cannot work BUG when play sound by gst or aplay
2K300:Add can tranceiver standing by gpio control
2K300:Fix OTG Cannot Recognise device problem
This commit is contained in:
maoxiaochuan
2025-01-09 15:15:06 +08:00
committed by loongson
parent 4a0fb8def0
commit c5cfe4d2da
12 changed files with 107 additions and 36 deletions
@@ -707,6 +707,7 @@
cap-mmc-highspeed;
no-sd;
no-sdio;
non-removable;
};
sdio1: sdio@0x16148000 {
@@ -1,5 +1,6 @@
#include "ls2k300_g2k03z2_core.dtsi"
#include <dt-bindings/interrupt-controller/irq.h>
#include "loongson_panel_param.dtsi"
/ {
model = "LS2K300-GONGKONG-GBKPGK0";
@@ -48,7 +49,7 @@
/* lcd power on control gpio */
// enable-gpios = <&pioA 3 GPIO_ACTIVE_HIGH>;
// power-supply = <&vdd_lcd>;
#if 1 // 4.3' LCD
#if 0 // 4.3' LCD
width-mm = <223>;
height-mm = <125>;
label = "ATK-MD0430R-800x480";
@@ -173,7 +174,7 @@
};
&i2c2 {
i2c-speed = <400000>;
//i2c-speed = <400000>;
codec: es8388@11{
compatible = "everest,es8388";
@@ -217,6 +218,11 @@
interrupt-controller;
#interrupt-cells = <2>;
};
rtc_ds1307@68 {
compatible = "dallas,ds1307";
reg = <0x68>;
};
};
&i2c3 {
@@ -237,9 +243,9 @@
gpio-controller;
#gpio-cells = <2>;
// 2K300 GPIO 支持中断控制
// GPIO 中断号为 vhwirq-base + pinnum (194 = 128 + 66)
// GPIO 中断号为 vhwirq-base + pinnum (195 = 128 + 67)
interrupt-parent = <&gpio>;
interrupts = <194 IRQ_TYPE_EDGE_FALLING>;
interrupts = <195 IRQ_TYPE_EDGE_FALLING>;
interrupt-controller;
#interrupt-cells = <2>;
};
@@ -250,9 +256,9 @@
gpio-controller;
#gpio-cells = <2>;
// 2K300 GPIO 支持中断控制
// GPIO 中断号为 vhwirq-base + pinnum (195 = 128 + 67)
// GPIO 中断号为 vhwirq-base + pinnum (194 = 128 + 66)
interrupt-parent = <&gpio>;
interrupts = <195 IRQ_TYPE_EDGE_FALLING>;
interrupts = <194 IRQ_TYPE_EDGE_FALLING>;
interrupt-controller;
#interrupt-cells = <2>;
};
@@ -301,10 +307,12 @@
&can2 {
status = "ok"
ls,canfd-stb-gpio = <&gpio 60 GPIO_ACTIVE_HIGH>;
};
&can3 {
status = "ok"
ls,canfd-stb-gpio = <&gpio 60 GPIO_ACTIVE_HIGH>;
};
&adc {
@@ -459,9 +459,18 @@ CONFIG_SND_HDA_CODEC_SIGMATEL=y
CONFIG_SND_HDA_CODEC_HDMI=y
CONFIG_SND_HDA_CODEC_CONEXANT=y
CONFIG_SND_USB_AUDIO=y
CONFIG_SND_USB_UA101=y
CONFIG_SND_USB_CAIAQ=y
CONFIG_SND_USB_CAIAQ_INPUT=y
CONFIG_SND_USB_6FIRE=y
CONFIG_SND_USB_HIFACE=y
CONFIG_SND_BCD2000=y
CONFIG_SND_USB_POD=y
CONFIG_SND_USB_PODHD=y
CONFIG_SND_USB_TONEPORT=y
CONFIG_SND_USB_VARIAX=y
CONFIG_SND_SOC=y
CONFIG_SND_SOC_LOONGSON=y
CONFIG_SND_SOC_LOONGSON_CJC8988=y
CONFIG_SND_LS=y
CONFIG_SND_LS_PCM=y
CONFIG_HIDRAW=y
@@ -563,6 +563,7 @@ CONFIG_LEDS_GPIO=y
CONFIG_LEDS_PWM=y
CONFIG_LEDS_TRIGGER_HEARTBEAT=y
CONFIG_RTC_CLASS=y
CONFIG_RTC_DRV_DS1307=y
CONFIG_RTC_DRV_RX8025T=y
CONFIG_RTC_DRV_SD3078=y
CONFIG_RTC_DRV_LS2X=y