Files
openloongarch-linux-5.10/arch/loongarch/boot/dts/loongson/ls2p500_gbkpjm0_v10.dts
T
maoxiaochuan efb2675821 update to 5625657ca598
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
2024-08-19 16:30:44 +08:00

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";
};