diff options
author | Dominik Sliwa <dominik.sliwa@toradex.com> | 2016-06-06 15:35:26 +0200 |
---|---|---|
committer | Marcel Ziswiler <marcel.ziswiler@toradex.com> | 2017-01-10 23:13:25 +0100 |
commit | 558d378d522189ad68fcb00aff05fd134bf20924 (patch) | |
tree | 8ba6b4c89f4e8ba4ba7476a08da864d1c3d7742e /arch | |
parent | e7795125f46cf8e398e1c530fa610f45e5ef9696 (diff) |
colibri_imx6:Add MCP2515 SPI CAN controller to DT
MCP2515 is available on colibri evaluation board,
include it in the device tree for colibri i.mx6.
Signed-off-by: Dominik Sliwa <dominik.sliwa@toradex.com>
Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
(cherry picked from commit 8524bd40fddfd03e9ee028f430aee5078a0dd431)
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/boot/dts/imx6dl-colibri-eval-v3.dts | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/imx6dl-colibri-eval-v3.dts b/arch/arm/boot/dts/imx6dl-colibri-eval-v3.dts index 3a2121e8a795..8a73ebf7da99 100644 --- a/arch/arm/boot/dts/imx6dl-colibri-eval-v3.dts +++ b/arch/arm/boot/dts/imx6dl-colibri-eval-v3.dts @@ -110,14 +110,37 @@ status = "okay"; }; +/ { + clocks { + /* fixed crystal dedicated to mpc258x */ + 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 = "spidev"; reg = <0>; spi-max-frequency = <23000000>; + status = "disabled"; }; }; |