Skip to content

Commit

Permalink
ARM: dts: imx25-pdk: Add CAN support
Browse files Browse the repository at this point in the history
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
  • Loading branch information
Fabio Estevam authored and Shawn Guo committed May 16, 2014
1 parent 9223dd8 commit b04415c
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions arch/arm/boot/dts/imx25-pdk.dts
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,14 @@
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 {
Expand All @@ -75,6 +83,13 @@
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>;
Expand Down Expand Up @@ -118,6 +133,14 @@
>;
};

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
Expand Down

0 comments on commit b04415c

Please sign in to comment.