Skip to content

Commit 2e6e996

Browse files
shrutikanetkarScott Wood
authored andcommitted
powerpc/corenet: Enable muxing MDIO buses via FPGA
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 a189243 commit 2e6e996

3 files changed

Lines changed: 8 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
@@ -100,6 +100,7 @@ CONFIG_AT803X_PHY=y
100100
CONFIG_VITESSE_PHY=y
101101
CONFIG_FIXED_PHY=y
102102
CONFIG_MDIO_BUS_MUX_GPIO=y
103+
CONFIG_MDIO_BUS_MUX_MMIOREG=y
103104
# CONFIG_INPUT_MOUSEDEV is not set
104105
# CONFIG_INPUT_KEYBOARD is not set
105106
# 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
@@ -94,6 +94,7 @@ CONFIG_E1000E=y
9494
CONFIG_VITESSE_PHY=y
9595
CONFIG_FIXED_PHY=y
9696
CONFIG_MDIO_BUS_MUX_GPIO=y
97+
CONFIG_MDIO_BUS_MUX_MMIOREG=y
9798
CONFIG_INPUT_FF_MEMLESS=m
9899
# CONFIG_INPUT_MOUSEDEV is not set
99100
# CONFIG_INPUT_KEYBOARD is not set

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,12 @@ static const struct of_device_id of_device_ids[] = {
9090
{
9191
.compatible = "mdio-mux-gpio"
9292
},
93+
{
94+
.compatible = "fsl,fpga-ngpixis"
95+
},
96+
{
97+
.compatible = "fsl,fpga-qixis"
98+
},
9399
{
94100
.compatible = "fsl,srio",
95101
},

0 commit comments

Comments
 (0)