gpio-spi {
status = "okay";
compatible = "spi-gpio";
#address-cells = <0x1>;
ranges;
gpio-sck = <&gpio0 14 1>;
gpio-miso = <&gpio0 15 1>;
gpio-mosi = <&gpio0 16 1>;
cs-gpios = <&gpio0 17 1>;
num-chipselects = <1>;
/* clients */
spidev@1 {
compatible = "spidev";
reg = <0>;
spi-max-frequency = <10000000>;
};
};
以上有错误吗?