summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/sama5d3xmb_emac.dtsi
diff options
context:
space:
mode:
authorAlexandre Belloni2016-07-15 11:15:16 +0200
committerAlexandre Belloni2016-07-15 11:23:46 +0200
commit94197ad713a6f7f164837ac674726d3af70a7c53 (patch)
tree55066c6064fd100359a5ff7d3ba6e740bcb49729 /arch/arm/boot/dts/sama5d3xmb_emac.dtsi
parentARM: dts: at91: at91sam9g25ek: fix isi endpoint node (diff)
downloadkernel-qcow2-linux-94197ad713a6f7f164837ac674726d3af70a7c53.tar.gz
kernel-qcow2-linux-94197ad713a6f7f164837ac674726d3af70a7c53.tar.xz
kernel-qcow2-linux-94197ad713a6f7f164837ac674726d3af70a7c53.zip
ARM: dts: at91: sama5d3x: separate motherboard gmac and emac definitions
Separate the definitions for the emac and the gmac in different files and include them in the final board dts that uses them. Solves: Warning (unit_address_vs_reg): Node /ahb/apb/ethernet@f0028000 has a unit name, but no reg property Warning (unit_address_vs_reg): Node /ahb/apb/ethernet@f802c000 has a unit name, but no reg property Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Diffstat (limited to 'arch/arm/boot/dts/sama5d3xmb_emac.dtsi')
-rw-r--r--arch/arm/boot/dts/sama5d3xmb_emac.dtsi26
1 files changed, 26 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/sama5d3xmb_emac.dtsi b/arch/arm/boot/dts/sama5d3xmb_emac.dtsi
new file mode 100644
index 000000000000..2fd14f371a04
--- /dev/null
+++ b/arch/arm/boot/dts/sama5d3xmb_emac.dtsi
@@ -0,0 +1,26 @@
+/*
+ * sama5d3xmb_emac.dts - Device Tree Include file for SAMA5D3x mother board
+ * Ethernet
+ *
+ * Copyright (C) 2016 Atmel,
+ *
+ * Licensed under GPLv2 or later.
+ */
+
+/ {
+ ahb {
+ apb {
+ macb1: ethernet@f802c000 {
+ phy-mode = "rmii";
+
+ #address-cells = <1>;
+ #size-cells = <0>;
+ phy0: ethernet-phy@1 {
+ interrupt-parent = <&pioE>;
+ interrupts = <30 IRQ_TYPE_EDGE_FALLING>;
+ reg = <1>;
+ };
+ };
+ };
+ };
+};