配置spi

This commit is contained in:
zhangpeng
2025-10-09 16:18:35 +08:00
parent 553f0a562e
commit 115e957b83
3 changed files with 35 additions and 7 deletions

View File

@@ -338,6 +338,20 @@
};
};
&spi1 {
status = "okay";
/** redefine pins for cs1 used to be pwm5 */
pinctrl-0 = <&spi1m1_cs0 &spi1m1_pins>;
pinctrl-0 = <&spi1m1_cs0 &spi1m1_pins_hs>;
spi_dev@0 {
compatible = "rockchip,spidev";
reg = <0>;
spi-max-frequency = <12000000>;
spi-lsb-first;
};
};
&video_phy1 {
status = "disabled";
};