MCP251X can驱动移植 nuc980 采样用设备树配置时,中断如何配置设备树?
spi0: spi@b0061000 {
status = "okay";
#address-cells = <1>;
#size-cells = <0>;
pinctrl-names = "default";
......
mcp251xfd: can0@0 {
reg = <0>;
compatible = "microchip,mcp251xfd";
interrupt-parent = <&aic>;//中断如何配置设备树??? 如何对应PA0
interrupts = <xx 4 1>;//中断如何配置设备树??? 如何对应PA0
spi-cpha = <0>;
spi-cpol = <0>;
spi-max-frequency = <2000000>;
status = "okay";
};
}; |