1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 2 2 3 #include "armada-385-clearfog-gtr.dtsi" 3 #include "armada-385-clearfog-gtr.dtsi" 4 4 5 / { 5 / { 6 model = "SolidRun Clearfog GTR S4"; 6 model = "SolidRun Clearfog GTR S4"; 7 compatible = "solidrun,clearfog-gtr-s4 << 8 "marvell,armada380"; << 9 }; 7 }; 10 8 11 &sfp0 { 9 &sfp0 { 12 tx-fault-gpio = <&gpio0 24 GPIO_ACTIVE 10 tx-fault-gpio = <&gpio0 24 GPIO_ACTIVE_HIGH>; 13 }; 11 }; 14 12 15 &mdio { 13 &mdio { 16 switch0: ethernet-switch@4 { !! 14 switch0: switch0@4 { 17 compatible = "marvell,mv88e608 15 compatible = "marvell,mv88e6085"; 18 reg = <4>; 16 reg = <4>; 19 pinctrl-names = "default"; 17 pinctrl-names = "default"; 20 pinctrl-0 = <&cf_gtr_switch_re 18 pinctrl-0 = <&cf_gtr_switch_reset_pins>; 21 reset-gpios = <&gpio0 18 GPIO_ 19 reset-gpios = <&gpio0 18 GPIO_ACTIVE_LOW>; 22 20 23 ethernet-ports { !! 21 ports { 24 #address-cells = <1>; 22 #address-cells = <1>; 25 #size-cells = <0>; 23 #size-cells = <0>; 26 24 27 ethernet-port@1 { !! 25 port@1 { 28 reg = <1>; 26 reg = <1>; 29 label = "lan2" 27 label = "lan2"; 30 phy-handle = < 28 phy-handle = <&switch0phy0>; 31 }; 29 }; 32 30 33 ethernet-port@2 { !! 31 port@2 { 34 reg = <2>; 32 reg = <2>; 35 label = "lan1" 33 label = "lan1"; 36 phy-handle = < 34 phy-handle = <&switch0phy1>; 37 }; 35 }; 38 36 39 ethernet-port@3 { !! 37 port@3 { 40 reg = <3>; 38 reg = <3>; 41 label = "lan4" 39 label = "lan4"; 42 phy-handle = < 40 phy-handle = <&switch0phy2>; 43 }; 41 }; 44 42 45 ethernet-port@4 { !! 43 port@4 { 46 reg = <4>; 44 reg = <4>; 47 label = "lan3" 45 label = "lan3"; 48 phy-handle = < 46 phy-handle = <&switch0phy3>; 49 }; 47 }; 50 48 51 ethernet-port@5 { !! 49 port@5 { 52 reg = <5>; 50 reg = <5>; 53 phy-mode = "25 51 phy-mode = "2500base-x"; 54 ethernet = <&e 52 ethernet = <ð1>; 55 53 56 fixed-link { 54 fixed-link { 57 speed 55 speed = <2500>; 58 full-d 56 full-duplex; 59 }; 57 }; 60 }; 58 }; 61 59 62 }; 60 }; 63 61 64 mdio { 62 mdio { 65 #address-cells = <1>; 63 #address-cells = <1>; 66 #size-cells = <0>; 64 #size-cells = <0>; 67 65 68 switch0phy0: ethernet- !! 66 switch0phy0: switch0phy0@11 { 69 reg = <0x11>; 67 reg = <0x11>; 70 }; 68 }; 71 69 72 switch0phy1: ethernet- !! 70 switch0phy1: switch0phy1@12 { 73 reg = <0x12>; 71 reg = <0x12>; 74 }; 72 }; 75 73 76 switch0phy2: ethernet- !! 74 switch0phy2: switch0phy2@13 { 77 reg = <0x13>; 75 reg = <0x13>; 78 }; 76 }; 79 77 80 switch0phy3: ethernet- !! 78 switch0phy3: switch0phy3@14 { 81 reg = <0x14>; 79 reg = <0x14>; 82 }; 80 }; 83 }; 81 }; 84 82 85 }; 83 }; 86 }; 84 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.