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