summaryrefslogtreecommitdiffstats
path: root/arch/arm64/boot/dts/apm/apm-shadowcat.dtsi
diff options
context:
space:
mode:
authorIyappan Subramanian <isubramanian@apm.com>2016-07-25 17:12:45 -0700
committerDavid S. Miller <davem@davemloft.net>2016-07-25 21:51:44 -0700
commit8e694cd2762c36b4104bbddaaf72740e59fdee5e (patch)
treec1d7c2cf00a822b0aa75f9927d006832c5c103a5 /arch/arm64/boot/dts/apm/apm-shadowcat.dtsi
parent52d1fd9983182e9e92507a18a997b3614864e0ee (diff)
downloadlinux-8e694cd2762c36b4104bbddaaf72740e59fdee5e.tar.bz2
dtb: xgene: Add MDIO node
Added mdio node for mdio driver. Also added phy-handle reference to the ethernet nodes. Removed unused clock node from storm sgenet1. Signed-off-by: Iyappan Subramanian <isubramanian@apm.com> Tested-by: Fushen Chen <fchen@apm.com> Tested-by: Toan Le <toanle@apm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/arm64/boot/dts/apm/apm-shadowcat.dtsi')
-rw-r--r--arch/arm64/boot/dts/apm/apm-shadowcat.dtsi11
1 files changed, 10 insertions, 1 deletions
diff --git a/arch/arm64/boot/dts/apm/apm-shadowcat.dtsi b/arch/arm64/boot/dts/apm/apm-shadowcat.dtsi
index c569f761d090..2e1e5daa1dc7 100644
--- a/arch/arm64/boot/dts/apm/apm-shadowcat.dtsi
+++ b/arch/arm64/boot/dts/apm/apm-shadowcat.dtsi
@@ -625,10 +625,18 @@
apm,irq-start = <8>;
};
+ mdio: mdio@1f610000 {
+ compatible = "apm,xgene-mdio-xfi";
+ #address-cells = <1>;
+ #size-cells = <0>;
+ reg = <0x0 0x1f610000 0x0 0xd100>;
+ clocks = <&xge0clk 0>;
+ };
+
sgenet0: ethernet@1f610000 {
compatible = "apm,xgene2-sgenet";
status = "disabled";
- reg = <0x0 0x1f610000 0x0 0x10000>,
+ reg = <0x0 0x1f610000 0x0 0xd100>,
<0x0 0x1f600000 0x0 0Xd100>,
<0x0 0x20000000 0x0 0X20000>;
interrupts = <0 96 4>,
@@ -637,6 +645,7 @@
clocks = <&xge0clk 0>;
local-mac-address = [00 01 73 00 00 01];
phy-connection-type = "sgmii";
+ phy-handle = <&sgenet0phy>;
};
xgenet1: ethernet@1f620000 {