summaryrefslogtreecommitdiff
path: root/arch/arm
diff options
context:
space:
mode:
authorMarcel Ziswiler <marcel.ziswiler@toradex.com>2019-03-28 11:08:05 +0100
committerMarcel Ziswiler <marcel.ziswiler@toradex.com>2019-03-28 11:08:05 +0100
commit8f234193b8cc35c44614e4a4b05f2d920ff562e4 (patch)
tree62f76ee7acf6874e2b063c2be8769be09d031d72 /arch/arm
parentcb7f204ca6562f32c739a65bcabc37bfeab59052 (diff)
ARM: dts: colibri_vf: enable spi can controller by default
Other Colibris have the MCP2515 SPI CAN controller enabled by default on the Colibri evaluation board. Disable evalspi and enable MCP2515 instead. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/boot/dts/vf-colibri-eval-v3.dtsi16
1 files changed, 9 insertions, 7 deletions
diff --git a/arch/arm/boot/dts/vf-colibri-eval-v3.dtsi b/arch/arm/boot/dts/vf-colibri-eval-v3.dtsi
index 6ee6ac10bd30..2a78d10896cf 100644
--- a/arch/arm/boot/dts/vf-colibri-eval-v3.dtsi
+++ b/arch/arm/boot/dts/vf-colibri-eval-v3.dtsi
@@ -95,24 +95,26 @@
status = "okay";
};
+/* Colibri SPI */
&dspi1 {
status = "okay";
- spidev0: spidev@0 {
- compatible = "toradex,evalspi";
- reg = <0>;
- spi-max-frequency = <50000000>;
- };
-
mcp2515can: can@0 {
compatible = "microchip,mcp2515";
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_can_int>;
reg = <0>;
clocks = <&clk16m>;
- spi-max-frequency = <10000000>;
interrupt-parent = <&gpio1>;
interrupts = <11 GPIO_ACTIVE_LOW>;
+ spi-max-frequency = <10000000>;
+ status = "okay";
+ };
+
+ spidev0: spidev@0 {
+ compatible = "toradex,evalspi";
+ reg = <0>;
+ spi-max-frequency = <50000000>;
status = "disabled";
};
};