牛卧堂MCU技术交流
标题:
MCP251X 如何配置中断设备树?
[打印本页]
作者:
啦啦八阿哥来了
时间:
2023-10-9 14:09
标题:
MCP251X 如何配置中断设备树?
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";
};
};
欢迎光临 牛卧堂MCU技术交流 (http://nuvoton-mcu.com/)
Powered by Discuz! X3.2