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 linux,default-trigger = "f1072004.mdio-mii:00:1Gbps";
23 gpios = <&gpio2 1 GPIO_ACTIVE_HIGH>;
24 color = <LED_COLOR_ID_GREEN>;
25 linux,default-trigger = "f1072004.mdio-mii:01:1Gbps";
29 gpios = <&gpio2 2 GPIO_ACTIVE_HIGH>;
30 color = <LED_COLOR_ID_AMBER>;
31 linux,default-trigger = "mv88e6xxx-1:00:100Mbps";
35 gpios = <&gpio2 3 GPIO_ACTIVE_HIGH>;
36 color = <LED_COLOR_ID_GREEN>;
37 linux,default-trigger = "mv88e6xxx-1:00:1Gbps";
42 pmx_phy_switch_pins: phy-switch-pins {
43 marvell,pins = "mpp19", "mpp20", "mpp23", "mpp34", "mpp41";
44 marvell,function = "gpio";
51 phy-handle = <ðphy0>;
52 phy-connection-type = "sgmii";
53 buffer-manager = <&bm>;
55 nvmem-cells = <&macaddr_bdinfo_d880 1>;
56 nvmem-cell-names = "mac-address";
62 phy-handle = <ðphy1>;
63 phy-connection-type = "sgmii";
64 buffer-manager = <&bm>;
66 nvmem-cells = <&macaddr_bdinfo_d880 2>;
67 nvmem-cell-names = "mac-address";
71 pinctrl-names = "default";
72 pinctrl-0 = <&mdio_pins>, <&pmx_phy_switch_pins>;
75 ethphy0: ethernet-phy@0 {
76 compatible = "ethernet-phy-id0141,0dd1",
77 "ethernet-phy-ieee802.3-c22";
79 interrupt-parent = <&gpio0>;
80 interrupts = <20 IRQ_TYPE_LEVEL_LOW>;
81 reset-gpios = <&gpio0 23 GPIO_ACTIVE_LOW>;
82 reset-assert-us = <10000>;
83 reset-deassert-us = <10000>;
85 * LINK/ACT (Green): LED[0], Active Low
86 * SPEED 100M (Amber): LED[1], Active High
88 marvell,reg-init = <3 16 0 0x71>,
93 ethphy1: ethernet-phy@1 {
94 compatible = "ethernet-phy-id0141,0dd1",
95 "ethernet-phy-ieee802.3-c22";
97 interrupt-parent = <&gpio1>;
98 interrupts = <9 IRQ_TYPE_LEVEL_LOW>;
99 reset-gpios = <&gpio1 2 GPIO_ACTIVE_LOW>;
100 reset-assert-us = <10000>;
101 reset-deassert-us = <10000>;
103 * LINK/ACT (Green): LED[0], Active Low
104 * SPEED 100M (Amber): LED[1], Active High
106 marvell,reg-init = <3 16 0 0x71>,
110 /* Marvell 88E6176 */
112 compatible = "marvell,mv88e6085";
114 reset-gpios = <&gpio0 19 GPIO_ACTIVE_LOW>;
117 #address-cells = <1>;
123 nvmem-cells = <&macaddr_bdinfo_d880 7>;
124 nvmem-cell-names = "mac-address";
130 nvmem-cells = <&macaddr_bdinfo_d880 6>;
131 nvmem-cell-names = "mac-address";
137 nvmem-cells = <&macaddr_bdinfo_d880 5>;
138 nvmem-cell-names = "mac-address";
144 nvmem-cells = <&macaddr_bdinfo_d880 4>;
145 nvmem-cell-names = "mac-address";
151 nvmem-cells = <&macaddr_bdinfo_d880 3>;
152 nvmem-cell-names = "mac-address";
158 phy-connection-type = "rgmii-id";