1c66ec88fSEmmanuel Vadot// SPDX-License-Identifier: (GPL-2.0 OR MIT) 2c66ec88fSEmmanuel Vadot// 3c66ec88fSEmmanuel Vadot// Device Tree file for LX2160A Clearfog ITX board; this contains the 4c66ec88fSEmmanuel Vadot// common parts shared between the Clearfog CX and Honeycomb builds. 5c66ec88fSEmmanuel Vadot// 6c66ec88fSEmmanuel Vadot// Copyright 2019 SolidRun Ltd. 7c66ec88fSEmmanuel Vadot 8c66ec88fSEmmanuel Vadot/dts-v1/; 9c66ec88fSEmmanuel Vadot 10c66ec88fSEmmanuel Vadot#include "fsl-lx2160a-cex7.dtsi" 115def4c47SEmmanuel Vadot#include <dt-bindings/input/linux-event-codes.h> 12c66ec88fSEmmanuel Vadot 13c66ec88fSEmmanuel Vadot/ { 14c66ec88fSEmmanuel Vadot aliases { 15c66ec88fSEmmanuel Vadot serial0 = &uart0; 16c66ec88fSEmmanuel Vadot serial1 = &uart1; 17c66ec88fSEmmanuel Vadot }; 18c66ec88fSEmmanuel Vadot 19c66ec88fSEmmanuel Vadot chosen { 20c66ec88fSEmmanuel Vadot stdout-path = "serial0:115200n8"; 21c66ec88fSEmmanuel Vadot }; 225def4c47SEmmanuel Vadot 235def4c47SEmmanuel Vadot gpio-keys { 245def4c47SEmmanuel Vadot compatible = "gpio-keys"; 255def4c47SEmmanuel Vadot 265def4c47SEmmanuel Vadot key { 275def4c47SEmmanuel Vadot label = "power"; 285def4c47SEmmanuel Vadot linux,can-disable; 295def4c47SEmmanuel Vadot linux,code = <KEY_POWER>; 305def4c47SEmmanuel Vadot gpios = <&gpio2 6 GPIO_ACTIVE_LOW>; 315def4c47SEmmanuel Vadot }; 325def4c47SEmmanuel Vadot }; 332eb4d8dcSEmmanuel Vadot 342eb4d8dcSEmmanuel Vadot sfp0: sfp-0 { 352eb4d8dcSEmmanuel Vadot compatible = "sff,sfp"; 362eb4d8dcSEmmanuel Vadot i2c-bus = <&sfp0_i2c>; 37*b97ee269SEmmanuel Vadot mod-def0-gpios = <&gpio2 0 GPIO_ACTIVE_LOW>; 382eb4d8dcSEmmanuel Vadot maximum-power-milliwatt = <2000>; 392eb4d8dcSEmmanuel Vadot }; 402eb4d8dcSEmmanuel Vadot 412eb4d8dcSEmmanuel Vadot sfp1: sfp-1 { 422eb4d8dcSEmmanuel Vadot compatible = "sff,sfp"; 432eb4d8dcSEmmanuel Vadot i2c-bus = <&sfp1_i2c>; 44*b97ee269SEmmanuel Vadot mod-def0-gpios = <&gpio2 9 GPIO_ACTIVE_LOW>; 452eb4d8dcSEmmanuel Vadot maximum-power-milliwatt = <2000>; 462eb4d8dcSEmmanuel Vadot }; 472eb4d8dcSEmmanuel Vadot 482eb4d8dcSEmmanuel Vadot sfp2: sfp-2 { 492eb4d8dcSEmmanuel Vadot compatible = "sff,sfp"; 502eb4d8dcSEmmanuel Vadot i2c-bus = <&sfp2_i2c>; 51*b97ee269SEmmanuel Vadot mod-def0-gpios = <&gpio2 10 GPIO_ACTIVE_LOW>; 522eb4d8dcSEmmanuel Vadot maximum-power-milliwatt = <2000>; 532eb4d8dcSEmmanuel Vadot }; 542eb4d8dcSEmmanuel Vadot 552eb4d8dcSEmmanuel Vadot sfp3: sfp-3 { 562eb4d8dcSEmmanuel Vadot compatible = "sff,sfp"; 572eb4d8dcSEmmanuel Vadot i2c-bus = <&sfp3_i2c>; 58*b97ee269SEmmanuel Vadot mod-def0-gpios = <&gpio2 11 GPIO_ACTIVE_LOW>; 592eb4d8dcSEmmanuel Vadot maximum-power-milliwatt = <2000>; 602eb4d8dcSEmmanuel Vadot }; 612eb4d8dcSEmmanuel Vadot}; 622eb4d8dcSEmmanuel Vadot 632eb4d8dcSEmmanuel Vadot&dpmac7 { 642eb4d8dcSEmmanuel Vadot sfp = <&sfp0>; 652eb4d8dcSEmmanuel Vadot managed = "in-band-status"; 66c9ccf3a3SEmmanuel Vadot phys = <&serdes_1 3>; 672eb4d8dcSEmmanuel Vadot}; 682eb4d8dcSEmmanuel Vadot 692eb4d8dcSEmmanuel Vadot&dpmac8 { 702eb4d8dcSEmmanuel Vadot sfp = <&sfp1>; 712eb4d8dcSEmmanuel Vadot managed = "in-band-status"; 72c9ccf3a3SEmmanuel Vadot phys = <&serdes_1 2>; 732eb4d8dcSEmmanuel Vadot}; 742eb4d8dcSEmmanuel Vadot 752eb4d8dcSEmmanuel Vadot&dpmac9 { 762eb4d8dcSEmmanuel Vadot sfp = <&sfp2>; 772eb4d8dcSEmmanuel Vadot managed = "in-band-status"; 78c9ccf3a3SEmmanuel Vadot phys = <&serdes_1 1>; 792eb4d8dcSEmmanuel Vadot}; 802eb4d8dcSEmmanuel Vadot 812eb4d8dcSEmmanuel Vadot&dpmac10 { 822eb4d8dcSEmmanuel Vadot sfp = <&sfp3>; 832eb4d8dcSEmmanuel Vadot managed = "in-band-status"; 84c9ccf3a3SEmmanuel Vadot phys = <&serdes_1 0>; 85c66ec88fSEmmanuel Vadot}; 86c66ec88fSEmmanuel Vadot 87c66ec88fSEmmanuel Vadot&emdio2 { 88c66ec88fSEmmanuel Vadot status = "okay"; 89c66ec88fSEmmanuel Vadot}; 90c66ec88fSEmmanuel Vadot 91c66ec88fSEmmanuel Vadot&esdhc0 { 92c66ec88fSEmmanuel Vadot sd-uhs-sdr104; 93c66ec88fSEmmanuel Vadot sd-uhs-sdr50; 94c66ec88fSEmmanuel Vadot sd-uhs-sdr25; 95c66ec88fSEmmanuel Vadot sd-uhs-sdr12; 96c66ec88fSEmmanuel Vadot status = "okay"; 97c66ec88fSEmmanuel Vadot}; 98c66ec88fSEmmanuel Vadot 992eb4d8dcSEmmanuel Vadot&pcs_mdio7 { 1002eb4d8dcSEmmanuel Vadot status = "okay"; 1012eb4d8dcSEmmanuel Vadot}; 1022eb4d8dcSEmmanuel Vadot 1032eb4d8dcSEmmanuel Vadot&pcs_mdio8 { 1042eb4d8dcSEmmanuel Vadot status = "okay"; 1052eb4d8dcSEmmanuel Vadot}; 1062eb4d8dcSEmmanuel Vadot 1072eb4d8dcSEmmanuel Vadot&pcs_mdio9 { 1082eb4d8dcSEmmanuel Vadot status = "okay"; 1092eb4d8dcSEmmanuel Vadot}; 1102eb4d8dcSEmmanuel Vadot 1112eb4d8dcSEmmanuel Vadot&pcs_mdio10 { 1122eb4d8dcSEmmanuel Vadot status = "okay"; 1132eb4d8dcSEmmanuel Vadot}; 1142eb4d8dcSEmmanuel Vadot 115c66ec88fSEmmanuel Vadot&sata0 { 116c66ec88fSEmmanuel Vadot status = "okay"; 117c66ec88fSEmmanuel Vadot}; 118c66ec88fSEmmanuel Vadot 119c66ec88fSEmmanuel Vadot&sata1 { 120c66ec88fSEmmanuel Vadot status = "okay"; 121c66ec88fSEmmanuel Vadot}; 122c66ec88fSEmmanuel Vadot 123c66ec88fSEmmanuel Vadot&sata2 { 124c66ec88fSEmmanuel Vadot status = "okay"; 125c66ec88fSEmmanuel Vadot}; 126c66ec88fSEmmanuel Vadot 127c66ec88fSEmmanuel Vadot&sata3 { 128c66ec88fSEmmanuel Vadot status = "okay"; 129c66ec88fSEmmanuel Vadot}; 130c66ec88fSEmmanuel Vadot 131c66ec88fSEmmanuel Vadot&uart0 { 132c66ec88fSEmmanuel Vadot status = "okay"; 133c66ec88fSEmmanuel Vadot}; 134c66ec88fSEmmanuel Vadot 135c66ec88fSEmmanuel Vadot&uart1 { 136c66ec88fSEmmanuel Vadot status = "okay"; 137c66ec88fSEmmanuel Vadot}; 138