mirror of
https://gitee.com/open-loongarch/linux-5.10.git
synced 2026-10-25 20:57:11 +08:00
1. lio: fix read16 use 8bit-mode 2. 2K300-PAI:add ls2k300_pai_pihat.dts and ls2k300_pai_2.dts 3. 2K300:Correct pinmux config for uart 4. 2K300:Fix Qt program is not displaying fully 5. 2K300:Canfd up to 10Mpbs 6. 2P500:EMMC use letacy interrupt controller
77 lines
938 B
Devicetree
77 lines
938 B
Devicetree
#include "ls2p500_g2p05z0_v10.dtsi"
|
|
#include <dt-bindings/input/linux-event-codes.h>
|
|
#include <dt-bindings/pwm/pwm.h>
|
|
#include <dt-bindings/gpio/gpio.h>
|
|
|
|
/ {
|
|
model = "LS2P500-GBKPJM0";
|
|
|
|
leds {
|
|
compatible = "gpio-leds";
|
|
|
|
sysrun {
|
|
label = "sysrun";
|
|
gpios = <&pioB 32 GPIO_ACTIVE_LOW>;
|
|
linux,default-trigger = "heartbeat";
|
|
default-state = "on";
|
|
};
|
|
};
|
|
};
|
|
|
|
// UART LCD
|
|
&uart1 {
|
|
status = "okay";
|
|
};
|
|
|
|
// PRT-UART0
|
|
&uart4 {
|
|
status = "okay";
|
|
};
|
|
|
|
// SCA-UART0
|
|
&uart6 {
|
|
status = "okay";
|
|
};
|
|
|
|
// PRT-I2C0
|
|
&i2c2 {
|
|
status = "okay";
|
|
};
|
|
|
|
// PRT-I2C1
|
|
&i2c3 {
|
|
status = "okay";
|
|
};
|
|
|
|
&spi2 {
|
|
status = "okay";
|
|
};
|
|
|
|
&spi3 {
|
|
status = "okay";
|
|
};
|
|
|
|
&gmac0 {
|
|
status = "okay";
|
|
};
|
|
|
|
&gmac1 {
|
|
status = "okay";
|
|
};
|
|
|
|
&otg {
|
|
status = "okay";
|
|
dr_mode = "host";
|
|
};
|
|
|
|
&sdio1 {
|
|
status = "okay";
|
|
pinctrl-0 = <&sdio1_pins>, <&g12_15_as_gpio>;
|
|
pinctrl-names = "default";
|
|
cd-gpios = <&pioA 14 GPIO_ACTIVE_LOW>;
|
|
};
|
|
|
|
&prt_pwm15 {
|
|
status = "okay";
|
|
};
|