ARM: dts: imx: ventana: add canbus support for GW52xx
authorTim Harvey <tharvey@gateworks.com>
Tue, 9 Sep 2014 06:07:31 +0000 (23:07 -0700)
committerShawn Guo <shawn.guo@freescale.com>
Tue, 16 Sep 2014 02:27:21 +0000 (10:27 +0800)
The GW52xx baseboard supports CANbus so we enable it, configure its pinmux
and CAN_STBY gpio.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
arch/arm/boot/dts/imx6qdl-gw52xx.dtsi

index 6d137b47068a176e7861b4f867fb141a600929cf..d3c0bf5c84e316bcab8c86d527dabd4598d9a63b 100644 (file)
        status = "okay";
 };
 
+&can1 {
+       pinctrl-names = "default";
+       pinctrl-0 = <&pinctrl_flexcan1>;
+       status = "okay";
+};
+
 &fec {
        pinctrl-names = "default";
        pinctrl-0 = <&pinctrl_enet>;
                        >;
                };
 
+               pinctrl_flexcan1: flexcan1grp {
+                       fsl,pins = <
+                               MX6QDL_PAD_KEY_ROW2__FLEXCAN1_RX        0x1b0b1
+                               MX6QDL_PAD_KEY_COL2__FLEXCAN1_TX        0x1b0b1
+                               MX6QDL_PAD_GPIO_9__GPIO1_IO09           0x4001b0b0 /* CAN_STBY */
+                       >;
+               };
+
                pinctrl_gpio_leds: gpioledsgrp {
                        fsl,pins = <
                                MX6QDL_PAD_KEY_COL0__GPIO4_IO06  0x1b0b0