Commit af6038290635aa476dda82cab7557be3b11733db

Authored by Eric Lee
1 parent 0796741649

Add kernel CAN bus irq pin

Showing 1 changed file with 4 additions and 0 deletions Side-by-side Diff

arch/arm64/boot/dts/embedian/fsl-smarcimx8mq-common.dtsi
... ... @@ -1182,6 +1182,8 @@
1182 1182 can1: can@2 {
1183 1183 compatible = "microchip,mcp2515";
1184 1184 reg = <2>;
  1185 + interrupt-parent = <&gpio3>;
  1186 + interrupts = <18 IRQ_TYPE_EDGE_FALLING>;
1185 1187 spi-max-frequency = <12000000>;
1186 1188 clocks = <&can_osc>;
1187 1189 vdd-supply = <&reg_3p3v>;
... ... @@ -1191,6 +1193,8 @@
1191 1193 can2: can@3 {
1192 1194 compatible = "microchip,mcp2515";
1193 1195 reg = <3>;
  1196 + interrupt-parent = <&gpio3>;
  1197 + interrupts = <16 IRQ_TYPE_EDGE_FALLING>;
1194 1198 spi-max-frequency = <12000000>;
1195 1199 clocks = <&can_osc>;
1196 1200 vdd-supply = <&reg_3p3v>;