Commit 85ad3dee authored by Murali Karicheri's avatar Murali Karicheri Committed by Santosh Shilimkar

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: default avatarMurali Karicheri <m-karicheri2@ti.com>
Signed-off-by: default avatarSantosh Shilimkar <ssantosh@kernel.org>
parent e61eee7c
...@@ -130,10 +130,17 @@ pcie_intc1: legacy-interrupt-controller { ...@@ -130,10 +130,17 @@ pcie_intc1: legacy-interrupt-controller {
<GIC_SPI 376 IRQ_TYPE_EDGE_RISING>; <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" /include/ "k2e-netcp.dtsi"
}; };
}; };
&mdio {
reg = <0x24200f00 0x100>;
};
...@@ -98,6 +98,17 @@ dspgpio7: keystone_dsp_gpio@262025c { ...@@ -98,6 +98,17 @@ dspgpio7: keystone_dsp_gpio@262025c {
#gpio-cells = <2>; #gpio-cells = <2>;
gpio,syscon-dev = <&devctrl 0x25c>; gpio,syscon-dev = <&devctrl 0x25c>;
}; };
mdio: mdio@02090300 {
compatible = "ti,keystone_mdio", "ti,davinci_mdio";
#address-cells = <1>;
#size-cells = <0>;
reg = <0x02090300 0x100>;
status = "disabled";
clocks = <&clkcpgmac>;
clock-names = "fck";
bus_freq = <2500000>;
};
/include/ "k2hk-netcp.dtsi" /include/ "k2hk-netcp.dtsi"
}; };
}; };
...@@ -29,7 +29,6 @@ cpu@1 { ...@@ -29,7 +29,6 @@ cpu@1 {
}; };
soc { soc {
/include/ "k2l-clocks.dtsi" /include/ "k2l-clocks.dtsi"
uart2: serial@02348400 { uart2: serial@02348400 {
...@@ -79,6 +78,17 @@ dspgpio3: keystone_dsp_gpio@262024c { ...@@ -79,6 +78,17 @@ dspgpio3: keystone_dsp_gpio@262024c {
#gpio-cells = <2>; #gpio-cells = <2>;
gpio,syscon-dev = <&devctrl 0x24c>; 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" /include/ "k2l-netcp.dtsi"
}; };
}; };
...@@ -96,7 +106,3 @@ &spi2 { ...@@ -96,7 +106,3 @@ &spi2 {
/* Pin muxed. Enabled and configured by Bootloader */ /* Pin muxed. Enabled and configured by Bootloader */
status = "disabled"; status = "disabled";
}; };
&mdio {
reg = <0x26200f00 0x100>;
};
...@@ -267,17 +267,6 @@ aemif: aemif@21000A00 { ...@@ -267,17 +267,6 @@ aemif: aemif@21000A00 {
1 0 0x21000A00 0x00000100>; 1 0 0x21000A00 0x00000100>;
}; };
mdio: mdio@02090300 {
compatible = "ti,keystone_mdio", "ti,davinci_mdio";
#address-cells = <1>;
#size-cells = <0>;
reg = <0x02090300 0x100>;
status = "disabled";
clocks = <&clkcpgmac>;
clock-names = "fck";
bus_freq = <2500000>;
};
kirq0: keystone_irq@26202a0 { kirq0: keystone_irq@26202a0 {
compatible = "ti,keystone-irq"; compatible = "ti,keystone-irq";
interrupts = <GIC_SPI 4 IRQ_TYPE_EDGE_RISING>; interrupts = <GIC_SPI 4 IRQ_TYPE_EDGE_RISING>;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment