diff options
author | Gerard Salvatella <gerard.salvatella@toradex.com> | 2018-06-11 16:08:12 +0200 |
---|---|---|
committer | Marcel Ziswiler <marcel.ziswiler@toradex.com> | 2018-06-21 11:35:58 +0200 |
commit | 23a4f856239d5fa9f4f355ab2534644859a3ced7 (patch) | |
tree | 61039049746ac92cc7e9c6010de890b65cb1558f /arch | |
parent | e456be484f711e97576c0493fc0bfbfbb8425cc5 (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')
-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"; }; }; |