macb0: ethernet@f0028000 { phy-mode = "rgmii-txid"; #address-cells = <1>; #size-cells = <0>; status = "okay"; fixed-link { speed = <1000>; full-duplex; pause; }; }; i2c0: i2c@f0014000 { pinctrl-0 = <&pinctrl_i2c0_pu>; status = "okay"; i2c_ksz9477: ksz9477@5f { compatible = "microchip,ksz9477"; reg = <0x5f>; interrupt-parent = <&pioB>; interrupts = <28 IRQ_TYPE_LEVEL_LOW>; status = "okay"; ports { #address-cells = <1>; #size-cells = <0>; port@0 { reg = <0>; label = "lan1"; }; port@1 { reg = <1>; label = "lan2"; }; port@2 { reg = <2>; label = "lan3"; }; port@3 { reg = <3>; label = "lan4"; }; port@4 { reg = <4>; label = "lan5"; }; port@5 { reg = <5>; label = "cpu"; ethernet = <&macb0>; phy-mode = "rgmii-txid"; fixed-link { speed = <1000>; full-duplex; pause; }; }; port@6 { reg = <6>; label = "lan6"; mode = <1>; }; }; }; }; spi1: spi@f8008000 { cs-gpios = <&pioC 25 GPIO_ACTIVE_LOW>, <0>, <0>, <&pioC 28 GPIO_ACTIVE_LOW>; status = "okay"; id = <1>; ksz9477: ksz9477@0 { compatible = "microchip,ksz9477"; reg = <0>; /* Bus clock is 132 MHz. */ spi-max-frequency = <44000000>; spi-cpha; spi-cpol; interrupt-parent = <&pioB>; interrupts = <28 IRQ_TYPE_LEVEL_LOW>; status = "okay"; ports { #address-cells = <1>; #size-cells = <0>; port@0 { reg = <0>; label = "lan1"; }; port@1 { reg = <1>; label = "lan2"; }; port@2 { reg = <2>; label = "lan3"; }; port@3 { reg = <3>; label = "lan4"; }; port@4 { reg = <4>; label = "lan5"; }; port@5 { reg = <5>; label = "cpu"; ethernet = <&macb0>; phy-mode = "rgmii-txid"; fixed-link { speed = <1000>; full-duplex; pause; }; }; port@6 { reg = <6>; label = "lan6"; }; }; }; };