1 // SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0-or-later
3 * WatchGuard Firebox M300 Device Tree Source
4 * Based on t2081qds.dts from Linux 5.10
6 * Copyright 2013 - 2015 Freescale Semiconductor Inc.
7 * Copyright 2020 - 2021 Stijn Tintel <stijn@linux-ipv6.be>
10 /include/ "t208xsi-pre.dtsi"
11 /include/ "t208xqds.dtsi"
14 model = "WatchGuard Firebox M300";
15 compatible = "watchguard,firebox-m300", "fsl,T2081QDS";
17 interrupt-parent = <&mpic>;
20 /delete-property/ ethernet0;
21 /delete-property/ ethernet1;
22 /delete-property/ ethernet2;
23 /delete-property/ ethernet3;
24 /delete-property/ ethernet4;
25 /delete-property/ ethernet5;
26 /delete-property/ ethernet6;
27 /delete-property/ ethernet7;
38 // Include first to make this the first interface
39 /include/ "qoriq-fman3-0-10g-1.dtsi"
42 // mdio-mux under &boardctrl + its aliases removed. causes crash:
43 // Oops: Machine check, sig: 7 [#1]
45 /include/ "t2081si-post.dtsi"
47 // add stuff below the include to make sure we override whatever is there
50 phy-connection-type = "sgmii";
55 phy-connection-type = "sgmii";
60 phy-connection-type = "rgmii";
69 phy-connection-type = "rgmii";
90 phy-connection-type = "sgmii";
95 ranges = <0x00 0x00 0x0f 0xefc00000 0x400000>;
98 reg = <0x00 0x00 0x400000>;
107 reg = <0x10000 0x20000>;
113 reg = <0x30000 0x10000>;
119 reg = <0x40000 0x10000>;
120 label = "wg_mfg_data";
125 reg = <0x50000 0xb0000>;
126 label = "wg_bootopt_data_and_reserved";
131 reg = <0x100000 0xb0000>;
132 label = "wg_extra_reserved_1";
137 reg = <0x1b0000 0xb0000>;
138 label = "wg_extra_reserved_2";
143 reg = <0x260000 0xc0000>;
144 label = "wg_u-boot_failsafe";
149 reg = <0x320000 0x10000>;
150 label = "qoriq-fman";
155 reg = <0x330000 0x10000>;
156 label = "u-boot-env";
160 reg = <0x340000 0xc0000>;
172 // m300 ethernet port 0
173 phy0: ethernet-phy@0 {
177 // m300 ethernet port 1
178 phy1: ethernet-phy@1 {
182 phy2: ethernet-phy@2 {
186 phy3: ethernet-phy@3 {
191 compatible = "marvell,mv88e6085";
195 #address-cells = <1>;
198 switch0phy0: switch0phy0@0 {
200 interrupt-parent = <&switch0>;
203 switch0phy1: switch0phy1@1 {
205 interrupt-parent = <&switch0>;
208 switch0phy2: switch0phy2@2 {
210 interrupt-parent = <&switch0>;
213 switch0phy3: switch0phy3@3 {
215 interrupt-parent = <&switch0>;
218 switch0phy4: switch0phy4@4 {
220 interrupt-parent = <&switch0>;
225 #address-cells = <1>;
231 phy-handle = <&switch0phy0>;
237 phy-handle = <&switch0phy1>;
243 phy-handle = <&switch0phy2>;
249 phy-handle = <&switch0phy3>;
255 phy-handle = <&switch0phy4>;
258 // OEM bootlog suggests multiple ports are attached to switch
259 // Keep this until OEM supplies GPL sources
266 phy-mode = "rgmii-id";
278 phy-mode = "rgmii-id";
292 compatible = "tpm,tpm_i2c_atmel";
296 compatible = "winbond,w83793";
300 compatible = "winbond,w83793";
304 compatible = "ricoh,rs5c372a";
313 // DTS decompiled from OEM DTB contains flash@0 but doesn't work
314 // spi-nor spi0.0: unrecognized JEDEC id bytes: ff ff ff ff ff ff