Skip to content

Commit

Permalink
3.8: add support for CAN cape
Browse files Browse the repository at this point in the history
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
  • Loading branch information
koenkooi committed May 16, 2013
1 parent 31fe876 commit e000c17
Showing 1 changed file with 70 additions and 0 deletions.
@@ -0,0 +1,70 @@
From abec9bf5f08dae699919df0f41d45d73773b9ba3 Mon Sep 17 00:00:00 2001
From: Martin Gysel <me@bearsh.org>
Date: Wed, 15 May 2013 16:48:34 +0200
Subject: [PATCH 175/175] Add support for BB-BONE_SERL-01-00A1 CanBus cape

Signed-off-by: Martin Gysel <me@bearsh.org>
---
firmware/Makefile | 1 +
firmware/capes/BB-BONE-SERL-01-00A1.dts | 37 +++++++++++++++++++++++++++++++++
2 files changed, 38 insertions(+)
create mode 100644 firmware/capes/BB-BONE-SERL-01-00A1.dts

diff --git a/firmware/Makefile b/firmware/Makefile
index 3a4f126..3497631 100644
--- a/firmware/Makefile
+++ b/firmware/Makefile
@@ -156,6 +156,7 @@ fw-shipped-$(CONFIG_CAPE_BEAGLEBONE) += \
BB-BONE-eMMC1-01-00A0.dtbo \
BB-BONE-GPEVT-00A0.dtbo \
BB-BONE-RS232-00A0.dtbo \
+ BB-BONE-SERL-01-00A1.dtbo \
cape-bone-iio-00A0.dtbo \
cape-bone-pinmux-test-00A0.dtbo \
cape-bone-exptest-00A0.dtbo \
diff --git a/firmware/capes/BB-BONE-SERL-01-00A1.dts b/firmware/capes/BB-BONE-SERL-01-00A1.dts
new file mode 100644
index 0000000..b0459c8
--- /dev/null
+++ b/firmware/capes/BB-BONE-SERL-01-00A1.dts
@@ -0,0 +1,37 @@
+/*
+* Copyright (C) 2013 Martin Gysel <me@bearsh.org>
+*
+* This program is free software; you can redistribute it and/or modify
+* it under the terms of the GNU General Public License version 2 as
+* published by the Free Software Foundation.
+*/
+/dts-v1/;
+/plugin/;
+
+
+/ {
+ compatible = "ti,beaglebone", "ti,beaglebone-black";
+ part-number = "BB-BONE-SERL-01";
+ version = "00A1";
+
+ fragment@0 {
+ target = <&am33xx_pinmux>;
+ __overlay__ {
+ bone_serl_01_dcan1_pins: bone_serl_01_dcan1_pins {
+ pinctrl-single,pins = <
+ 0x180 0x02 /* uart1_rxd.d_can1_tx", OUTPUT | MODE2 */
+ 0x184 0x32 /* uart1_txd.d_can1_rx", INPUT_PULLUP | MODE2 */
+ >;
+ };
+ };
+ };
+
+ fragment@1 {
+ target = <&dcan1>;
+ __overlay__ {
+ status = "okay";
+ pinctrl-names = "default";
+ pinctrl-0 = <&bone_serl_01_dcan1_pins>;
+ };
+ };
+};
--
1.8.1.4

0 comments on commit e000c17

Please sign in to comment.