diff options
author | Mugunthan V N <mugunthanvnm@ti.com> | 2014-07-18 01:59:11 -0400 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2014-11-24 10:56:00 -0500 |
commit | 4b1ce2358b70f9606a4ce95e5fd467d7655b1cd0 (patch) | |
tree | 52339cf0aa9cfd212b7fdb2981d9542ff4a103ee | |
parent | 9e63b0d4ae8837393f94a59e28c04af09abc673c (diff) |
ARM: dts: am437x-gp: Add dcan support
Add DCAN support for AM437x GP EVM with both DCAN instances.
[Roger Q] Updated output pin to not use pull up.
Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com>
Signed-off-by: George Cherian <george.cherian@ti.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Signed-off-by: Roger Quadros <rogerq@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
-rw-r--r-- | arch/arm/boot/dts/am437x-gp-evm.dts | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/am437x-gp-evm.dts b/arch/arm/boot/dts/am437x-gp-evm.dts index 2ffd6d6dcc87..bd8d932c591c 100644 --- a/arch/arm/boot/dts/am437x-gp-evm.dts +++ b/arch/arm/boot/dts/am437x-gp-evm.dts | |||
@@ -254,6 +254,20 @@ | |||
254 | 0x238 (PIN_OUTPUT_PULLUP | MUX_MODE7) | 254 | 0x238 (PIN_OUTPUT_PULLUP | MUX_MODE7) |
255 | >; | 255 | >; |
256 | }; | 256 | }; |
257 | |||
258 | dcan0_default: dcan0_default_pins { | ||
259 | pinctrl-single,pins = < | ||
260 | 0x178 (PIN_OUTPUT | MUX_MODE2) /* uart1_ctsn.d_can0_tx */ | ||
261 | 0x17c (PIN_INPUT_PULLUP | MUX_MODE2) /* uart1_rtsn.d_can0_rx */ | ||
262 | >; | ||
263 | }; | ||
264 | |||
265 | dcan1_default: dcan1_default_pins { | ||
266 | pinctrl-single,pins = < | ||
267 | 0x180 (PIN_OUTPUT | MUX_MODE2) /* uart1_rxd.d_can1_tx */ | ||
268 | 0x184 (PIN_INPUT_PULLUP | MUX_MODE2) /* uart1_txd.d_can1_rx */ | ||
269 | >; | ||
270 | }; | ||
257 | }; | 271 | }; |
258 | 272 | ||
259 | &i2c0 { | 273 | &i2c0 { |
@@ -519,3 +533,15 @@ | |||
519 | }; | 533 | }; |
520 | }; | 534 | }; |
521 | }; | 535 | }; |
536 | |||
537 | &dcan0 { | ||
538 | pinctrl-names = "default"; | ||
539 | pinctrl-0 = <&dcan0_default>; | ||
540 | status = "okay"; | ||
541 | }; | ||
542 | |||
543 | &dcan1 { | ||
544 | pinctrl-names = "default"; | ||
545 | pinctrl-0 = <&dcan1_default>; | ||
546 | status = "okay"; | ||
547 | }; | ||