arm64: dts: colibri-imx8x: eval: Add spi-to-can
Add mcp2515 spi-to-can to &lpspi2. Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
This commit is contained in:
parent
e74b958c8e
commit
2815061304
@ -11,6 +11,13 @@
|
||||
rtc1 = &rtc;
|
||||
};
|
||||
|
||||
/* fixed crystal dedicated to mcp25xx */
|
||||
clk16m: clock-16mhz {
|
||||
compatible = "fixed-clock";
|
||||
#clock-cells = <0>;
|
||||
clock-frequency = <16000000>;
|
||||
};
|
||||
|
||||
gpio-keys {
|
||||
compatible = "gpio-keys";
|
||||
pinctrl-names = "default";
|
||||
@ -39,6 +46,17 @@
|
||||
/* Colibri SPI */
|
||||
&lpspi2 {
|
||||
status = "okay";
|
||||
|
||||
mcp2515: can@0 {
|
||||
compatible = "microchip,mcp2515";
|
||||
reg = <0>;
|
||||
interrupt-parent = <&lsio_gpio3>;
|
||||
interrupts = <13 IRQ_TYPE_EDGE_FALLING>;
|
||||
pinctrl-0 = <&pinctrl_can_int>;
|
||||
pinctrl-names = "default";
|
||||
clocks = <&clk16m>;
|
||||
spi-max-frequency = <10000000>;
|
||||
};
|
||||
};
|
||||
|
||||
/* Colibri UART_B */
|
||||
|
Loading…
x
Reference in New Issue
Block a user