Commit | Line | Data |
---|---|---|
d7d1d45c BB |
1 | /* |
2 | * at91sama5d3_can.dtsi - Device Tree Include file for AT91SAM9x5 SoC with | |
3 | * CAN support | |
4 | * | |
5 | * Copyright (C) 2013 Boris BREZILLON <b.brezillon@overkiz.com> | |
6 | * | |
7 | * Licensed under GPLv2. | |
8 | */ | |
9 | ||
10 | #include <dt-bindings/pinctrl/at91.h> | |
11 | #include <dt-bindings/interrupt-controller/irq.h> | |
12 | ||
13 | / { | |
14 | ahb { | |
15 | apb { | |
16 | pinctrl@fffff200 { | |
17 | can0 { | |
18 | pinctrl_can0_rx_tx: can0_rx_tx { | |
19 | atmel,pins = | |
20 | <AT91_PIOD 14 AT91_PERIPH_C AT91_PINCTRL_NONE /* PD14 periph C RX, conflicts with SCK0, SPI0_NPCS1 */ | |
21 | AT91_PIOD 15 AT91_PERIPH_C AT91_PINCTRL_NONE>; /* PD15 periph C TX, conflicts with CTS0, SPI0_NPCS2 */ | |
22 | }; | |
23 | }; | |
24 | ||
25 | can1 { | |
26 | pinctrl_can1_rx_tx: can1_rx_tx { | |
27 | atmel,pins = | |
28 | <AT91_PIOB 14 AT91_PERIPH_B AT91_PINCTRL_NONE /* PB14 periph B RX, conflicts with GCRS */ | |
29 | AT91_PIOB 15 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PB15 periph B TX, conflicts with GCOL */ | |
30 | }; | |
31 | }; | |
32 | ||
33 | }; | |
34 | ||
35 | can0: can@f000c000 { | |
36 | compatible = "atmel,at91sam9x5-can"; | |
37 | reg = <0xf000c000 0x300>; | |
38 | interrupts = <40 IRQ_TYPE_LEVEL_HIGH 3>; | |
39 | pinctrl-names = "default"; | |
40 | pinctrl-0 = <&pinctrl_can0_rx_tx>; | |
41 | status = "disabled"; | |
42 | }; | |
43 | ||
44 | can1: can@f8010000 { | |
45 | compatible = "atmel,at91sam9x5-can"; | |
46 | reg = <0xf8010000 0x300>; | |
47 | interrupts = <41 IRQ_TYPE_LEVEL_HIGH 3>; | |
48 | pinctrl-names = "default"; | |
49 | pinctrl-0 = <&pinctrl_can1_rx_tx>; | |
50 | status = "disabled"; | |
51 | }; | |
52 | }; | |
53 | }; | |
54 | }; |