08-02-2016, 10:11 AM
(This post was last modified: 08-02-2016, 10:12 AM by martinayotte.)
Do you have the spidev section inside the spi definition ?
Some thing like the following :
Some thing like the following :
Code:
spi@01c68000 {
#address-cells = <0x1>;
#size-cells = <0x0>;
compatible = "allwinner,sun50i-spi";
device_type = "spi0";
reg = <0x0 0x1c68000 0x0 0x1000>;
interrupts = <0x0 0x41 0x4>;
clocks = <0x4 0x52>;
clock-frequency = <0x5f5e100>;
pinctrl-names = "default", "sleep";
pinctrl-1 = <0x55>;
spi0_cs_number = <0x1>;
spi0_cs_bitmap = <0x1>;
status = "okay";
pinctrl-0 = <0xa7 0xa8>;
spidev@0 {
compatible = "allwinner,sun50i-spi";
reg = <0x0>;
spi-max-frequency = <0x2faf080>;
};
};