diff options
author | Boris BREZILLON <b.brezillon@overkiz.com> | 2013-08-07 04:49:01 -0400 |
---|---|---|
committer | Nicolas Ferre <nicolas.ferre@atmel.com> | 2013-10-16 09:47:08 -0400 |
commit | d7d1d45cc46d79ab9227288e225aa51078855729 (patch) | |
tree | a2cd1cb9d532439e35628eb631cbce9c981ba05a /arch/arm/boot/dts/sama5d3_emac.dtsi | |
parent | d195608acc78db293468694ed5225a39e440429d (diff) |
ARM: at91/dt: split sama5d3 peripheral definitions
This patch splits the sama5d3 SoCs definition:
- a common base for all sama5d3 SoCs (sama5d3.dtsi)
- several optional peripheral definitions which will be included by sama5d3
specific SoCs (sama5d3_'periph name'.dtsi)
- sama5d3 specific SoC definitions (sama5d3x.dtsi)
This provides a better representation of the real hardware (drop unneed
dt nodes) and avoids peripheral id conflict (which is not the case for
current sama5d3 SoCs, but could be if other SoCs of this family are
released).
Signed-off-by: Boris BREZILLON <b.brezillon@overkiz.com>
[nicolas.ferre@atmel.com: add more "sama5d3?" compatibility strings]
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Diffstat (limited to 'arch/arm/boot/dts/sama5d3_emac.dtsi')
-rw-r--r-- | arch/arm/boot/dts/sama5d3_emac.dtsi | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/sama5d3_emac.dtsi b/arch/arm/boot/dts/sama5d3_emac.dtsi new file mode 100644 index 000000000000..4d4f351f1f9f --- /dev/null +++ b/arch/arm/boot/dts/sama5d3_emac.dtsi | |||
@@ -0,0 +1,44 @@ | |||
1 | /* | ||
2 | * at91sama5d3_emac.dtsi - Device Tree Include file for AT91SAM9x5 SoC with | ||
3 | * Ethernet. | ||
4 | * | ||
5 | * Copyright (C) 2013 Boris BREZILLON <b.brezillon@overkiz.com> | ||
6 | * | ||
7 | * Licensed under GPLv2. | ||
8 | */ | ||
9 | |||
10 | #include <dt-bindings/pinctrl/at91.h> | ||
11 | #include <dt-bindings/interrupt-controller/irq.h> | ||
12 | |||
13 | / { | ||
14 | ahb { | ||
15 | apb { | ||
16 | pinctrl@fffff200 { | ||
17 | macb1 { | ||
18 | pinctrl_macb1_rmii: macb1_rmii-0 { | ||
19 | atmel,pins = | ||
20 | <AT91_PIOC 0 AT91_PERIPH_A AT91_PINCTRL_NONE /* PC0 periph A ETX0, conflicts with TIOA3 */ | ||
21 | AT91_PIOC 1 AT91_PERIPH_A AT91_PINCTRL_NONE /* PC1 periph A ETX1, conflicts with TIOB3 */ | ||
22 | AT91_PIOC 2 AT91_PERIPH_A AT91_PINCTRL_NONE /* PC2 periph A ERX0, conflicts with TCLK3 */ | ||
23 | AT91_PIOC 3 AT91_PERIPH_A AT91_PINCTRL_NONE /* PC3 periph A ERX1, conflicts with TIOA4 */ | ||
24 | AT91_PIOC 4 AT91_PERIPH_A AT91_PINCTRL_NONE /* PC4 periph A ETXEN, conflicts with TIOB4 */ | ||
25 | AT91_PIOC 5 AT91_PERIPH_A AT91_PINCTRL_NONE /* PC5 periph A ECRSDV,conflicts with TCLK4 */ | ||
26 | AT91_PIOC 6 AT91_PERIPH_A AT91_PINCTRL_NONE /* PC6 periph A ERXER, conflicts with TIOA5 */ | ||
27 | AT91_PIOC 7 AT91_PERIPH_A AT91_PINCTRL_NONE /* PC7 periph A EREFCK, conflicts with TIOB5 */ | ||
28 | AT91_PIOC 8 AT91_PERIPH_A AT91_PINCTRL_NONE /* PC8 periph A EMDC, conflicts with TCLK5 */ | ||
29 | AT91_PIOC 9 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PC9 periph A EMDIO */ | ||
30 | }; | ||
31 | }; | ||
32 | }; | ||
33 | |||
34 | macb1: ethernet@f802c000 { | ||
35 | compatible = "cdns,at32ap7000-macb", "cdns,macb"; | ||
36 | reg = <0xf802c000 0x100>; | ||
37 | interrupts = <35 IRQ_TYPE_LEVEL_HIGH 3>; | ||
38 | pinctrl-names = "default"; | ||
39 | pinctrl-0 = <&pinctrl_macb1_rmii>; | ||
40 | status = "disabled"; | ||
41 | }; | ||
42 | }; | ||
43 | }; | ||
44 | }; | ||