|
发表于 2018-10-21 19:52:58
只看该作者
70#
你好,我现在用的是3399 4.4的内核,发现一加载mcp251x.ko就会死机,追到probe里面,发现在spi_setup这个接口就挂了,没有任何打印。看你们的交流说4.4kernel驱动是好的,请问我改往上面方向去查?
&spi5{
status = "okay";
max-freq = <25000000>;
//dmas = <&dmac_bus 8>, <&dmac_bus 9>;
//dma-names = "tx", "rx";
can0:can@0 {
compatible = "microchip,mcp2515";
reg = <0>;
clocks = <&clk8m>;
spi-max-frequency = <10000000>;
//interrupt-parent = <&gpio2>;
//interrupts = <26 IRQ_TYPE_EDGE_FALLING>;
//vdd-supply = <&vcc3v3_s0>;
//xceiver-supply = <&vcc3v3_s0>;
//xceiver-supply = <&vcc5v0_host>;
status = "okay";
};
};
|
|