Merge tag 'devprop-4.21-rc1-2' of git://git.kernel.org/pub/scm/linux/kernel/git/rafae...
[sfrench/cifs-2.6.git] / arch / arm / boot / dts / at91sam9x5_can.dtsi
1 /*
2  * at91sam9x5_can.dtsi - Device Tree Include file for AT91SAM9x5 SoC with 1
3  * Ethernet interface.
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                         can0: can@f8000000 {
17                                 compatible = "atmel,at91sam9x5-can";
18                                 reg = <0xf8000000 0x300>;
19                                 interrupts = <29 IRQ_TYPE_LEVEL_HIGH 3>;
20                                 pinctrl-names = "default";
21                                 pinctrl-0 = <&pinctrl_can0_rx_tx>;
22                                 clocks = <&pmc PMC_TYPE_PERIPHERAL 29>;
23                                 clock-names = "can_clk";
24                                 status = "disabled";
25                         };
26
27                         can1: can@f8004000 {
28                                 compatible = "atmel,at91sam9x5-can";
29                                 reg = <0xf8004000 0x300>;
30                                 interrupts = <30 IRQ_TYPE_LEVEL_HIGH 3>;
31                                 pinctrl-names = "default";
32                                 pinctrl-0 = <&pinctrl_can1_rx_tx>;
33                                 clocks = <&pmc PMC_TYPE_PERIPHERAL 30>;
34                                 clock-names = "can_clk";
35                                 status = "disabled";
36                         };
37
38                         pinctrl@fffff400 {
39                                 can0 {
40                                         pinctrl_can0_rx_tx: can0_rx_tx {
41                                                 atmel,pins =
42                                                         <AT91_PIOA 9 AT91_PERIPH_B AT91_PINCTRL_NONE    /* CANRX0, conflicts with DRXD */
43                                                         AT91_PIOA 10 AT91_PERIPH_B AT91_PINCTRL_NONE>;  /* CANTX0, conflicts with DTXD */
44                                         };
45                                 };
46
47                                 can1 {
48                                         pinctrl_can1_rx_tx: can1_rx_tx {
49                                                 atmel,pins =
50                                                         <AT91_PIOA 6 AT91_PERIPH_B AT91_PINCTRL_NONE    /* CANRX1, conflicts with RXD1 */
51                                                         AT91_PIOA 5 AT91_PERIPH_B AT91_PINCTRL_NONE>;   /* CANTX1, conflicts with TXD1 */
52                                         };
53                                 };
54                         };
55                 };
56         };
57 };