diff --git a/arch/arm64/boot/dts/rockchip/overlays/rk3399-spi1-mcp2515-8mhz.dts b/arch/arm64/boot/dts/rockchip/overlays/rk3399-spi1-mcp2515-8mhz.dts index ce4d7f20..e585c1a0 100644 --- a/arch/arm64/boot/dts/rockchip/overlays/rk3399-spi1-mcp2515-8mhz.dts +++ b/arch/arm64/boot/dts/rockchip/overlays/rk3399-spi1-mcp2515-8mhz.dts @@ -1,6 +1,9 @@ /dts-v1/; /plugin/; +#include +#include + / { metadata { title = "Enable MCP2515 with 8MHz external clock on SPI1"; @@ -16,7 +19,7 @@ Uses Pin 22 (GPIO4_D5) for INT."; &pinctrl { mcp2515_int_pins { mcp2515_int_pins: mcp2515_int_pin { - rockchip,pins = <4 29 0 &pcfg_pull_none>; + rockchip,pins = <4 RK_PD5 RK_FUNC_GPIO &pcfg_pull_none>; }; }; }; @@ -40,7 +43,7 @@ Uses Pin 22 (GPIO4_D5) for INT."; compatible = "microchip,mcp2515"; reg = <0>; interrupt-parent = <&gpio4>; - interrupts = <29 2>; + interrupts = ; spi-max-frequency = <10000000>; clocks = <&can_mcp2515_osc>; vdd-supply = <&vcc3v3_sys>;