summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/k2l.dtsi
diff options
context:
space:
mode:
authorMurali Karicheri <m-karicheri2@ti.com>2015-08-10 06:06:27 +0300
committerSantosh Shilimkar <ssantosh@kernel.org>2015-08-13 20:01:29 +0300
commit85ad3deea4525504355560649be7a41348111a60 (patch)
treefdd963d22ddcd025176dcfab287a42ceecb0cf23 /arch/arm/boot/dts/k2l.dtsi
parente61eee7cf8e3f000b6514e18afc74fb8d1525f6d (diff)
downloadlinux-85ad3deea4525504355560649be7a41348111a60.tar.xz
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/k2l.dtsi')
-rw-r--r--arch/arm/boot/dts/k2l.dtsi16
1 files changed, 11 insertions, 5 deletions
diff --git a/arch/arm/boot/dts/k2l.dtsi b/arch/arm/boot/dts/k2l.dtsi
index 0e007483615e..49fd414f680c 100644
--- a/arch/arm/boot/dts/k2l.dtsi
+++ b/arch/arm/boot/dts/k2l.dtsi
@@ -29,7 +29,6 @@
};
soc {
-
/include/ "k2l-clocks.dtsi"
uart2: serial@02348400 {
@@ -79,6 +78,17 @@
#gpio-cells = <2>;
gpio,syscon-dev = <&devctrl 0x24c>;
};
+
+ mdio: mdio@26200f00 {
+ compatible = "ti,keystone_mdio", "ti,davinci_mdio";
+ #address-cells = <1>;
+ #size-cells = <0>;
+ reg = <0x26200f00 0x100>;
+ status = "disabled";
+ clocks = <&clkcpgmac>;
+ clock-names = "fck";
+ bus_freq = <2500000>;
+ };
/include/ "k2l-netcp.dtsi"
};
};
@@ -96,7 +106,3 @@
/* Pin muxed. Enabled and configured by Bootloader */
status = "disabled";
};
-
-&mdio {
- reg = <0x26200f00 0x100>;
-};