Files
openloongarch-linux-6.12/arch/loongarch/boot/dts/ls2k300_vanguard_pi.dts
T
2026-02-04 16:40:54 +08:00

84 lines
1007 B
Devicetree

// SPDX-License-Identifier: GPL-2.0
/*
* Copyright (C) 2025 Loongson Technology Corporation Limited
*/
/dts-v1/;
#include "ls2k300_vanguard_pi_common.dtsi"
&uart2 {
status = "ok"
};
&uart5 {
status = "disabled";
};
&uart6 {
status = "disabled";
};
&uart7 {
status = "disabled";
};
&uart8 {
status = "disabled";
};
&spi1 {
status = "disabled";
};
&spi2 {
status = "ok"
pinctrl-0 = <&spi2_cs_as_gpio>;
pinctrl-names = "default";
num-chipselects = <2>;
cs-gpios = <&gpio 67 0>,
<&gpio 85 0>;
mcp3004@0 {
compatible = "mcp3004";
reg = <0>;
spi-max-frequency = <1500000>;
};
spidev1@1 {
compatible = "rohm,dh2228fv";
reg = <1>;
spi-max-frequency = <25000000>;
};
};
&i2c1 {
i2c-speed = <400000>;
bh1750@23 {
compatible = "rohm,bh1750";
reg = <0x23>;
};
bl24c32a@50 {
compatible = "atmel,24c32";
reg = <0x50>;
};
};
&can0 {
status = "disabled";
};
&can1 {
status = "disabled";
};
&can2 {
status = "disabled";
};
&can3 {
status = "disabled";
};