BSC9132 network card drive

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

BSC9132 network card drive

1,637 Views
zhengguangzhe
Contributor I

There are bsc9132 network card drivers related to TX, RX four-way matching on the Linux kernel how corresponding, how is the corresponding interface configured?

The hardware schematic diagram is attached below

  • Address: psb9132

0 Kudos
1 Reply

1,481 Views
yipingwang
NXP TechSupport
NXP TechSupport

Hello Wang xiaobin,

Please refer to BSC9132QDS reference design in QorIQ® Qonverge BSC9132 QDS for Picocell|NXP .

In u-boot source code, please refer to the following PHY related configuration in include/configs/BSC9132QDS.h as the following, please configure MDIO PHY addresses according to your target board, please configure PHY driver in this header file.

#if defined(CONFIG_TSEC_ENET)

#define CONFIG_MII                      /* MII PHY management */
#define CONFIG_MII_DEFAULT_TSEC 1       /* Allow unregistered phys */
#define CONFIG_TSEC1    1
#define CONFIG_TSEC1_NAME       "eTSEC1"
#define CONFIG_TSEC2    1
#define CONFIG_TSEC2_NAME       "eTSEC2"

#define TSEC1_PHY_ADDR          0
#define TSEC2_PHY_ADDR          1

In Linux Kernel, in arch/powerpc/boot/dts/fsl/bsc9132qds.dtsi, please modify the MDIO PHY address according to the target board, please configure the PHY driver in Kernel configuration file.

        mdio@24000 {
                phy0: ethernet-phy@0 {
                        reg = <0x0>;
                };

                phy1: ethernet-phy@1 {
                        reg = <0x1>;
                };

                tbi0: tbi-phy@11 {
                        reg = <0x1f>;
                        device_type = "tbi-phy";
                };
        };

        enet0: ethernet@b0000 {
                phy-handle = <&phy0>;
                tbi-handle = <&tbi0>;
                phy-connection-type = "sgmii";
        };

        enet1: ethernet@b1000 {
                phy-handle = <&phy1>;
                tbi-handle = <&tbi0>;
                phy-connection-type = "sgmii";
        };


Have a great day,
TIC

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos