From 505444594c875f2676cd6c2591124be950624e3d Mon Sep 17 00:00:00 2001 From: tao89959 <1036524114@qq.com> Date: Wed, 21 Jan 2026 16:07:26 +0800 Subject: [PATCH] 2k300: pai: fix func1 dts device node MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Changelog: 修复2k300pai上func1的dts设备节点 Signed-off-by: maoxiaochuan --- .../boot/dts/ls2k300_vanguard_pi.dts | 21 ++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/arch/loongarch/boot/dts/ls2k300_vanguard_pi.dts b/arch/loongarch/boot/dts/ls2k300_vanguard_pi.dts index 5ed6af6ac..6946d4893 100644 --- a/arch/loongarch/boot/dts/ls2k300_vanguard_pi.dts +++ b/arch/loongarch/boot/dts/ls2k300_vanguard_pi.dts @@ -28,7 +28,13 @@ }; &spi1 { - status = "disabled"; + status = "okay"; + + spidev0@0 { + compatible = "rohm,dh2228fv"; + reg = <0>; + spi-max-frequency = <25000000>; + }; }; &spi2 { @@ -66,6 +72,11 @@ }; }; +&i2c2 { + i2c-speed = <400000>; + status = "okay"; +}; + &can0 { status = "disabled"; }; @@ -81,3 +92,11 @@ &can3 { status = "disabled"; }; + +&pwm0 { + status = "okay"; +}; + +&pwm1 { + status = "okay"; +};