&spi2{
pinctrl-names = "default","sleep";
pinctrl-0 = <&spi2_pins_mx>;
pinctrl-1 = <&spi2_sleep_pins_mx>;
cs-gpios = <&gpiob 9 0>;
status = "okay";
spidev2: spidev@0{
compatible = "linux,spidev";
reg = <0>;
spi-max-frequency = <20000000>;
};
};
&spidev2{
status = "disable";
};
댓글 없음:
댓글 쓰기