From 558bb5a0b2eb19588248ab4ed51a1706ba7ddae1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=A1=90=E8=AF=9D?= <49544781+xiaomeng9597@users.noreply.github.com> Date: Sun, 7 Apr 2024 09:12:09 +0800 Subject: [PATCH] Add files via upload --- file/rk3566-panther-x2.dts | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/file/rk3566-panther-x2.dts b/file/rk3566-panther-x2.dts index 963da84..c4acd23 100644 --- a/file/rk3566-panther-x2.dts +++ b/file/rk3566-panther-x2.dts @@ -643,6 +643,25 @@ status = "okay"; }; +&i2c1 { + status = "okay"; + clock-frequency = <100000>; +}; + +&spi3 { + status = "okay"; + //assigned-clock-rates = <200000000>; //默认不用配置,SPI 设备工作时钟 + max-freq = <48000000>; /* spi internal clk, don't modify */ + //dma-names = "tx","rx"; //使能DMA模式 + //rx-sample-delay-ns = <10>; //默认不用配置,读采样延时 + spi_dev@0 { + compatible = "rockchip,spidev"; + reg = <0>; + spi-max-frequency = <12000000>; + spi-lsb-first; + }; +}; + // video output &hdmi {