In imx8mp-evk.dts, what is below node for ? Because i can't find the "rohm,dh2228fv" SPI device in schematic.
&ecspi2 {
#address-cells = <1>;
#size-cells = <0
fsl,spi-num-chipselects = <1>;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_ecspi2 &pinctrl_ecspi2_cs>;
cs-gpios = <&gpio5 13 GPIO_ACTIVE_LOW>;
status = "okay";
spidev1: spi@0 {
reg = <0>;
compatible = "rohm,dh2228fv";
spi-max-frequency = <500000>;
};
};
已解决! 转到解答。
pls refer to the link as below:
spidev is a detail of how Linux controls a device rather than a description of the hardware in the system, any SPI device could be a spidev
pls refer to the link as below:
spidev is a detail of how Linux controls a device rather than a description of the hardware in the system, any SPI device could be a spidev