0001 // SPDX-License-Identifier: GPL-2.0-only
0002 /*
0003 * sama5d3_can.dtsi - Device Tree Include file for SAMA5D3 SoC with
0004 * CAN support
0005 *
0006 * Copyright (C) 2013 Boris BREZILLON <b.brezillon@overkiz.com>
0007 */
0008
0009 #include <dt-bindings/pinctrl/at91.h>
0010 #include <dt-bindings/interrupt-controller/irq.h>
0011
0012 / {
0013 ahb {
0014 apb {
0015 pinctrl@fffff200 {
0016 can0 {
0017 pinctrl_can0_rx_tx: can0_rx_tx {
0018 atmel,pins =
0019 <AT91_PIOD 14 AT91_PERIPH_C AT91_PINCTRL_NONE /* PD14 periph C RX, conflicts with SCK0, SPI0_NPCS1 */
0020 AT91_PIOD 15 AT91_PERIPH_C AT91_PINCTRL_NONE>; /* PD15 periph C TX, conflicts with CTS0, SPI0_NPCS2 */
0021 };
0022 };
0023
0024 can1 {
0025 pinctrl_can1_rx_tx: can1_rx_tx {
0026 atmel,pins =
0027 <AT91_PIOB 14 AT91_PERIPH_B AT91_PINCTRL_NONE /* PB14 periph B RX, conflicts with GCRS */
0028 AT91_PIOB 15 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PB15 periph B TX, conflicts with GCOL */
0029 };
0030 };
0031
0032 };
0033
0034 can0: can@f000c000 {
0035 compatible = "atmel,at91sam9x5-can";
0036 reg = <0xf000c000 0x300>;
0037 interrupts = <40 IRQ_TYPE_LEVEL_HIGH 3>;
0038 pinctrl-names = "default";
0039 pinctrl-0 = <&pinctrl_can0_rx_tx>;
0040 clocks = <&pmc PMC_TYPE_PERIPHERAL 40>;
0041 clock-names = "can_clk";
0042 status = "disabled";
0043 };
0044
0045 can1: can@f8010000 {
0046 compatible = "atmel,at91sam9x5-can";
0047 reg = <0xf8010000 0x300>;
0048 interrupts = <41 IRQ_TYPE_LEVEL_HIGH 3>;
0049 pinctrl-names = "default";
0050 pinctrl-0 = <&pinctrl_can1_rx_tx>;
0051 clocks = <&pmc PMC_TYPE_PERIPHERAL 41>;
0052 clock-names = "can_clk";
0053 status = "disabled";
0054 };
0055 };
0056 };
0057 };