diff options
author | Shawn Guo <shawn.guo@linaro.org> | 2012-06-28 11:45:03 +0800 |
---|---|---|
committer | Shawn Guo <shawn.guo@linaro.org> | 2012-07-06 13:26:05 +0800 |
commit | 6ca44acfc31ad485b18e2fca0428479b7d4f141d (patch) | |
tree | bb97a4f1cb58b14a7dff0e0a2356187f92e594ce | |
parent | b9df44919cd0a776abab442b59c8bf9a8b7301fc (diff) | |
download | linux-6ca44acfc31ad485b18e2fca0428479b7d4f141d.tar.gz linux-6ca44acfc31ad485b18e2fca0428479b7d4f141d.tar.bz2 linux-6ca44acfc31ad485b18e2fca0428479b7d4f141d.zip |
ARM: dts: imx28-evk: add flexan devices
Add flexan devices for imx28-evk board.
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
-rw-r--r-- | arch/arm/boot/dts/imx28-evk.dts | 12 | ||||
-rw-r--r-- | arch/arm/boot/dts/imx28.dtsi | 24 |
2 files changed, 36 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/imx28-evk.dts b/arch/arm/boot/dts/imx28-evk.dts index ea7c51f742f8..0d8739dda1af 100644 --- a/arch/arm/boot/dts/imx28-evk.dts +++ b/arch/arm/boot/dts/imx28-evk.dts @@ -72,6 +72,18 @@ panel-enable-gpios = <&gpio3 30 0>; status = "okay"; }; + + can0: can@80032000 { + pinctrl-names = "default"; + pinctrl-0 = <&can0_pins_a>; + status = "okay"; + }; + + can1: can@80034000 { + pinctrl-names = "default"; + pinctrl-0 = <&can1_pins_a>; + status = "okay"; + }; }; apbx@80040000 { diff --git a/arch/arm/boot/dts/imx28.dtsi b/arch/arm/boot/dts/imx28.dtsi index 44df2e6e25e5..adb5ffc2ff0d 100644 --- a/arch/arm/boot/dts/imx28.dtsi +++ b/arch/arm/boot/dts/imx28.dtsi @@ -411,6 +411,28 @@ fsl,voltage = <1>; fsl,pull-up = <0>; }; + + can0_pins_a: can0@0 { + reg = <0>; + fsl,pinmux-ids = < + 0x0161 /* MX28_PAD_GPMI_RDY2__CAN0_TX */ + 0x0171 /* MX28_PAD_GPMI_RDY3__CAN0_RX */ + >; + fsl,drive-strength = <0>; + fsl,voltage = <1>; + fsl,pull-up = <0>; + }; + + can1_pins_a: can1@0 { + reg = <0>; + fsl,pinmux-ids = < + 0x0121 /* MX28_PAD_GPMI_CE2N__CAN1_TX */ + 0x0131 /* MX28_PAD_GPMI_CE3N__CAN1_RX */ + >; + fsl,drive-strength = <0>; + fsl,voltage = <1>; + fsl,pull-up = <0>; + }; }; digctl@8001c000 { @@ -459,12 +481,14 @@ }; can0: can@80032000 { + compatible = "fsl,imx28-flexcan", "fsl,p1010-flexcan"; reg = <0x80032000 2000>; interrupts = <8>; status = "disabled"; }; can1: can@80034000 { + compatible = "fsl,imx28-flexcan", "fsl,p1010-flexcan"; reg = <0x80034000 2000>; interrupts = <9>; status = "disabled"; |