1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 2 // 2 // 3 // Device Tree file for LX2160A Clearfog ITX b 3 // Device Tree file for LX2160A Clearfog ITX board; this contains the 4 // common parts shared between the Clearfog CX 4 // common parts shared between the Clearfog CX and Honeycomb builds. 5 // 5 // 6 // Copyright 2019 SolidRun Ltd. 6 // Copyright 2019 SolidRun Ltd. 7 7 8 /dts-v1/; 8 /dts-v1/; 9 9 10 #include "fsl-lx2160a-cex7.dtsi" 10 #include "fsl-lx2160a-cex7.dtsi" 11 #include <dt-bindings/input/linux-event-codes. << 12 11 13 / { 12 / { 14 aliases { 13 aliases { 15 serial0 = &uart0; 14 serial0 = &uart0; 16 serial1 = &uart1; 15 serial1 = &uart1; 17 }; 16 }; 18 17 19 chosen { 18 chosen { 20 stdout-path = "serial0:115200n 19 stdout-path = "serial0:115200n8"; 21 }; 20 }; 22 << 23 gpio-keys { << 24 compatible = "gpio-keys"; << 25 << 26 key { << 27 label = "power"; << 28 linux,can-disable; << 29 linux,code = <KEY_POWE << 30 gpios = <&gpio2 6 GPIO << 31 }; << 32 }; << 33 << 34 sfp0: sfp-0 { << 35 compatible = "sff,sfp"; << 36 i2c-bus = <&sfp0_i2c>; << 37 mod-def0-gpios = <&gpio2 0 GPI << 38 maximum-power-milliwatt = <200 << 39 }; << 40 << 41 sfp1: sfp-1 { << 42 compatible = "sff,sfp"; << 43 i2c-bus = <&sfp1_i2c>; << 44 mod-def0-gpios = <&gpio2 9 GPI << 45 maximum-power-milliwatt = <200 << 46 }; << 47 << 48 sfp2: sfp-2 { << 49 compatible = "sff,sfp"; << 50 i2c-bus = <&sfp2_i2c>; << 51 mod-def0-gpios = <&gpio2 10 GP << 52 maximum-power-milliwatt = <200 << 53 }; << 54 << 55 sfp3: sfp-3 { << 56 compatible = "sff,sfp"; << 57 i2c-bus = <&sfp3_i2c>; << 58 mod-def0-gpios = <&gpio2 11 GP << 59 maximum-power-milliwatt = <200 << 60 }; << 61 }; << 62 << 63 &dpmac7 { << 64 sfp = <&sfp0>; << 65 managed = "in-band-status"; << 66 phys = <&serdes_1 3>; << 67 }; << 68 << 69 &dpmac8 { << 70 sfp = <&sfp1>; << 71 managed = "in-band-status"; << 72 phys = <&serdes_1 2>; << 73 }; << 74 << 75 &dpmac9 { << 76 sfp = <&sfp2>; << 77 managed = "in-band-status"; << 78 phys = <&serdes_1 1>; << 79 }; << 80 << 81 &dpmac10 { << 82 sfp = <&sfp3>; << 83 managed = "in-band-status"; << 84 phys = <&serdes_1 0>; << 85 }; 21 }; 86 22 87 &emdio2 { 23 &emdio2 { 88 status = "okay"; 24 status = "okay"; 89 }; 25 }; 90 26 91 &esdhc0 { 27 &esdhc0 { 92 sd-uhs-sdr104; 28 sd-uhs-sdr104; 93 sd-uhs-sdr50; 29 sd-uhs-sdr50; 94 sd-uhs-sdr25; 30 sd-uhs-sdr25; 95 sd-uhs-sdr12; 31 sd-uhs-sdr12; 96 status = "okay"; << 97 }; << 98 << 99 &pcs_mdio7 { << 100 status = "okay"; << 101 }; << 102 << 103 &pcs_mdio8 { << 104 status = "okay"; << 105 }; << 106 << 107 &pcs_mdio9 { << 108 status = "okay"; << 109 }; << 110 << 111 &pcs_mdio10 { << 112 status = "okay"; 32 status = "okay"; 113 }; 33 }; 114 34 115 &sata0 { 35 &sata0 { 116 status = "okay"; 36 status = "okay"; 117 }; 37 }; 118 38 119 &sata1 { 39 &sata1 { 120 status = "okay"; 40 status = "okay"; 121 }; 41 }; 122 42 123 &sata2 { 43 &sata2 { 124 status = "okay"; 44 status = "okay"; 125 }; 45 }; 126 46 127 &sata3 { 47 &sata3 { 128 status = "okay"; 48 status = "okay"; 129 }; 49 }; 130 50 131 &uart0 { 51 &uart0 { 132 status = "okay"; 52 status = "okay"; 133 }; 53 }; 134 54 135 &uart1 { 55 &uart1 { 136 status = "okay"; 56 status = "okay"; 137 }; 57 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.