blob: 26bf9b5de9ee4cfa034ffd20e0220b70e24e95c9 [file] [log] [blame]
Thomas Gleixnerf50a7f32019-05-28 09:57:18 -07001// SPDX-License-Identifier: GPL-2.0-only
Boris BREZILLONd1956082013-08-07 12:14:26 +02002/*
3 * at91sam9x5_macb1.dtsi - Device Tree Include file for AT91SAM9x5 SoC with 2
4 * Ethernet interfaces.
5 *
6 * Copyright (C) 2013 Boris BREZILLON <b.brezillon@overkiz.com>
Boris BREZILLONd1956082013-08-07 12:14:26 +02007 */
8
9#include <dt-bindings/pinctrl/at91.h>
10#include <dt-bindings/interrupt-controller/irq.h>
11
12/ {
13 ahb {
14 apb {
15 pinctrl@fffff400 {
16 macb1 {
17 pinctrl_macb1_rmii: macb1_rmii-0 {
18 atmel,pins =
19 <AT91_PIOC 16 AT91_PERIPH_B AT91_PINCTRL_NONE /* PC16 periph B */
20 AT91_PIOC 18 AT91_PERIPH_B AT91_PINCTRL_NONE /* PC18 periph B */
21 AT91_PIOC 19 AT91_PERIPH_B AT91_PINCTRL_NONE /* PC19 periph B */
22 AT91_PIOC 20 AT91_PERIPH_B AT91_PINCTRL_NONE /* PC20 periph B */
23 AT91_PIOC 21 AT91_PERIPH_B AT91_PINCTRL_NONE /* PC21 periph B */
24 AT91_PIOC 27 AT91_PERIPH_B AT91_PINCTRL_NONE /* PC27 periph B */
25 AT91_PIOC 28 AT91_PERIPH_B AT91_PINCTRL_NONE /* PC28 periph B */
26 AT91_PIOC 29 AT91_PERIPH_B AT91_PINCTRL_NONE /* PC29 periph B */
27 AT91_PIOC 30 AT91_PERIPH_B AT91_PINCTRL_NONE /* PC30 periph B */
28 AT91_PIOC 31 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PC31 periph B */
29 };
30 };
31 };
32
33 macb1: ethernet@f8030000 {
Boris BREZILLON9c348d42015-03-07 07:23:29 +010034 compatible = "cdns,at91sam9260-macb", "cdns,macb";
Boris BREZILLONd1956082013-08-07 12:14:26 +020035 reg = <0xf8030000 0x100>;
36 interrupts = <27 IRQ_TYPE_LEVEL_HIGH 3>;
37 pinctrl-names = "default";
38 pinctrl-0 = <&pinctrl_macb1_rmii>;
Alexandre Belloni6cf8f822018-07-16 11:24:17 +020039 clocks = <&pmc PMC_TYPE_PERIPHERAL 27>, <&pmc PMC_TYPE_PERIPHERAL 27>;
Boris BREZILLONa80d3ec2014-05-12 18:23:35 +020040 clock-names = "hclk", "pclk";
Boris BREZILLONd1956082013-08-07 12:14:26 +020041 status = "disabled";
42 };
43 };
44 };
45};