summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/imx25-pdk.dts
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@freescale.com>2014-03-12 17:19:25 +0400
committerShawn Guo <shawn.guo@freescale.com>2014-05-16 19:01:43 +0400
commitb04415cf586627c3a42f57a39ed7b5fe8ddcec1f (patch)
treeb8af2c70dfe3001006915cf64fbe57ae55c94dff /arch/arm/boot/dts/imx25-pdk.dts
parent9223dd87380322b4af467410170750cf682ffd89 (diff)
downloadlinux-b04415cf586627c3a42f57a39ed7b5fe8ddcec1f.tar.xz
ARM: dts: imx25-pdk: Add CAN support
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
Diffstat (limited to 'arch/arm/boot/dts/imx25-pdk.dts')
-rw-r--r--arch/arm/boot/dts/imx25-pdk.dts23
1 files changed, 23 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/imx25-pdk.dts b/arch/arm/boot/dts/imx25-pdk.dts
index 34de5e34814c..ebaf48d564a0 100644
--- a/arch/arm/boot/dts/imx25-pdk.dts
+++ b/arch/arm/boot/dts/imx25-pdk.dts
@@ -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 {
@@ -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>;
@@ -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