forked from luck/tmp_suning_uos_patched
ucc_geth: get rid of device_type for mdio
device_type property is bogus, thus use proper compatible. Also change compatible property to "fsl,ucc-mdio". Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
This commit is contained in:
parent
a2dd70a11d
commit
d0a2f82da9
@ -304,8 +304,7 @@ mdio@2320 {
|
|||||||
#address-cells = <1>;
|
#address-cells = <1>;
|
||||||
#size-cells = <0>;
|
#size-cells = <0>;
|
||||||
reg = <2320 18>;
|
reg = <2320 18>;
|
||||||
device_type = "mdio";
|
compatible = "fsl,ucc-mdio";
|
||||||
compatible = "ucc_geth_phy";
|
|
||||||
|
|
||||||
phy3: ethernet-phy@03 {
|
phy3: ethernet-phy@03 {
|
||||||
interrupt-parent = < &ipic >;
|
interrupt-parent = < &ipic >;
|
||||||
|
@ -237,8 +237,7 @@ mdio@3120 {
|
|||||||
#address-cells = <1>;
|
#address-cells = <1>;
|
||||||
#size-cells = <0>;
|
#size-cells = <0>;
|
||||||
reg = <3120 18>;
|
reg = <3120 18>;
|
||||||
device_type = "mdio";
|
compatible = "fsl,ucc-mdio";
|
||||||
compatible = "ucc_geth_phy";
|
|
||||||
|
|
||||||
phy00:ethernet-phy@00 {
|
phy00:ethernet-phy@00 {
|
||||||
interrupt-parent = <&pic>;
|
interrupt-parent = <&pic>;
|
||||||
|
@ -288,8 +288,7 @@ mdio@2120 {
|
|||||||
#address-cells = <1>;
|
#address-cells = <1>;
|
||||||
#size-cells = <0>;
|
#size-cells = <0>;
|
||||||
reg = <2120 18>;
|
reg = <2120 18>;
|
||||||
device_type = "mdio";
|
compatible = "fsl,ucc-mdio";
|
||||||
compatible = "ucc_geth_phy";
|
|
||||||
|
|
||||||
phy0: ethernet-phy@00 {
|
phy0: ethernet-phy@00 {
|
||||||
interrupt-parent = < &ipic >;
|
interrupt-parent = < &ipic >;
|
||||||
|
@ -357,7 +357,7 @@ mdio@2120 {
|
|||||||
#address-cells = <1>;
|
#address-cells = <1>;
|
||||||
#size-cells = <0>;
|
#size-cells = <0>;
|
||||||
reg = <2120 18>;
|
reg = <2120 18>;
|
||||||
compatible = "ucc_geth_phy";
|
compatible = "fsl,ucc-mdio";
|
||||||
|
|
||||||
/* These are the same PHYs as on
|
/* These are the same PHYs as on
|
||||||
* gianfar's MDIO bus */
|
* gianfar's MDIO bus */
|
||||||
|
@ -256,6 +256,9 @@ static struct of_device_id uec_mdio_match[] = {
|
|||||||
.type = "mdio",
|
.type = "mdio",
|
||||||
.compatible = "ucc_geth_phy",
|
.compatible = "ucc_geth_phy",
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
.compatible = "fsl,ucc-mdio",
|
||||||
|
},
|
||||||
{},
|
{},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user