From: Tim Harvey Date: Tue, 9 Sep 2014 06:07:31 +0000 (-0700) Subject: ARM: dts: imx: ventana: add canbus support for GW52xx X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=7cab35c3643d9ad3b34eaf8501ab5292b6d41fcf;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git ARM: dts: imx: ventana: add canbus support for GW52xx The GW52xx baseboard supports CANbus so we enable it, configure its pinmux and CAN_STBY gpio. Signed-off-by: Tim Harvey Signed-off-by: Shawn Guo --- diff --git a/arch/arm/boot/dts/imx6qdl-gw52xx.dtsi b/arch/arm/boot/dts/imx6qdl-gw52xx.dtsi index 6d137b47068a..d3c0bf5c84e3 100644 --- a/arch/arm/boot/dts/imx6qdl-gw52xx.dtsi +++ b/arch/arm/boot/dts/imx6qdl-gw52xx.dtsi @@ -145,6 +145,12 @@ status = "okay"; }; +&can1 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_flexcan1>; + status = "okay"; +}; + &fec { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_enet>; @@ -352,6 +358,14 @@ >; }; + 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