change setting in MPC8308

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

change setting in MPC8308

439 Views
mohsenhaghighat
Contributor III

Hi,
We want to change the vitesse switch on mpc8308erdb with a ks8999 switch.
And connect eTSEC0 and eTSEC1 to two separate ks8999 switches.
I want to know what files i should change in order for linux to work in this new condition.
This switches are fast ethernet switches and connect to board with mii interfaces.
(there is no mdio interface in them)
we changed device tree like this and checked switch functionality by checking its other ports
but networking is not working.

changed device tree:
        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 Reply

299 Views
Pavel
NXP Employee
NXP Employee

It looks like that your dts configuration is correct.

Is there problem for using of these switches under u-boot?

Look at also the following page:

https://community.nxp.com/thread/309442 


Have a great day,
Pavel Chubakov

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