Skip to content

Commit a189243

Browse files
puppybaneScott Wood
authored andcommitted
powerpc/corenet: Enable muxing MDIO buses via GPIO
Signed-off-by: Andy Fleming <afleming@gmail.com> Signed-off-by: Shaohui Xie <Shaohui.Xie@freescale.com> Signed-off-by: Shruti Kanetkar <Kanetkar.Shruti@gmail.com> Signed-off-by: Emil Medve <Emilian.Medve@Freescale.com> Signed-off-by: Scott Wood <scottwood@freescale.com>
1 parent 1e8ed06 commit a189243

3 files changed

Lines changed: 5 additions & 0 deletions

File tree

‎arch/powerpc/configs/corenet32_smp_defconfig‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ CONFIG_E1000E=y
9999
CONFIG_AT803X_PHY=y
100100
CONFIG_VITESSE_PHY=y
101101
CONFIG_FIXED_PHY=y
102+
CONFIG_MDIO_BUS_MUX_GPIO=y
102103
# CONFIG_INPUT_MOUSEDEV is not set
103104
# CONFIG_INPUT_KEYBOARD is not set
104105
# CONFIG_INPUT_MOUSE is not set

‎arch/powerpc/configs/corenet64_smp_defconfig‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ CONFIG_FSL_XGMAC_MDIO=y
9393
CONFIG_E1000E=y
9494
CONFIG_VITESSE_PHY=y
9595
CONFIG_FIXED_PHY=y
96+
CONFIG_MDIO_BUS_MUX_GPIO=y
9697
CONFIG_INPUT_FF_MEMLESS=m
9798
# CONFIG_INPUT_MOUSEDEV is not set
9899
# CONFIG_INPUT_KEYBOARD is not set

‎arch/powerpc/platforms/85xx/corenet_generic.c‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,9 @@ static const struct of_device_id of_device_ids[] = {
8787
{
8888
.compatible = "simple-bus"
8989
},
90+
{
91+
.compatible = "mdio-mux-gpio"
92+
},
9093
{
9194
.compatible = "fsl,srio",
9295
},

0 commit comments

Comments
 (0)