&spi4 {
pinctrl-names = "default";
pinctrl-0 = <&spi4_pins_mx>;
status = "okay";
//gpio-mosi = <&gpioe 14 0>;
//gpio-sck = <&gpioe 12 0>;
cs-gpios = <&gpioe 11 0>;
/delete-property/dmas; // 필수.
/delete-property/dma-names;
num-chipselects = <1>;
#address-cells = <1>;
#size-cells = <0>;
spi_gpio@0{
compatible = "fairchild,74hc595";
reg = <0>;
gpio-controller;
#gpio-cells = <2>;
registers-number = <4>;
spi-max-frequency = <10000000>;
output-latch-gpio = <&gpioe 11 0>;
registers-default = /bits/ 8 <0xFF 0xFF 0xFF 0xFF>;
};
};
댓글 없음:
댓글 쓰기