aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/imx6
diff options
context:
space:
mode:
authorLuka Perkov <luka@openwrt.org>2013-12-11 10:56:11 +0000
committerLuka Perkov <luka@openwrt.org>2013-12-11 10:56:11 +0000
commited803232eef1c994bb3d4da4b41cdd72b5749a3d (patch)
tree19cd203a569cdc429b1be6871bbb1320d3b963aa /target/linux/imx6
parentb1ed3d4714e287e3b35b08c4da6d4e42b8d2ad2d (diff)
downloadupstream-ed803232eef1c994bb3d4da4b41cdd72b5749a3d.tar.gz
upstream-ed803232eef1c994bb3d4da4b41cdd72b5749a3d.tar.bz2
upstream-ed803232eef1c994bb3d4da4b41cdd72b5749a3d.zip
imx6: add canbus support for Ventana boards
GW5400, GW5300, and GW5200 have CAN bus option. Signed-off-by: Tim Harvey <tharvey@gateworks.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39034 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/imx6')
-rw-r--r--target/linux/imx6/files-3.10/arch/arm/boot/dts/imx6dl-gw52xx.dts7
-rw-r--r--target/linux/imx6/files-3.10/arch/arm/boot/dts/imx6dl-gw53xx.dts2
-rw-r--r--target/linux/imx6/files-3.10/arch/arm/boot/dts/imx6q-gw54xx.dts2
-rw-r--r--target/linux/imx6/profiles/120-gateworks.mk1
4 files changed, 12 insertions, 0 deletions
diff --git a/target/linux/imx6/files-3.10/arch/arm/boot/dts/imx6dl-gw52xx.dts b/target/linux/imx6/files-3.10/arch/arm/boot/dts/imx6dl-gw52xx.dts
index 400c06485b..eef42ed38e 100644
--- a/target/linux/imx6/files-3.10/arch/arm/boot/dts/imx6dl-gw52xx.dts
+++ b/target/linux/imx6/files-3.10/arch/arm/boot/dts/imx6dl-gw52xx.dts
@@ -18,6 +18,7 @@
/* these are used by bootloader for disabling nodes */
aliases {
+ can0 = &can1;
ethernet0 = &fec;
i2c0 = &i2c1;
i2c1 = &i2c2;
@@ -126,6 +127,12 @@
status = "okay";
};
+&can1 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_flexcan1_1>;
+ status = "okay";
+};
+
&fec {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_enet_1>;
diff --git a/target/linux/imx6/files-3.10/arch/arm/boot/dts/imx6dl-gw53xx.dts b/target/linux/imx6/files-3.10/arch/arm/boot/dts/imx6dl-gw53xx.dts
index 87f0be2e0a..99d3d4c459 100644
--- a/target/linux/imx6/files-3.10/arch/arm/boot/dts/imx6dl-gw53xx.dts
+++ b/target/linux/imx6/files-3.10/arch/arm/boot/dts/imx6dl-gw53xx.dts
@@ -134,6 +134,8 @@
};
&can1 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_flexcan1_1>;
status = "okay";
};
diff --git a/target/linux/imx6/files-3.10/arch/arm/boot/dts/imx6q-gw54xx.dts b/target/linux/imx6/files-3.10/arch/arm/boot/dts/imx6q-gw54xx.dts
index f9cf29a990..828fc81183 100644
--- a/target/linux/imx6/files-3.10/arch/arm/boot/dts/imx6q-gw54xx.dts
+++ b/target/linux/imx6/files-3.10/arch/arm/boot/dts/imx6q-gw54xx.dts
@@ -125,6 +125,8 @@
};
&can1 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_flexcan1_1>;
status = "okay";
};
diff --git a/target/linux/imx6/profiles/120-gateworks.mk b/target/linux/imx6/profiles/120-gateworks.mk
index 830b3b2e1f..9891527a80 100644
--- a/target/linux/imx6/profiles/120-gateworks.mk
+++ b/target/linux/imx6/profiles/120-gateworks.mk
@@ -10,6 +10,7 @@ define Profile/VENTANA
PACKAGES:= \
kmod-thermal-imx kmod-sky2 kmod-usb-chipidea kmod-usb-mxs-phy \
kmod-sound-soc-imx kmod-sound-soc-imx-sgtl5000 \
+ kmod-can kmod-can-flexcan \
kobs-ng
endef