diff options
author | Gerard Salvatella <gerard.salvatella@toradex.com> | 2018-06-11 16:08:12 +0200 |
---|---|---|
committer | Marcel Ziswiler <marcel.ziswiler@toradex.com> | 2018-12-24 01:27:33 +0100 |
commit | aee7ca5775e68b50fa42d9fa7cff39712174579b (patch) | |
tree | 403b29332be70072e1303c19df82b5ae6458cf1f /arch/arm | |
parent | 0d19632c872f15f2a10fb77b77c0a2b5041a7545 (diff) |
dts: add can-spi controller
Synced with 558d378d522189ad68fcb00aff05fd134bf20924
Signed-off-by: Gerard Salvatella <gerard.salvatella@toradex.com>
Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/boot/dts/imx6dl-colibri-cam-eval-v3.dts | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/imx6dl-colibri-cam-eval-v3.dts b/arch/arm/boot/dts/imx6dl-colibri-cam-eval-v3.dts index a3f7ccefaede..310969202411 100644 --- a/arch/arm/boot/dts/imx6dl-colibri-cam-eval-v3.dts +++ b/arch/arm/boot/dts/imx6dl-colibri-cam-eval-v3.dts @@ -96,14 +96,37 @@ status = "okay"; }; +/ { + clocks { + /* fixed crystal dedicated to mcp251x */ + clk16m: clk@1 { + compatible = "fixed-clock"; + reg=<1>; + #clock-cells = <0>; + clock-frequency = <16000000>; + clock-output-names = "clk16m"; + }; + }; +}; + /* Colibri SPI */ &ecspi4 { status = "okay"; + mcp258x0: mcp258x@1 { + compatible = "microchip,mcp2515"; + reg = <0>; + clocks = <&clk16m>; + interrupt-parent = <&gpio3>; + interrupts = <27 0x2>; + spi-max-frequency = <10000000>; + status = "okay"; + }; spidev0: spidev@1 { compatible = "toradex,evalspi"; reg = <0>; spi-max-frequency = <23000000>; + status = "disabled"; }; }; |