summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/k2e.dtsi
diff options
context:
space:
mode:
authorMurali Karicheri <m-karicheri2@ti.com>2015-08-10 05:06:27 +0200
committerSantosh Shilimkar <ssantosh@kernel.org>2015-08-13 19:01:29 +0200
commit85ad3deea4525504355560649be7a41348111a60 (patch)
treefdd963d22ddcd025176dcfab287a42ceecb0cf23 /arch/arm/boot/dts/k2e.dtsi
parentARM: dts: keystone: fix the clock node for mdio (diff)
downloadlinux-85ad3deea4525504355560649be7a41348111a60.tar.xz
linux-85ad3deea4525504355560649be7a41348111a60.zip
ARM: dts: keystone: Fix the mdio bindings by moving it to soc specific file
Currently mdio bindings are defined in keystone.dtsi and this results in incorrect unit address for the node on K2E and K2L SoCs. Fix this by moving them to SoC specific DTS file. Signed-off-by: Murali Karicheri <m-karicheri2@ti.com> Signed-off-by: Santosh Shilimkar <ssantosh@kernel.org>
Diffstat (limited to 'arch/arm/boot/dts/k2e.dtsi')
-rw-r--r--arch/arm/boot/dts/k2e.dtsi15
1 files changed, 11 insertions, 4 deletions
diff --git a/arch/arm/boot/dts/k2e.dtsi b/arch/arm/boot/dts/k2e.dtsi
index 50e555eab50d..d3f2629251c5 100644
--- a/arch/arm/boot/dts/k2e.dtsi
+++ b/arch/arm/boot/dts/k2e.dtsi
@@ -130,10 +130,17 @@
<GIC_SPI 376 IRQ_TYPE_EDGE_RISING>;
};
};
+
+ mdio: mdio@24200f00 {
+ compatible = "ti,keystone_mdio", "ti,davinci_mdio";
+ #address-cells = <1>;
+ #size-cells = <0>;
+ reg = <0x24200f00 0x100>;
+ status = "disabled";
+ clocks = <&clkcpgmac>;
+ clock-names = "fck";
+ bus_freq = <2500000>;
+ };
/include/ "k2e-netcp.dtsi"
};
};
-
-&mdio {
- reg = <0x24200f00 0x100>;
-};