|
1 | 1 | // SPDX-License-Identifier: GPL-2.0-or-later or MIT |
2 | 2 |
|
3 | | -#include <dt-bindings/input/input.h> |
4 | | -#include <dt-bindings/leds/common.h> |
5 | | -#include <dt-bindings/gpio/gpio.h> |
6 | | - |
7 | 3 | /include/ "fsl/p1010si-pre.dtsi" |
| 4 | +#include "firebox-t1x.dtsi" |
8 | 5 |
|
9 | 6 | / { |
10 | 7 | model = "Watchguard Firebox T10"; |
11 | 8 | compatible = "watchguard,firebox-t10"; |
12 | 9 |
|
13 | | - chosen { |
14 | | - bootargs = "console=ttyS0,115200"; |
15 | | - bootargs-override = "console=ttyS0,115200"; |
16 | | - }; |
17 | | - |
18 | | - aliases { |
19 | | - spi0 = &spi0; |
20 | | - led-boot = &led_mode; |
21 | | - led-failsafe = &led_failover; |
22 | | - led-running = &led_mode; |
23 | | - led-upgrade = &led_attention; |
24 | | - /delete-property/ ethernet0; |
25 | | - /delete-property/ ethernet1; |
26 | | - /delete-property/ ethernet2; |
27 | | - }; |
28 | | - |
29 | | - memory { |
30 | | - device_type = "memory"; |
31 | | - }; |
32 | | - |
33 | | - leds { |
34 | | - compatible = "gpio-leds"; |
35 | | - |
36 | | - led_attention: attention_orange { |
37 | | - gpios = <&gpio0 2 GPIO_ACTIVE_LOW>; |
38 | | - label = "orange:attention"; |
39 | | - }; |
40 | | - |
41 | | - status_red { |
42 | | - gpios = <&gpio0 3 GPIO_ACTIVE_LOW>; |
43 | | - function = LED_FUNCTION_STATUS; |
44 | | - color = <LED_COLOR_ID_RED>; |
45 | | - }; |
46 | | - |
47 | | - led_mode: mode_green { |
48 | | - gpios = <&gpio0 4 GPIO_ACTIVE_LOW>; |
49 | | - label = "green:mode"; |
50 | | - }; |
51 | | - |
52 | | - led_failover: failover_green { |
53 | | - gpios = <&gpio0 5 GPIO_ACTIVE_LOW>; |
54 | | - label = "green:failover"; |
55 | | - }; |
56 | | - }; |
57 | | - |
58 | | - buttons { |
59 | | - compatible = "gpio-keys"; |
60 | | - |
61 | | - reset { |
62 | | - label = "Reset button"; |
63 | | - gpios = <&gpio0 10 GPIO_ACTIVE_LOW>; |
64 | | - linux,code = <KEY_RESTART>; |
65 | | - }; |
66 | | - }; |
67 | | - |
68 | | - |
69 | | - soc: soc@ffe00000 { |
70 | | - ranges = <0x0 0x0 0xffe00000 0x100000>; |
71 | | - |
72 | | - i2c@3000 { |
73 | | - rtc@30 { |
74 | | - compatible = "sii,s35390a"; |
75 | | - reg = <0x30>; |
76 | | - }; |
77 | | - }; |
78 | | - |
79 | | - spi0: spi@7000 { |
80 | | - flash@0 { |
81 | | - compatible = "jedec,spi-nor"; |
82 | | - reg = <0>; |
83 | | - spi-max-frequency = <25000000>; |
84 | | - |
85 | | - partitions { |
86 | | - compatible = "fixed-partitions"; |
87 | | - #address-cells = <1>; |
88 | | - #size-cells = <1>; |
89 | | - |
90 | | - uboot: partition@0 { |
91 | | - reg = <0x0 0x90000>; |
92 | | - label = "u-boot"; |
93 | | - read-only; |
94 | | - }; |
95 | | - |
96 | | - partition@90000 { |
97 | | - reg = <0x90000 0x10000>; |
98 | | - label = "u-boot-env"; |
99 | | - }; |
100 | | - |
101 | | - partition@a0000 { |
102 | | - reg = <0xa0000 0x20000>; |
103 | | - label = "cfgxxx"; |
104 | | - read-only; |
105 | | - }; |
106 | | - |
107 | | - partition@c0000 { |
108 | | - reg = <0xc0000 0x40000>; |
109 | | - label = "device_id"; |
110 | | - read-only; |
111 | | - |
112 | | - nvmem-layout { |
113 | | - compatible = "fixed-layout"; |
114 | | - #address-cells = <1>; |
115 | | - #size-cells = <1>; |
116 | | - |
117 | | - macaddr_device_id_1830: mac-address@1830 { |
118 | | - compatible = "mac-base"; |
119 | | - reg = <0x1830 0x11>; |
120 | | - #nvmem-cell-cells = <1>; |
121 | | - }; |
122 | | - |
123 | | - macaddr_device_id_1844: mac-address@1844 { |
124 | | - compatible = "mac-base"; |
125 | | - reg = <0x1844 0x11>; |
126 | | - #nvmem-cell-cells = <1>; |
127 | | - }; |
128 | | - |
129 | | - macaddr_device_id_1858: mac-address@1858 { |
130 | | - compatible = "mac-base"; |
131 | | - reg = <0x1858 0x11>; |
132 | | - #nvmem-cell-cells = <1>; |
133 | | - }; |
134 | | - }; |
135 | | - }; |
136 | | - }; |
137 | | - }; |
138 | | - }; |
139 | | - |
140 | | - gpio0: gpio-controller@fc00 { |
141 | | - }; |
142 | | - |
143 | | - usb@22000 { |
144 | | - phy_type = "utmi"; |
145 | | - dr_mode = "host"; |
146 | | - }; |
147 | | - |
148 | | - mdio@24000 { |
149 | | - phy1: ethernet-phy@1 { |
150 | | - reg = <0x1>; |
151 | | - }; |
152 | | - |
153 | | - phy2: ethernet-phy@2 { |
154 | | - reg = <0x2>; |
155 | | - }; |
156 | | - |
157 | | - phy3: ethernet-phy@3 { |
158 | | - reg = <0x3>; |
159 | | - }; |
160 | | - }; |
161 | | - |
162 | | - mdio@25000 { |
163 | | - tbi_phy1: tbi-phy@11 { |
164 | | - reg = <0x11>; |
165 | | - device_type = "tbi-phy"; |
166 | | - }; |
167 | | - }; |
168 | | - |
169 | | - mdio@26000 { |
170 | | - tbi_phy2: tbi-phy@11 { |
171 | | - reg = <0x11>; |
172 | | - device_type = "tbi-phy"; |
173 | | - }; |
174 | | - }; |
175 | | - |
176 | | - enet0: ethernet@b0000 { |
177 | | - phy-handle = <&phy1>; |
178 | | - phy-connection-type = "rgmii-id"; |
179 | | - |
180 | | - nvmem-cells = <&macaddr_device_id_1830 0>; |
181 | | - nvmem-cell-names = "mac-address"; |
182 | | - }; |
183 | | - |
184 | | - enet1: ethernet@b1000 { |
185 | | - tbi-handle = <&tbi_phy1>; |
186 | | - phy-handle = <&phy2>; |
187 | | - phy-connection-type = "sgmii"; |
188 | | - |
189 | | - nvmem-cells = <&macaddr_device_id_1844 0>; |
190 | | - nvmem-cell-names = "mac-address"; |
191 | | - }; |
192 | | - |
193 | | - enet2: ethernet@b2000 { |
194 | | - tbi-handle = <&tbi_phy2>; |
195 | | - phy-handle = <&phy3>; |
196 | | - phy-connection-type = "sgmii"; |
197 | | - |
198 | | - nvmem-cells = <&macaddr_device_id_1858 0>; |
199 | | - nvmem-cell-names = "mac-address"; |
200 | | - }; |
201 | | - |
202 | | - sdhc@2e000 { |
203 | | - status = "disabled"; |
204 | | - }; |
205 | | - |
206 | | - serial1: serial@4600 { |
207 | | - status = "disabled"; |
208 | | - }; |
209 | | - |
210 | | - can0: can@1c000 { |
211 | | - status = "disabled"; |
212 | | - }; |
213 | | - |
214 | | - can1: can@1d000 { |
215 | | - status = "disabled"; |
216 | | - }; |
217 | | - }; |
218 | | - |
219 | | - pci0: pcie@ffe09000 { |
220 | | - status = "disabled"; |
221 | | - }; |
222 | | - |
223 | | - pci1: pcie@ffe0a000 { |
224 | | - status = "disabled"; |
225 | | - }; |
226 | | - |
227 | 10 | ifc: ifc@ffe1e000 { |
228 | 11 | reg = <0x0 0xffe1e000 0 0x2000>; |
229 | 12 |
|
|
0 commit comments