1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 #include "armada-385-fortinet-fg-x0e.dtsi"
6 model = "Fortinet FortiGate 50E";
7 compatible = "fortinet,fg-50e", "marvell,armada385", "marvell,armada380";
10 device_type = "memory";
11 reg = <0x00000000 0x80000000>; /* 2GB */
17 gpios = <&gpio2 0 GPIO_ACTIVE_HIGH>;
18 color = <LED_COLOR_ID_GREEN>;
19 function = LED_FUNCTION_SPEED_WAN;
20 function-enumerator = <1>;
21 linux,default-trigger = "f1072004.mdio-mii:00:1Gbps";
25 gpios = <&gpio2 1 GPIO_ACTIVE_HIGH>;
26 color = <LED_COLOR_ID_GREEN>;
27 function = LED_FUNCTION_SPEED_WAN;
28 function-enumerator = <2>;
29 linux,default-trigger = "f1072004.mdio-mii:01:1Gbps";
33 gpios = <&gpio2 2 GPIO_ACTIVE_HIGH>;
34 color = <LED_COLOR_ID_AMBER>;
35 function = LED_FUNCTION_SPEED_LAN;
36 function-enumerator = <5>;
37 linux,default-trigger = "mv88e6xxx-1:00:100Mbps";
41 gpios = <&gpio2 3 GPIO_ACTIVE_HIGH>;
42 color = <LED_COLOR_ID_GREEN>;
43 function = LED_FUNCTION_SPEED_LAN;
44 function-enumerator = <5>;
45 linux,default-trigger = "mv88e6xxx-1:00:1Gbps";
50 pmx_phy_switch_pins: phy-switch-pins {
51 marvell,pins = "mpp19", "mpp20", "mpp23", "mpp34", "mpp41";
52 marvell,function = "gpio";
59 phy-handle = <ðphy0>;
60 phy-connection-type = "sgmii";
61 buffer-manager = <&bm>;
63 nvmem-cells = <&macaddr_bdinfo_d880 1>;
64 nvmem-cell-names = "mac-address";
70 phy-handle = <ðphy1>;
71 phy-connection-type = "sgmii";
72 buffer-manager = <&bm>;
74 nvmem-cells = <&macaddr_bdinfo_d880 2>;
75 nvmem-cell-names = "mac-address";
79 pinctrl-names = "default";
80 pinctrl-0 = <&mdio_pins>, <&pmx_phy_switch_pins>;
83 ethphy0: ethernet-phy@0 {
84 compatible = "ethernet-phy-id0141,0dd1",
85 "ethernet-phy-ieee802.3-c22";
87 interrupt-parent = <&gpio0>;
88 interrupts = <20 IRQ_TYPE_LEVEL_LOW>;
89 reset-gpios = <&gpio0 23 GPIO_ACTIVE_LOW>;
90 reset-assert-us = <10000>;
91 reset-deassert-us = <10000>;
93 * LINK/ACT (Green): LED[0], Active Low
94 * SPEED 100M (Amber): LED[1], Active High
96 marvell,reg-init = <3 16 0 0x71>,
100 /* Marvell 88E1512 */
101 ethphy1: ethernet-phy@1 {
102 compatible = "ethernet-phy-id0141,0dd1",
103 "ethernet-phy-ieee802.3-c22";
105 interrupt-parent = <&gpio1>;
106 interrupts = <9 IRQ_TYPE_LEVEL_LOW>;
107 reset-gpios = <&gpio1 2 GPIO_ACTIVE_LOW>;
108 reset-assert-us = <10000>;
109 reset-deassert-us = <10000>;
111 * LINK/ACT (Green): LED[0], Active Low
112 * SPEED 100M (Amber): LED[1], Active High
114 marvell,reg-init = <3 16 0 0x71>,
118 /* Marvell 88E6176 */
120 compatible = "marvell,mv88e6085";
122 reset-gpios = <&gpio0 19 GPIO_ACTIVE_LOW>;
125 #address-cells = <1>;
131 nvmem-cells = <&macaddr_bdinfo_d880 7>;
132 nvmem-cell-names = "mac-address";
138 nvmem-cells = <&macaddr_bdinfo_d880 6>;
139 nvmem-cell-names = "mac-address";
145 nvmem-cells = <&macaddr_bdinfo_d880 5>;
146 nvmem-cell-names = "mac-address";
152 nvmem-cells = <&macaddr_bdinfo_d880 4>;
153 nvmem-cell-names = "mac-address";
159 nvmem-cells = <&macaddr_bdinfo_d880 3>;
160 nvmem-cell-names = "mac-address";
166 phy-connection-type = "rgmii-id";