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 label = "green:speed_wan1";
18 gpios = <&gpio2 0 GPIO_ACTIVE_HIGH>;
19 color = <LED_COLOR_ID_GREEN>;
20 linux,default-trigger = "f1072004.mdio-mii:00:1Gbps";
24 label = "green:speed_wan2";
25 gpios = <&gpio2 1 GPIO_ACTIVE_HIGH>;
26 color = <LED_COLOR_ID_GREEN>;
27 linux,default-trigger = "f1072004.mdio-mii:01:1Gbps";
31 label = "amber:speed_lan5";
32 gpios = <&gpio2 2 GPIO_ACTIVE_HIGH>;
33 color = <LED_COLOR_ID_AMBER>;
34 linux,default-trigger = "mv88e6xxx-1:00:100Mbps";
38 label = "green:speed_lan5";
39 gpios = <&gpio2 3 GPIO_ACTIVE_HIGH>;
40 color = <LED_COLOR_ID_GREEN>;
41 linux,default-trigger = "mv88e6xxx-1:00:1Gbps";
46 pmx_phy_switch_pins: phy-switch-pins {
47 marvell,pins = "mpp19", "mpp20", "mpp23", "mpp34", "mpp41";
48 marvell,function = "gpio";
55 phy-handle = <ðphy0>;
56 phy-connection-type = "sgmii";
57 buffer-manager = <&bm>;
59 nvmem-cells = <&macaddr_bdinfo_d880 1>;
60 nvmem-cell-names = "mac-address";
66 phy-handle = <ðphy1>;
67 phy-connection-type = "sgmii";
68 buffer-manager = <&bm>;
70 nvmem-cells = <&macaddr_bdinfo_d880 2>;
71 nvmem-cell-names = "mac-address";
75 pinctrl-names = "default";
76 pinctrl-0 = <&mdio_pins>, <&pmx_phy_switch_pins>;
79 ethphy0: ethernet-phy@0 {
80 compatible = "ethernet-phy-id0141,0dd1",
81 "ethernet-phy-ieee802.3-c22";
83 interrupt-parent = <&gpio0>;
84 interrupts = <20 IRQ_TYPE_LEVEL_LOW>;
85 reset-gpios = <&gpio0 23 GPIO_ACTIVE_LOW>;
86 reset-assert-us = <10000>;
87 reset-deassert-us = <10000>;
89 * LINK/ACT (Green): LED[0], Active Low
90 * SPEED 100M (Amber): LED[1], Active High
92 marvell,reg-init = <3 16 0 0x71>,
97 ethphy1: ethernet-phy@1 {
98 compatible = "ethernet-phy-id0141,0dd1",
99 "ethernet-phy-ieee802.3-c22";
101 interrupt-parent = <&gpio1>;
102 interrupts = <9 IRQ_TYPE_LEVEL_LOW>;
103 reset-gpios = <&gpio1 2 GPIO_ACTIVE_LOW>;
104 reset-assert-us = <10000>;
105 reset-deassert-us = <10000>;
107 * LINK/ACT (Green): LED[0], Active Low
108 * SPEED 100M (Amber): LED[1], Active High
110 marvell,reg-init = <3 16 0 0x71>,
114 /* Marvell 88E6176 */
116 compatible = "marvell,mv88e6085";
118 reset-gpios = <&gpio0 19 GPIO_ACTIVE_LOW>;
121 #address-cells = <1>;
127 nvmem-cells = <&macaddr_bdinfo_d880 7>;
128 nvmem-cell-names = "mac-address";
134 nvmem-cells = <&macaddr_bdinfo_d880 6>;
135 nvmem-cell-names = "mac-address";
141 nvmem-cells = <&macaddr_bdinfo_d880 5>;
142 nvmem-cell-names = "mac-address";
148 nvmem-cells = <&macaddr_bdinfo_d880 4>;
149 nvmem-cell-names = "mac-address";
155 nvmem-cells = <&macaddr_bdinfo_d880 3>;
156 nvmem-cell-names = "mac-address";
162 phy-connection-type = "rgmii-id";