配置spi
This commit is contained in:
@@ -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";
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user