Loading...
Note: File does not exist in v6.13.7.
1// SPDX-License-Identifier: GPL-2.0-only
2/*
3 * sama5d3_can.dtsi - Device Tree Include file for SAMA5D3 SoC with
4 * CAN support
5 *
6 * Copyright (C) 2013 Boris BREZILLON <b.brezillon@overkiz.com>
7 */
8
9#include <dt-bindings/pinctrl/at91.h>
10#include <dt-bindings/interrupt-controller/irq.h>
11
12/ {
13 ahb {
14 apb {
15 pinctrl@fffff200 {
16 can0 {
17 pinctrl_can0_rx_tx: can0_rx_tx {
18 atmel,pins =
19 <AT91_PIOD 14 AT91_PERIPH_C AT91_PINCTRL_NONE /* PD14 periph C RX, conflicts with SCK0, SPI0_NPCS1 */
20 AT91_PIOD 15 AT91_PERIPH_C AT91_PINCTRL_NONE>; /* PD15 periph C TX, conflicts with CTS0, SPI0_NPCS2 */
21 };
22 };
23
24 can1 {
25 pinctrl_can1_rx_tx: can1_rx_tx {
26 atmel,pins =
27 <AT91_PIOB 14 AT91_PERIPH_B AT91_PINCTRL_NONE /* PB14 periph B RX, conflicts with GCRS */
28 AT91_PIOB 15 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PB15 periph B TX, conflicts with GCOL */
29 };
30 };
31
32 };
33
34 pmc: pmc@fffffc00 {
35 periphck {
36 can0_clk: can0_clk {
37 #clock-cells = <0>;
38 reg = <40>;
39 atmel,clk-output-range = <0 66000000>;
40 };
41
42 can1_clk: can1_clk {
43 #clock-cells = <0>;
44 reg = <41>;
45 atmel,clk-output-range = <0 66000000>;
46 };
47 };
48 };
49
50 can0: can@f000c000 {
51 compatible = "atmel,at91sam9x5-can";
52 reg = <0xf000c000 0x300>;
53 interrupts = <40 IRQ_TYPE_LEVEL_HIGH 3>;
54 pinctrl-names = "default";
55 pinctrl-0 = <&pinctrl_can0_rx_tx>;
56 clocks = <&can0_clk>;
57 clock-names = "can_clk";
58 status = "disabled";
59 };
60
61 can1: can@f8010000 {
62 compatible = "atmel,at91sam9x5-can";
63 reg = <0xf8010000 0x300>;
64 interrupts = <41 IRQ_TYPE_LEVEL_HIGH 3>;
65 pinctrl-names = "default";
66 pinctrl-0 = <&pinctrl_can1_rx_tx>;
67 clocks = <&can1_clk>;
68 clock-names = "can_clk";
69 status = "disabled";
70 };
71 };
72 };
73};