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>;
60 nvmem-cell-names = "mac-address";
61 mac-address-increment = <1>;
67 phy-handle = <ðphy1>;
68 phy-connection-type = "sgmii";
69 buffer-manager = <&bm>;
71 nvmem-cells = <&macaddr_bdinfo_d880>;
72 nvmem-cell-names = "mac-address";
73 mac-address-increment = <2>;
77 pinctrl-names = "default";
78 pinctrl-0 = <&mdio_pins>, <&pmx_phy_switch_pins>;
81 ethphy0: ethernet-phy@0 {
82 compatible = "ethernet-phy-id0141,0dd1",
83 "ethernet-phy-ieee802.3-c22";
85 interrupt-parent = <&gpio0>;
86 interrupts = <20 IRQ_TYPE_LEVEL_LOW>;
87 reset-gpios = <&gpio0 23 GPIO_ACTIVE_LOW>;
88 reset-assert-us = <10000>;
89 reset-deassert-us = <10000>;
91 * LINK/ACT (Green): LED[0], Active Low
92 * SPEED 100M (Amber): LED[1], Active High
94 marvell,reg-init = <3 16 0 0x71>,
99 ethphy1: ethernet-phy@1 {
100 compatible = "ethernet-phy-id0141,0dd1",
101 "ethernet-phy-ieee802.3-c22";
103 interrupt-parent = <&gpio1>;
104 interrupts = <9 IRQ_TYPE_LEVEL_LOW>;
105 reset-gpios = <&gpio1 2 GPIO_ACTIVE_LOW>;
106 reset-assert-us = <10000>;
107 reset-deassert-us = <10000>;
109 * LINK/ACT (Green): LED[0], Active Low
110 * SPEED 100M (Amber): LED[1], Active High
112 marvell,reg-init = <3 16 0 0x71>,
116 /* Marvell 88E6176 */
118 compatible = "marvell,mv88e6085";
120 reset-gpios = <&gpio0 19 GPIO_ACTIVE_LOW>;
123 #address-cells = <1>;
129 nvmem-cells = <&macaddr_bdinfo_d880>;
130 nvmem-cell-names = "mac-address";
131 mac-address-increment = <7>;
137 nvmem-cells = <&macaddr_bdinfo_d880>;
138 nvmem-cell-names = "mac-address";
139 mac-address-increment = <6>;
145 nvmem-cells = <&macaddr_bdinfo_d880>;
146 nvmem-cell-names = "mac-address";
147 mac-address-increment = <5>;
153 nvmem-cells = <&macaddr_bdinfo_d880>;
154 nvmem-cell-names = "mac-address";
155 mac-address-increment = <4>;
161 nvmem-cells = <&macaddr_bdinfo_d880>;
162 nvmem-cell-names = "mac-address";
163 mac-address-increment = <3>;
169 phy-connection-type = "rgmii-id";