
mpc8308erdbのvitesseスイッチをks8999スイッチに変更したいです。そして、eTSEC0とeTSEC1を2つの独立したks8999スイッチに接続します。
私はこの新しい条件でLinuxを動作させるためにどのファイルを変更する必要があるのか知りたいです。このスイッチは高速イーサネットスイッチであり、MIIインターフェースを介してマザーボードに接続されています。 (mdioインターフェイスはありません)
デバイスツリーを変更して別のポートを確認してスイッチ機能を確認しましたが、ネットワークが機能しませんでした。変更されていないデバイスツリー:
enet0: ethernet@24000 {
cell-index = <0>;
device_type = "network";
model = "eTSEC";
compatible = "gianfar";
reg = <0x24000 0x1000>;
local-mac-address = [ 00 00 00 00 00 00 ];
interrupts = <32 0x8 33 0x8 34 0x8>;
interrupt-parent = <&ipic>;
tbi-handle = <&tbi0>;
phy-handle = < &phy0 >;
/* sleep = <&pmc 0xc0000000>; */
fsl,magic-packet;
fsl,lossless-flow-ctrl = <0>;
ptimer-handle = < &ptp_timer >;
};
enet1: ethernet@25000 {
cell-index = <1>;
device_type = "network";
model = "eTSEC";
compatible = "gianfar";
reg = <0x25000 0x1000>;
local-mac-address = [ 00 00 00 00 00 00 ];
interrupts = <35 0x8 36 0x8 37 0x8>;
interrupt-parent = <&ipic>;
/* tbi-handle = <&tbi1>; */
/* phy-handle = < &phy1 >; */
/* Vitesse 7385 isn't on the MDIO bus */
fixed-link = <1 1 1000 0 0>;
/* sleep = <&pmc 0x30000000>; */
fsl,magic-packet;
fsl,lossless-flow-ctrl = <0>;
ptimer-handle = < &ptp_timer >;
phy-connection-type = "rgmii-id";
};
変更されたデバイスツリー:
enet0: ethernet@24000 {
cell-index = <0>;
device_type = "network";
model = "eTSEC";
compatible = "gianfar";
reg = <0x24000 0x1000>;
local-mac-address = [ 00 00 00 00 00 00 ];
interrupts = <32 0x8 33 0x8 34 0x8>;
interrupt-parent = <&ipic>;
fixed-link = <2 1 100 0 0>;
/* sleep = <&pmc 0xc0000000>; */
fsl,magic-packet;
fsl,lossless-flow-ctrl = <0>;
ptimer-handle = < &ptp_timer >;
phy-connection-type = "mii";
};
enet1: ethernet@25000 {
cell-index = <1>;
device_type = "network";
model = "eTSEC";
compatible = "gianfar";
reg = <0x25000 0x1000>;
local-mac-address = [ 00 00 00 00 00 00 ];
interrupts = <35 0x8 36 0x8 37 0x8>;
interrupt-parent = <&ipic>;
fixed-link = <1 1 100 0 0>;
/* sleep = <&pmc 0x30000000>; */
fsl,magic-packet;
fsl,lossless-flow-ctrl = <0>;
ptimer-handle = < &ptp_timer >;
phy-connection-type = "mii";
};
リファレンスボードでは、1つのeTSECがphyに接続され、もう1つのeTSECがギガビットイーサネットスイッチに接続されます。