1*f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0-only 2*f126890aSEmmanuel Vadot/* 3*f126890aSEmmanuel Vadot * at91sam9x5_can.dtsi - Device Tree Include file for AT91SAM9x5 SoC with 1 4*f126890aSEmmanuel Vadot * Ethernet interface. 5*f126890aSEmmanuel Vadot * 6*f126890aSEmmanuel Vadot * Copyright (C) 2013 Boris BREZILLON <b.brezillon@overkiz.com> 7*f126890aSEmmanuel Vadot */ 8*f126890aSEmmanuel Vadot 9*f126890aSEmmanuel Vadot#include <dt-bindings/pinctrl/at91.h> 10*f126890aSEmmanuel Vadot#include <dt-bindings/interrupt-controller/irq.h> 11*f126890aSEmmanuel Vadot 12*f126890aSEmmanuel Vadot/ { 13*f126890aSEmmanuel Vadot ahb { 14*f126890aSEmmanuel Vadot apb { 15*f126890aSEmmanuel Vadot can0: can@f8000000 { 16*f126890aSEmmanuel Vadot compatible = "atmel,at91sam9x5-can"; 17*f126890aSEmmanuel Vadot reg = <0xf8000000 0x300>; 18*f126890aSEmmanuel Vadot interrupts = <29 IRQ_TYPE_LEVEL_HIGH 3>; 19*f126890aSEmmanuel Vadot pinctrl-names = "default"; 20*f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_can0_rx_tx>; 21*f126890aSEmmanuel Vadot clocks = <&pmc PMC_TYPE_PERIPHERAL 29>; 22*f126890aSEmmanuel Vadot clock-names = "can_clk"; 23*f126890aSEmmanuel Vadot status = "disabled"; 24*f126890aSEmmanuel Vadot }; 25*f126890aSEmmanuel Vadot 26*f126890aSEmmanuel Vadot can1: can@f8004000 { 27*f126890aSEmmanuel Vadot compatible = "atmel,at91sam9x5-can"; 28*f126890aSEmmanuel Vadot reg = <0xf8004000 0x300>; 29*f126890aSEmmanuel Vadot interrupts = <30 IRQ_TYPE_LEVEL_HIGH 3>; 30*f126890aSEmmanuel Vadot pinctrl-names = "default"; 31*f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_can1_rx_tx>; 32*f126890aSEmmanuel Vadot clocks = <&pmc PMC_TYPE_PERIPHERAL 30>; 33*f126890aSEmmanuel Vadot clock-names = "can_clk"; 34*f126890aSEmmanuel Vadot status = "disabled"; 35*f126890aSEmmanuel Vadot }; 36*f126890aSEmmanuel Vadot 37*f126890aSEmmanuel Vadot pinctrl@fffff400 { 38*f126890aSEmmanuel Vadot can0 { 39*f126890aSEmmanuel Vadot pinctrl_can0_rx_tx: can0_rx_tx { 40*f126890aSEmmanuel Vadot atmel,pins = 41*f126890aSEmmanuel Vadot <AT91_PIOA 9 AT91_PERIPH_B AT91_PINCTRL_NONE /* CANRX0, conflicts with DRXD */ 42*f126890aSEmmanuel Vadot AT91_PIOA 10 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* CANTX0, conflicts with DTXD */ 43*f126890aSEmmanuel Vadot }; 44*f126890aSEmmanuel Vadot }; 45*f126890aSEmmanuel Vadot 46*f126890aSEmmanuel Vadot can1 { 47*f126890aSEmmanuel Vadot pinctrl_can1_rx_tx: can1_rx_tx { 48*f126890aSEmmanuel Vadot atmel,pins = 49*f126890aSEmmanuel Vadot <AT91_PIOA 6 AT91_PERIPH_B AT91_PINCTRL_NONE /* CANRX1, conflicts with RXD1 */ 50*f126890aSEmmanuel Vadot AT91_PIOA 5 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* CANTX1, conflicts with TXD1 */ 51*f126890aSEmmanuel Vadot }; 52*f126890aSEmmanuel Vadot }; 53*f126890aSEmmanuel Vadot }; 54*f126890aSEmmanuel Vadot }; 55*f126890aSEmmanuel Vadot }; 56*f126890aSEmmanuel Vadot}; 57