From 8454c63cd3224ad61445c2abb209037ee599ce7f Mon Sep 17 00:00:00 2001 From: maoxiaochuan Date: Wed, 7 Jan 2026 14:32:24 +0800 Subject: [PATCH] ls2k300_pi:dts:update pin configuration Signed-off-by: maoxiaochuan --- .../boot/dts/ls2k300_vanguard_pi.dts | 39 ++++++++++--------- 1 file changed, 20 insertions(+), 19 deletions(-) diff --git a/arch/loongarch/boot/dts/ls2k300_vanguard_pi.dts b/arch/loongarch/boot/dts/ls2k300_vanguard_pi.dts index a6e1ebcb4..5ed6af6ac 100644 --- a/arch/loongarch/boot/dts/ls2k300_vanguard_pi.dts +++ b/arch/loongarch/boot/dts/ls2k300_vanguard_pi.dts @@ -28,13 +28,7 @@ }; &spi1 { - status = "okay"; - - spidev0@0 { - compatible = "rohm,dh2228fv"; - reg = <0>; - spi-max-frequency = <25000000>; - }; + status = "disabled"; }; &spi2 { @@ -45,18 +39,33 @@ cs-gpios = <&gpio 67 0>, <&gpio 85 0>; - spidev1@0 { - compatible = "rohm,dh2228fv"; + mcp3004@0 { + compatible = "mcp3004"; reg = <0>; - spi-max-frequency = <25000000>; + spi-max-frequency = <1500000>; }; - spidev2@1 { + + 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"; }; @@ -72,11 +81,3 @@ &can3 { status = "disabled"; }; - -&pwm0 { - status = "okay"; -}; - -&pwm1 { - status = "okay"; -};