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-CEx7 3 // Device Tree file for LX2160A-CEx7 4 // 4 // 5 // Copyright 2019 SolidRun Ltd. 5 // Copyright 2019 SolidRun Ltd. 6 6 7 /dts-v1/; 7 /dts-v1/; 8 8 9 #include "fsl-lx2160a.dtsi" 9 #include "fsl-lx2160a.dtsi" 10 10 11 / { 11 / { 12 model = "SolidRun LX2160A COM Express 12 model = "SolidRun LX2160A COM Express Type 7 module"; 13 compatible = "solidrun,lx2160a-cex7", 13 compatible = "solidrun,lx2160a-cex7", "fsl,lx2160a"; 14 14 15 aliases { 15 aliases { 16 crypto = &crypto; 16 crypto = &crypto; 17 }; 17 }; 18 18 19 sb_3v3: regulator-sb3v3 { 19 sb_3v3: regulator-sb3v3 { 20 compatible = "regulator-fixed" 20 compatible = "regulator-fixed"; 21 regulator-name = "RT7290"; 21 regulator-name = "RT7290"; 22 regulator-min-microvolt = <330 22 regulator-min-microvolt = <3300000>; 23 regulator-max-microvolt = <330 23 regulator-max-microvolt = <3300000>; 24 regulator-boot-on; 24 regulator-boot-on; 25 regulator-always-on; 25 regulator-always-on; 26 }; 26 }; 27 }; 27 }; 28 28 29 &crypto { 29 &crypto { 30 status = "okay"; 30 status = "okay"; 31 }; 31 }; 32 32 33 &dpmac17 { 33 &dpmac17 { 34 phy-handle = <&rgmii_phy1>; 34 phy-handle = <&rgmii_phy1>; 35 phy-connection-type = "rgmii-id"; 35 phy-connection-type = "rgmii-id"; 36 }; 36 }; 37 37 38 &emdio1 { 38 &emdio1 { 39 status = "okay"; 39 status = "okay"; 40 40 41 rgmii_phy1: ethernet-phy@1 { 41 rgmii_phy1: ethernet-phy@1 { 42 reg = <1>; 42 reg = <1>; 43 qca,smarteee-tw-us-1g = <24>; << 44 }; 43 }; 45 }; 44 }; 46 45 47 &esdhc1 { 46 &esdhc1 { 48 mmc-hs200-1_8v; 47 mmc-hs200-1_8v; 49 mmc-hs400-1_8v; 48 mmc-hs400-1_8v; 50 bus-width = <8>; 49 bus-width = <8>; 51 status = "okay"; 50 status = "okay"; 52 }; 51 }; 53 52 54 &i2c0 { 53 &i2c0 { 55 status = "okay"; 54 status = "okay"; 56 55 57 i2c-mux@77 { !! 56 i2c-switch@77 { 58 compatible = "nxp,pca9547"; 57 compatible = "nxp,pca9547"; 59 #address-cells = <1>; 58 #address-cells = <1>; 60 #size-cells = <0>; 59 #size-cells = <0>; 61 reg = <0x77>; 60 reg = <0x77>; 62 61 63 i2c@0 { 62 i2c@0 { 64 #address-cells = <1>; 63 #address-cells = <1>; 65 #size-cells = <0>; 64 #size-cells = <0>; 66 reg = <0>; 65 reg = <0>; 67 66 68 eeprom@50 { 67 eeprom@50 { 69 compatible = " 68 compatible = "atmel,24c512"; 70 reg = <0x50>; 69 reg = <0x50>; 71 }; 70 }; 72 71 73 eeprom@51 { 72 eeprom@51 { 74 compatible = " 73 compatible = "atmel,spd"; 75 reg = <0x51>; 74 reg = <0x51>; 76 }; 75 }; 77 76 78 eeprom@53 { 77 eeprom@53 { 79 compatible = " 78 compatible = "atmel,spd"; 80 reg = <0x53>; 79 reg = <0x53>; 81 }; 80 }; 82 81 83 eeprom@57 { 82 eeprom@57 { 84 compatible = " 83 compatible = "atmel,24c02"; 85 reg = <0x57>; 84 reg = <0x57>; 86 }; 85 }; 87 }; 86 }; 88 87 89 i2c@1 { 88 i2c@1 { 90 #address-cells = <1>; 89 #address-cells = <1>; 91 #size-cells = <0>; 90 #size-cells = <0>; 92 reg = <1>; 91 reg = <1>; 93 92 94 fan-temperature-ctrlr@ 93 fan-temperature-ctrlr@18 { 95 compatible = " 94 compatible = "ti,amc6821"; 96 reg = <0x18>; 95 reg = <0x18>; 97 cooling-min-st 96 cooling-min-state = <0>; 98 cooling-max-st 97 cooling-max-state = <9>; 99 #cooling-cells 98 #cooling-cells = <2>; 100 }; 99 }; 101 }; 100 }; 102 101 103 i2c@2 { 102 i2c@2 { 104 #address-cells = <1>; 103 #address-cells = <1>; 105 #size-cells = <0>; 104 #size-cells = <0>; 106 reg = <2>; 105 reg = <2>; 107 106 108 regulator@5c { 107 regulator@5c { 109 compatible = " 108 compatible = "lltc,ltc3882"; 110 reg = <0x5c>; 109 reg = <0x5c>; 111 }; 110 }; 112 }; 111 }; 113 112 114 i2c@3 { 113 i2c@3 { 115 #address-cells = <1>; 114 #address-cells = <1>; 116 #size-cells = <0>; 115 #size-cells = <0>; 117 reg = <3>; 116 reg = <3>; 118 117 119 temperature-sensor@48 118 temperature-sensor@48 { 120 compatible = " 119 compatible = "nxp,sa56004"; 121 reg = <0x48>; 120 reg = <0x48>; 122 vcc-supply = < 121 vcc-supply = <&sb_3v3>; 123 }; 122 }; 124 }; 123 }; 125 << 126 sfp0_i2c: i2c@4 { << 127 #address-cells = <1>; << 128 #size-cells = <0>; << 129 reg = <4>; << 130 }; << 131 << 132 sfp1_i2c: i2c@5 { << 133 #address-cells = <1>; << 134 #size-cells = <0>; << 135 reg = <5>; << 136 }; << 137 << 138 sfp2_i2c: i2c@6 { << 139 #address-cells = <1>; << 140 #size-cells = <0>; << 141 reg = <6>; << 142 }; << 143 << 144 sfp3_i2c: i2c@7 { << 145 #address-cells = <1>; << 146 #size-cells = <0>; << 147 reg = <7>; << 148 }; << 149 }; 124 }; 150 }; 125 }; 151 126 152 &i2c2 { 127 &i2c2 { 153 status = "okay"; 128 status = "okay"; 154 }; 129 }; 155 130 156 &i2c4 { 131 &i2c4 { 157 status = "okay"; 132 status = "okay"; 158 133 159 rtc@51 { 134 rtc@51 { 160 compatible = "nxp,pcf2129"; 135 compatible = "nxp,pcf2129"; 161 reg = <0x51>; 136 reg = <0x51>; >> 137 // IRQ10_B >> 138 interrupts = <GIC_SPI 150 IRQ_TYPE_LEVEL_HIGH>; 162 }; 139 }; 163 }; 140 }; 164 141 165 &fspi { 142 &fspi { 166 status = "okay"; 143 status = "okay"; 167 144 168 flash@0 { 145 flash@0 { 169 #address-cells = <1>; 146 #address-cells = <1>; 170 #size-cells = <1>; 147 #size-cells = <1>; 171 compatible = "micron,m25p80"; 148 compatible = "micron,m25p80"; 172 m25p,fast-read; 149 m25p,fast-read; 173 spi-max-frequency = <50000000> 150 spi-max-frequency = <50000000>; 174 reg = <0>; 151 reg = <0>; 175 /* The following setting enabl 152 /* The following setting enables 1-1-8 (CMD-ADDR-DATA) mode */ 176 spi-rx-bus-width = <8>; 153 spi-rx-bus-width = <8>; 177 spi-tx-bus-width = <1>; 154 spi-tx-bus-width = <1>; 178 }; 155 }; 179 }; 156 }; 180 157 181 &usb0 { 158 &usb0 { 182 status = "okay"; 159 status = "okay"; 183 }; 160 }; 184 161 185 &usb1 { 162 &usb1 { 186 status = "okay"; 163 status = "okay"; 187 }; 164 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.