ARM: dts: imx25-pdk: Add CAN support
authorFabio Estevam <fabio.estevam@freescale.com>
Wed, 12 Mar 2014 13:19:25 +0000 (10:19 -0300)
committerShawn Guo <shawn.guo@freescale.com>
Fri, 16 May 2014 15:01:43 +0000 (23:01 +0800)
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
arch/arm/boot/dts/imx25-pdk.dts

index 34de5e34814c385edd116b6dd228f52bff6d4a09..ebaf48d564a01249f73c3b1bd5aadf65e6d10731 100644 (file)
                        regulator-max-microvolt = <3300000>;
                };
 
+               reg_can_3v3: regulator@3 {
+                       compatible = "regulator-fixed";
+                       reg = <3>;
+                       regulator-name = "can-3v3";
+                       regulator-min-microvolt = <3300000>;
+                       regulator-max-microvolt = <3300000>;
+                       gpio = <&gpio4 6 0>;
+               };
        };
 
        sound {
        status = "okay";
 };
 
+&can1 {
+       pinctrl-names = "default";
+       pinctrl-0 = <&pinctrl_can1>;
+       xceiver-supply = <&reg_can_3v3>;
+       status = "okay";
+};
+
 &esdhc1 {
        pinctrl-names = "default";
        pinctrl-0 = <&pinctrl_esdhc1>;
                        >;
                };
 
+               pinctrl_can1: can1grp {
+                       fsl,pins = <
+                               MX25_PAD_GPIO_A__CAN1_TX                0x0
+                               MX25_PAD_GPIO_B__CAN1_RX                0x0
+                               MX25_PAD_D14__GPIO_4_6                  0x80000000
+                       >;
+               };
+
                pinctrl_esdhc1: esdhc1grp {
                        fsl,pins = <
                                MX25_PAD_SD1_CMD__SD1_CMD               0x80000000