2 * Device Tree Include file for Traverse LS1043S board.
4 * Copyright 2014-2015, Freescale Semiconductor
5 * Copyright 2017-2018, Traverse Technologies
7 * This file is dual-licensed: you can use it either under the terms
8 * of the GPLv2 or the X11 license, at your option. Note that this dual
9 * licensing only applies to this file, and not this project as a
12 * a) This library is free software; you can redistribute it and/or
13 * modify it under the terms of the GNU General Public License as
14 * published by the Free Software Foundation; either version 2 of the
15 * License, or (at your option) any later version.
17 * This library is distributed in the hope that it will be useful,
18 * but WITHOUT ANY WARRANTY; without even the implied warranty of
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 * GNU General Public License for more details.
24 * b) Permission is hereby granted, free of charge, to any person
25 * obtaining a copy of this software and associated documentation
26 * files (the "Software"), to deal in the Software without
27 * restriction, including without limitation the rights to use,
28 * copy, modify, merge, publish, distribute, sublicense, and/or
29 * sell copies of the Software, and to permit persons to whom the
30 * Software is furnished to do so, subject to the following
33 * The above copyright notice and this permission notice shall be
34 * included in all copies or substantial portions of the Software.
36 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
37 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
38 * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
39 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
40 * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
41 * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
42 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
43 * OTHER DEALINGS IN THE SOFTWARE.
47 #include "fsl-ls1043a.dtsi"
48 #include <dt-bindings/gpio/gpio.h>
49 #include <dt-bindings/input/input.h>
52 model = "Traverse LS1043S";
53 compatible = "traverse,ls1043s";
66 compatible = "gpio-leds";
68 label = "ls1043s:green:user0";
69 gpios = <&gpio1 23 GPIO_ACTIVE_HIGH>;
72 label = "ls1043s:green:user1";
73 gpios = <&gpio1 24 GPIO_ACTIVE_HIGH>;
77 label = "ls1043s:green:wan";
78 gpios = <&gpio1 26 GPIO_ACTIVE_LOW>;
81 label = "ls1043s:yellow:wan";
82 gpios = <&gpio1 27 GPIO_ACTIVE_LOW>;
86 label = "ls1043s:green:mgmt";
87 gpios = <&gpio1 28 GPIO_ACTIVE_LOW>;
90 label = "ls1043s:yellow:mgmt";
91 gpios = <&gpio1 29 GPIO_ACTIVE_LOW>;
95 label = "ls1043s:green:user2";
96 gpios = <&gpio1 31 GPIO_ACTIVE_HIGH>;
99 /* SFP+ LEDs - these are for chassis
100 * with lightpipes only
103 label = "ls1043s:yellow:10gact";
104 gpios = <&gpio4 0 GPIO_ACTIVE_LOW>;
108 label = "ls1043s:green:10glink";
109 gpios = <&gpio4 1 GPIO_ACTIVE_LOW>;
114 compatible = "gpio-keys-polled";
115 #address-cells = <1>;
117 poll-interval = <1000>;
118 /* This button may not be loaded on all boards */
120 label = "Front button";
121 linux,code = <KEY_SETUP>;
122 gpios = <&gpio1 25 GPIO_ACTIVE_LOW>;
124 /* This is wired to header S3 */
126 label = "Rear button";
127 linux,code = <KEY_WPS_BUTTON>;
128 gpios = <&gpio1 30 GPIO_ACTIVE_LOW>;
144 compatible = "intersil,isl1208";
148 sfp_pca9534: pca9534@24 {
149 compatible = "ti,tca9534", "nxp,pca9534";
157 compatible = "traverse,controller";
162 compatible = "ti,ds125df111";
167 compatible = "microchip,emc1704";
172 compatible = "microchip,pac1934";
174 /* Monitoring 3.3V, 5V, Vin/12V (voltage only), Vbat/RTC (voltage only) */
175 shunt-resistors = <4000 12000 0 0>;
179 compatible = "freescale,mc34vr500";
184 /* I2C Bus for SFP EEPROM and control
185 * These are multiplexed so
186 * they don't collide when loaded
191 compatible = "nxp,pca9540";
192 #address-cells = <1>;
197 #address-cells = <1>;
202 #address-cells = <1>;
211 #address-cells = <2>;
213 /* Only NAND flash is used on this board */
214 ranges = <0x0 0x0 0x0 0x7e800000 0x00010000>;
217 compatible = "fsl,ifc-nand";
218 #address-cells = <1>;
220 reg = <0x0 0x0 0x10000>;
232 #include "fsl-ls1043-post.dtsi"
235 EMAC0: ethernet@e0000 {
236 phy-handle = <&qsgmii_phy1>;
237 phy-connection-type = "qsgmii";
238 local-mac-address = [0A 00 00 00 00 01];
241 EMAC1: ethernet@e2000 {
242 phy-handle = <&qsgmii_phy2>;
243 phy-connection-type = "qsgmii";
244 local-mac-address = [0A 00 00 00 00 02];
247 EMAC2: ethernet@e8000 {
248 phy-handle = <&qsgmii_phy3>;
249 phy-connection-type = "qsgmii";
250 local-mac-address = [0A 00 00 00 00 03];
253 EMAC3: ethernet@ea000 {
254 phy-handle = <&qsgmii_phy4>;
255 phy-connection-type = "qsgmii";
256 local-mac-address = [0A 00 00 00 00 04];
260 * We treat this as a fixed-link as the
261 * AR8031 is hard-configured into
263 * Should MII control be desired, remove
265 * phy-handle = <&rgmii_phy1>;
267 EMAC4: ethernet@e4000 {
268 phy-connection-type = "rgmii";
269 local-mac-address = [0A 00 00 00 00 05];
276 /* Connection to Expansion (M.2) slot
277 * Future WAN (i.e xDSL) plugin
279 EMAC5: ethernet@e6000 {
280 phy-connection-type = "rgmii-id";
281 local-mac-address = [00 00 00 00 00 06];
288 /* 10G SFP+ interface
289 * This can also run at 1.25 and 2.5G with
290 * the appropriate SerDes protocol setting in RCW
292 TENSFP: ethernet@f0000 {
294 phy-connection-type = "xgmii";
302 rgmii_phy1: ethernet-phy@2 {
305 qsgmii_phy1: ethernet-phy@4 {
308 qsgmii_phy2: ethernet-phy@5 {
311 qsgmii_phy3: ethernet-phy@6 {
314 qsgmii_phy4: ethernet-phy@7 {
320 /* No QUICC engine functions on this board -
321 * pins are used for other functions (GPIO, I2C etc.)
327 /* LS1043S does not use the QorIQ AHCI