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