1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * Device Tree file for Traverse Technologies Ten64
5 * Based on fsl-ls1088a-rdb.dts
6 * Copyright 2017-2020 NXP
7 * Copyright 2019-2023 Traverse Technologies
14 #include "fsl-ls1088a.dtsi"
16 #include <dt-bindings/gpio/gpio.h>
17 #include <dt-bindings/input/input.h>
20 model = "Traverse Ten64";
21 compatible = "traverse,ten64", "fsl,ls1088a";
29 stdout-path = "serial0:115200n8";
33 compatible = "gpio-keys";
35 /* Fired by system controller when
36 * external power off (e.g ATX Power Button)
40 label = "External Power Down";
41 gpios = <&gpio1 17 GPIO_ACTIVE_LOW>;
42 linux,code = <KEY_POWER>;
45 /* Rear Panel 'ADMIN' button (GPIO_H) */
47 label = "ADMIN button";
48 gpios = <&gpio3 8 GPIO_ACTIVE_HIGH>;
49 linux,code = <KEY_WPS_BUTTON>;
54 compatible = "gpio-leds";
57 label = "ten64:green:sfp1:down";
58 gpios = <&gpio3 11 GPIO_ACTIVE_HIGH>;
62 label = "ten64:green:sfp2:up";
63 gpios = <&gpio3 12 GPIO_ACTIVE_HIGH>;
67 label = "ten64:admin";
68 gpios = <&sfpgpio 12 GPIO_ACTIVE_HIGH>;
73 compatible = "sff,sfp";
74 i2c-bus = <&sfplower_i2c>;
75 tx-fault-gpios = <&sfpgpio 0 GPIO_ACTIVE_HIGH>;
76 tx-disable-gpios = <&sfpgpio 1 GPIO_ACTIVE_HIGH>;
77 mod-def0-gpios = <&sfpgpio 2 GPIO_ACTIVE_LOW>;
78 los-gpios = <&sfpgpio 3 GPIO_ACTIVE_HIGH>;
79 maximum-power-milliwatt = <2000>;
83 compatible = "sff,sfp";
84 i2c-bus = <&sfpupper_i2c>;
85 tx-fault-gpios = <&sfpgpio 4 GPIO_ACTIVE_HIGH>;
86 tx-disable-gpios = <&sfpgpio 5 GPIO_ACTIVE_HIGH>;
87 mod-def0-gpios = <&sfpgpio 6 GPIO_ACTIVE_LOW>;
88 los-gpios = <&sfpgpio 7 GPIO_ACTIVE_HIGH>;
89 maximum-power-milliwatt = <2000>;
97 phy-connection-type = "10gbase-r";
98 managed = "in-band-status";
101 /* XG0 - Lower SFP */
104 pcs-handle = <&pcs2>;
105 phy-connection-type = "10gbase-r";
106 managed = "in-band-status";
109 /* DPMAC3..6 is GE4 to GE8 */
111 phy-handle = <&mdio1_phy5>;
112 phy-connection-type = "qsgmii";
113 managed = "in-band-status";
114 pcs-handle = <&pcs3_0>;
118 phy-handle = <&mdio1_phy6>;
119 phy-connection-type = "qsgmii";
120 managed = "in-band-status";
121 pcs-handle = <&pcs3_1>;
125 phy-handle = <&mdio1_phy7>;
126 phy-connection-type = "qsgmii";
127 managed = "in-band-status";
128 pcs-handle = <&pcs3_2>;
132 phy-handle = <&mdio1_phy8>;
133 phy-connection-type = "qsgmii";
134 managed = "in-band-status";
135 pcs-handle = <&pcs3_3>;
138 /* DPMAC7..10 is GE0 to GE3 */
140 phy-handle = <&mdio1_phy1>;
141 phy-connection-type = "qsgmii";
142 managed = "in-band-status";
143 pcs-handle = <&pcs7_0>;
147 phy-handle = <&mdio1_phy2>;
148 phy-connection-type = "qsgmii";
149 managed = "in-band-status";
150 pcs-handle = <&pcs7_1>;
154 phy-handle = <&mdio1_phy3>;
155 phy-connection-type = "qsgmii";
156 managed = "in-band-status";
157 pcs-handle = <&pcs7_2>;
161 phy-handle = <&mdio1_phy4>;
162 phy-connection-type = "qsgmii";
163 managed = "in-band-status";
164 pcs-handle = <&pcs7_3>;
178 mdio1_phy5: ethernet-phy@c {
182 mdio1_phy6: ethernet-phy@d {
186 mdio1_phy7: ethernet-phy@e {
190 mdio1_phy8: ethernet-phy@f {
194 mdio1_phy1: ethernet-phy@1c {
198 mdio1_phy2: ethernet-phy@1d {
202 mdio1_phy3: ethernet-phy@1e {
206 mdio1_phy4: ethernet-phy@1f {
219 compatible = "ti,tca9539";
226 gpios = <13 GPIO_ACTIVE_HIGH>;
232 compatible = "atmel,at97sc3204t";
241 compatible = "epson,rx8035";
250 compatible = "nxp,pca9540";
251 #address-cells = <1>;
255 sfpupper_i2c: i2c@0 {
256 #address-cells = <1>;
261 sfplower_i2c: i2c@1 {
262 #address-cells = <1>;
289 compatible = "jedec,spi-nor";
290 #address-cells = <1>;
293 spi-max-frequency = <20000000>;
294 spi-rx-bus-width = <4>;
295 spi-tx-bus-width = <4>;
298 compatible = "fixed-partitions";
299 #address-cells = <1>;
309 reg = <0x100000 0x200000>;
313 label = "mcfirmware";
314 reg = <0x300000 0x200000>;
319 reg = <0x500000 0x80000>;
324 reg = <0x580000 0x40000>;
329 reg = <0x5C0000 0x40000>;
333 label = "devicetree";
334 reg = <0x600000 0x40000>;
340 compatible = "spi-nand";
341 #address-cells = <1>;
344 spi-max-frequency = <20000000>;
345 spi-rx-bus-width = <4>;
346 spi-tx-bus-width = <4>;
349 compatible = "fixed-partitions";
350 #address-cells = <1>;
353 /* reserved for future boot direct from NAND flash
354 * (this would use the same layout as the 8MiB NOR flash)
357 label = "nand-boot-reserved";
361 /* recovery / install environment */
364 reg = <0x800000 0x2000000>;
367 /* ubia (first OpenWrt) - a/b names to prevent confusion with ubi0/1/etc. */
370 reg = <0x2800000 0x6C00000>;
373 /* ubib (second OpenWrt) */
376 reg = <0x9400000 0x6C00000>;