Files
openloongarch-linux-5.10/arch/loongarch/boot/dts/loongson/ls2p500_gbkpjm0_v10.dts
T
maoxiaochuan 9585ff23df update to e4af36c7270
1.add 2k300_gongkong board support
2.update dht11 driver
3.support EC200A-CN 4G model
4.goodix:reset: reset timing fixing
5.other bugs fix
2024-12-18 20:29:54 +08:00

90 lines
1.1 KiB
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";
};
};
};
&pioA {
eth_bypass {
gpio-hog;
gpios = <13 GPIO_ACTIVE_HIGH>;
output-high;
line-name = "eth-bypass";
};
};
// 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";
snps,reset-gpio = <&pioA 12 GPIO_ACTIVE_LOW>;
snps,reset-active-low;
snps,reset-delays-us = <0 50000 50000>;
};
&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";
};