Thomas Gleixner | f50a7f3 | 2019-05-28 09:57:18 -0700 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0-only |
Boris BREZILLON | d7d1d45 | 2013-08-07 10:49:01 +0200 | [diff] [blame] | 2 | /* |
Nicolas Ferre | 8dafaa1 | 2015-03-04 17:56:03 +0100 | [diff] [blame] | 3 | * sama5d3_emac.dtsi - Device Tree Include file for SAMA5D3 SoC with |
Boris BREZILLON | d7d1d45 | 2013-08-07 10:49:01 +0200 | [diff] [blame] | 4 | * Ethernet. |
| 5 | * |
| 6 | * Copyright (C) 2013 Boris BREZILLON <b.brezillon@overkiz.com> |
Boris BREZILLON | d7d1d45 | 2013-08-07 10:49:01 +0200 | [diff] [blame] | 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 | macb1 { |
| 17 | pinctrl_macb1_rmii: macb1_rmii-0 { |
| 18 | atmel,pins = |
| 19 | <AT91_PIOC 0 AT91_PERIPH_A AT91_PINCTRL_NONE /* PC0 periph A ETX0, conflicts with TIOA3 */ |
| 20 | AT91_PIOC 1 AT91_PERIPH_A AT91_PINCTRL_NONE /* PC1 periph A ETX1, conflicts with TIOB3 */ |
| 21 | AT91_PIOC 2 AT91_PERIPH_A AT91_PINCTRL_NONE /* PC2 periph A ERX0, conflicts with TCLK3 */ |
| 22 | AT91_PIOC 3 AT91_PERIPH_A AT91_PINCTRL_NONE /* PC3 periph A ERX1, conflicts with TIOA4 */ |
| 23 | AT91_PIOC 4 AT91_PERIPH_A AT91_PINCTRL_NONE /* PC4 periph A ETXEN, conflicts with TIOB4 */ |
| 24 | AT91_PIOC 5 AT91_PERIPH_A AT91_PINCTRL_NONE /* PC5 periph A ECRSDV,conflicts with TCLK4 */ |
| 25 | AT91_PIOC 6 AT91_PERIPH_A AT91_PINCTRL_NONE /* PC6 periph A ERXER, conflicts with TIOA5 */ |
| 26 | AT91_PIOC 7 AT91_PERIPH_A AT91_PINCTRL_NONE /* PC7 periph A EREFCK, conflicts with TIOB5 */ |
| 27 | AT91_PIOC 8 AT91_PERIPH_A AT91_PINCTRL_NONE /* PC8 periph A EMDC, conflicts with TCLK5 */ |
| 28 | AT91_PIOC 9 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PC9 periph A EMDIO */ |
| 29 | }; |
| 30 | }; |
| 31 | }; |
| 32 | |
Boris BREZILLON | d2e8190 | 2013-10-18 23:48:27 +0200 | [diff] [blame] | 33 | pmc: pmc@fffffc00 { |
Boris BREZILLON | d2e8190 | 2013-10-18 23:48:27 +0200 | [diff] [blame] | 34 | }; |
| 35 | |
Boris BREZILLON | d7d1d45 | 2013-08-07 10:49:01 +0200 | [diff] [blame] | 36 | macb1: ethernet@f802c000 { |
Nicolas Ferre | 321cc35 | 2018-09-14 17:48:11 +0200 | [diff] [blame] | 37 | compatible = "atmel,sama5d3-macb", "cdns,at91sam9260-macb", "cdns,macb"; |
Boris BREZILLON | d7d1d45 | 2013-08-07 10:49:01 +0200 | [diff] [blame] | 38 | reg = <0xf802c000 0x100>; |
| 39 | interrupts = <35 IRQ_TYPE_LEVEL_HIGH 3>; |
| 40 | pinctrl-names = "default"; |
| 41 | pinctrl-0 = <&pinctrl_macb1_rmii>; |
Alexandre Belloni | 7ed609b | 2020-01-10 23:27:44 +0100 | [diff] [blame] | 42 | clocks = <&pmc PMC_TYPE_PERIPHERAL 35>, <&pmc PMC_TYPE_PERIPHERAL 35>; |
Boris BREZILLON | d2e8190 | 2013-10-18 23:48:27 +0200 | [diff] [blame] | 43 | clock-names = "hclk", "pclk"; |
Boris BREZILLON | d7d1d45 | 2013-08-07 10:49:01 +0200 | [diff] [blame] | 44 | status = "disabled"; |
| 45 | }; |
| 46 | }; |
| 47 | }; |
| 48 | }; |