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
master
Luka Perkov 2013-12-11 10:56:11 +00:00
parent b1ed3d4714
commit ed803232ee
4 changed files with 12 additions and 0 deletions

View File

@ -18,6 +18,7 @@
/* these are used by bootloader for disabling nodes */ /* these are used by bootloader for disabling nodes */
aliases { aliases {
can0 = &can1;
ethernet0 = &fec; ethernet0 = &fec;
i2c0 = &i2c1; i2c0 = &i2c1;
i2c1 = &i2c2; i2c1 = &i2c2;
@ -126,6 +127,12 @@
status = "okay"; status = "okay";
}; };
&can1 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_flexcan1_1>;
status = "okay";
};
&fec { &fec {
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&pinctrl_enet_1>; pinctrl-0 = <&pinctrl_enet_1>;

View File

@ -134,6 +134,8 @@
}; };
&can1 { &can1 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_flexcan1_1>;
status = "okay"; status = "okay";
}; };

View File

@ -125,6 +125,8 @@
}; };
&can1 { &can1 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_flexcan1_1>;
status = "okay"; status = "okay";
}; };

View File

@ -10,6 +10,7 @@ define Profile/VENTANA
PACKAGES:= \ PACKAGES:= \
kmod-thermal-imx kmod-sky2 kmod-usb-chipidea kmod-usb-mxs-phy \ kmod-thermal-imx kmod-sky2 kmod-usb-chipidea kmod-usb-mxs-phy \
kmod-sound-soc-imx kmod-sound-soc-imx-sgtl5000 \ kmod-sound-soc-imx kmod-sound-soc-imx-sgtl5000 \
kmod-can kmod-can-flexcan \
kobs-ng kobs-ng
endef endef