10e8322dcSRabeeh Khoury// SPDX-License-Identifier: (GPL-2.0 OR MIT) 20e8322dcSRabeeh Khoury// 30e8322dcSRabeeh Khoury// Device Tree file for LX2160A Clearfog ITX board; this contains the 40e8322dcSRabeeh Khoury// common parts shared between the Clearfog CX and Honeycomb builds. 50e8322dcSRabeeh Khoury// 60e8322dcSRabeeh Khoury// Copyright 2019 SolidRun Ltd. 70e8322dcSRabeeh Khoury 80e8322dcSRabeeh Khoury/dts-v1/; 90e8322dcSRabeeh Khoury 100e8322dcSRabeeh Khoury#include "fsl-lx2160a-cex7.dtsi" 118900d0d5SRussell King#include <dt-bindings/input/linux-event-codes.h> 120e8322dcSRabeeh Khoury 130e8322dcSRabeeh Khoury/ { 140e8322dcSRabeeh Khoury aliases { 150e8322dcSRabeeh Khoury serial0 = &uart0; 160e8322dcSRabeeh Khoury serial1 = &uart1; 170e8322dcSRabeeh Khoury }; 180e8322dcSRabeeh Khoury 190e8322dcSRabeeh Khoury chosen { 200e8322dcSRabeeh Khoury stdout-path = "serial0:115200n8"; 210e8322dcSRabeeh Khoury }; 228900d0d5SRussell King 238900d0d5SRussell King gpio-keys { 248900d0d5SRussell King compatible = "gpio-keys"; 258900d0d5SRussell King 268900d0d5SRussell King key { 278900d0d5SRussell King label = "power"; 288900d0d5SRussell King linux,can-disable; 298900d0d5SRussell King linux,code = <KEY_POWER>; 308900d0d5SRussell King gpios = <&gpio2 6 GPIO_ACTIVE_LOW>; 318900d0d5SRussell King }; 328900d0d5SRussell King }; 33*312a4614SRussell King 34*312a4614SRussell King sfp0: sfp-0 { 35*312a4614SRussell King compatible = "sff,sfp"; 36*312a4614SRussell King i2c-bus = <&sfp0_i2c>; 37*312a4614SRussell King mod-def0-gpio = <&gpio2 0 GPIO_ACTIVE_LOW>; 38*312a4614SRussell King maximum-power-milliwatt = <2000>; 39*312a4614SRussell King }; 40*312a4614SRussell King 41*312a4614SRussell King sfp1: sfp-1 { 42*312a4614SRussell King compatible = "sff,sfp"; 43*312a4614SRussell King i2c-bus = <&sfp1_i2c>; 44*312a4614SRussell King mod-def0-gpio = <&gpio2 9 GPIO_ACTIVE_LOW>; 45*312a4614SRussell King maximum-power-milliwatt = <2000>; 46*312a4614SRussell King }; 47*312a4614SRussell King 48*312a4614SRussell King sfp2: sfp-2 { 49*312a4614SRussell King compatible = "sff,sfp"; 50*312a4614SRussell King i2c-bus = <&sfp2_i2c>; 51*312a4614SRussell King mod-def0-gpio = <&gpio2 10 GPIO_ACTIVE_LOW>; 52*312a4614SRussell King maximum-power-milliwatt = <2000>; 53*312a4614SRussell King }; 54*312a4614SRussell King 55*312a4614SRussell King sfp3: sfp-3 { 56*312a4614SRussell King compatible = "sff,sfp"; 57*312a4614SRussell King i2c-bus = <&sfp3_i2c>; 58*312a4614SRussell King mod-def0-gpio = <&gpio2 11 GPIO_ACTIVE_LOW>; 59*312a4614SRussell King maximum-power-milliwatt = <2000>; 60*312a4614SRussell King }; 61*312a4614SRussell King}; 62*312a4614SRussell King 63*312a4614SRussell King&dpmac7 { 64*312a4614SRussell King sfp = <&sfp0>; 65*312a4614SRussell King managed = "in-band-status"; 66*312a4614SRussell King}; 67*312a4614SRussell King 68*312a4614SRussell King&dpmac8 { 69*312a4614SRussell King sfp = <&sfp1>; 70*312a4614SRussell King managed = "in-band-status"; 71*312a4614SRussell King}; 72*312a4614SRussell King 73*312a4614SRussell King&dpmac9 { 74*312a4614SRussell King sfp = <&sfp2>; 75*312a4614SRussell King managed = "in-band-status"; 76*312a4614SRussell King}; 77*312a4614SRussell King 78*312a4614SRussell King&dpmac10 { 79*312a4614SRussell King sfp = <&sfp3>; 80*312a4614SRussell King managed = "in-band-status"; 810e8322dcSRabeeh Khoury}; 820e8322dcSRabeeh Khoury 830e8322dcSRabeeh Khoury&emdio2 { 840e8322dcSRabeeh Khoury status = "okay"; 850e8322dcSRabeeh Khoury}; 860e8322dcSRabeeh Khoury 870e8322dcSRabeeh Khoury&esdhc0 { 880e8322dcSRabeeh Khoury sd-uhs-sdr104; 890e8322dcSRabeeh Khoury sd-uhs-sdr50; 900e8322dcSRabeeh Khoury sd-uhs-sdr25; 910e8322dcSRabeeh Khoury sd-uhs-sdr12; 920e8322dcSRabeeh Khoury status = "okay"; 930e8322dcSRabeeh Khoury}; 940e8322dcSRabeeh Khoury 95*312a4614SRussell King&pcs_mdio7 { 96*312a4614SRussell King status = "okay"; 97*312a4614SRussell King}; 98*312a4614SRussell King 99*312a4614SRussell King&pcs_mdio8 { 100*312a4614SRussell King status = "okay"; 101*312a4614SRussell King}; 102*312a4614SRussell King 103*312a4614SRussell King&pcs_mdio9 { 104*312a4614SRussell King status = "okay"; 105*312a4614SRussell King}; 106*312a4614SRussell King 107*312a4614SRussell King&pcs_mdio10 { 108*312a4614SRussell King status = "okay"; 109*312a4614SRussell King}; 110*312a4614SRussell King 1110e8322dcSRabeeh Khoury&sata0 { 1120e8322dcSRabeeh Khoury status = "okay"; 1130e8322dcSRabeeh Khoury}; 1140e8322dcSRabeeh Khoury 1150e8322dcSRabeeh Khoury&sata1 { 1160e8322dcSRabeeh Khoury status = "okay"; 1170e8322dcSRabeeh Khoury}; 1180e8322dcSRabeeh Khoury 1190e8322dcSRabeeh Khoury&sata2 { 1200e8322dcSRabeeh Khoury status = "okay"; 1210e8322dcSRabeeh Khoury}; 1220e8322dcSRabeeh Khoury 1230e8322dcSRabeeh Khoury&sata3 { 1240e8322dcSRabeeh Khoury status = "okay"; 1250e8322dcSRabeeh Khoury}; 1260e8322dcSRabeeh Khoury 1270e8322dcSRabeeh Khoury&uart0 { 1280e8322dcSRabeeh Khoury status = "okay"; 1290e8322dcSRabeeh Khoury}; 1300e8322dcSRabeeh Khoury 1310e8322dcSRabeeh Khoury&uart1 { 1320e8322dcSRabeeh Khoury status = "okay"; 1330e8322dcSRabeeh Khoury}; 134