c0900d7126d7ce324223fab6b66c27ec1fd1d7d1
[openwrt/staging/pepe2k.git] / target / linux / mvebu / files-6.1 / arch / arm / boot / dts / armada-385-fortinet-fg-30e.dts
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2
3 #include "armada-385-fortinet-fg-x0e.dtsi"
4
5 / {
6 model = "Fortinet FortiGate 30E";
7 compatible = "fortinet,fg-30e", "marvell,armada385", "marvell,armada380";
8
9 memory@0 {
10 device_type = "memory";
11 reg = <0x00000000 0x40000000>; /* 1GB */
12 };
13 };
14
15 &gpio_leds {
16 led-14 {
17 gpios = <&gpio2 2 GPIO_ACTIVE_HIGH>;
18 color = <LED_COLOR_ID_AMBER>;
19 linux,default-trigger = "mv88e6xxx-1:00:100Mbps";
20 };
21
22 led-15 {
23 gpios = <&gpio2 3 GPIO_ACTIVE_HIGH>;
24 color = <LED_COLOR_ID_GREEN>;
25 linux,default-trigger = "mv88e6xxx-1:00:1Gbps";
26 };
27 };
28
29 &pinctrl {
30 pmx_switch_pins: switch-pins {
31 marvell,pins = "mpp19";
32 marvell,function = "gpio";
33 };
34 };
35
36 &mdio {
37 pinctrl-names = "default";
38 pinctrl-0 = <&mdio_pins>, <&pmx_switch_pins>;
39
40 /* Marvell 88E6176 */
41 switch@2 {
42 compatible = "marvell,mv88e6085";
43 reg = <0x2>;
44 reset-gpios = <&gpio0 19 GPIO_ACTIVE_LOW>;
45
46 ports {
47 #address-cells = <1>;
48 #size-cells = <0>;
49
50 port@0 {
51 reg = <0>;
52 label = "wan";
53 nvmem-cells = <&macaddr_bdinfo_d880 1>;
54 nvmem-cell-names = "mac-address";
55 };
56
57 port@1 {
58 reg = <1>;
59 label = "lan4";
60 nvmem-cells = <&macaddr_bdinfo_d880 5>;
61 nvmem-cell-names = "mac-address";
62 };
63
64 port@2 {
65 reg = <2>;
66 label = "lan3";
67 nvmem-cells = <&macaddr_bdinfo_d880 4>;
68 nvmem-cell-names = "mac-address";
69 };
70
71 port@3 {
72 reg = <3>;
73 label = "lan2";
74 nvmem-cells = <&macaddr_bdinfo_d880 3>;
75 nvmem-cell-names = "mac-address";
76 };
77
78 port@4 {
79 reg = <4>;
80 label = "lan1";
81 nvmem-cells = <&macaddr_bdinfo_d880 2>;
82 nvmem-cell-names = "mac-address";
83 };
84
85 port@6 {
86 reg = <6>;
87 ethernet = <&eth0>;
88 phy-connection-type = "rgmii-id";
89
90 fixed-link {
91 speed = <1000>;
92 full-duplex;
93 };
94 };
95 };
96 };
97 };