CAN devices are allocated to run on M4.
So do not touch CAN pads setting if M4 is enabled.
Conflicts:
arch/arm/boot/dts/imx6sx-sdb.dts
Signed-off-by: Dong Aisheng <b29396@freescale.com>
(cherry picked from commit
4fc10d386d02e8ae10d8512fdadb5a02ddd25228)
};
};
+&iomuxc {
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_hog>;
+};
+
/*
* The flollowing modules are conflicting with M4, disable them when m4
* is running.
&iomuxc {
pinctrl-names = "default";
- pinctrl-0 = <&pinctrl_hog>;
+ pinctrl-0 = <&pinctrl_hog &pinctrl_can_gpios>;
imx6x-sdb {
pinctrl_hog: hoggrp {
>;
};
+ pinctrl_can_gpios: can-gpios {
+ fsl,pins = <
+ MX6SX_PAD_QSPI1B_DATA1__GPIO4_IO_25 0x17059
+ MX6SX_PAD_QSPI1B_DATA3__GPIO4_IO_27 0x17059
+ >;
+ };
+
pinctrl_i2c1: i2c1grp {
fsl,pins = <
MX6SX_PAD_GPIO1_IO01__I2C1_SDA 0x4001b8b1