WIP FPC-III support
[linux/fpc-iii.git] / arch / arm64 / boot / dts / freescale / fsl-lx2160a-cex7.dtsi
blobd87d16460875e0fc83107419870520d3ffacb675
1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
2 //
3 // Device Tree file for LX2160A-CEx7
4 //
5 // Copyright 2019 SolidRun Ltd.
7 /dts-v1/;
9 #include "fsl-lx2160a.dtsi"
11 / {
12         model = "SolidRun LX2160A COM Express Type 7 module";
13         compatible = "solidrun,lx2160a-cex7", "fsl,lx2160a";
15         aliases {
16                 crypto = &crypto;
17         };
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         };
29 &crypto {
30         status = "okay";
33 &dpmac17 {
34         phy-handle = <&rgmii_phy1>;
35         phy-connection-type = "rgmii-id";
38 &emdio1 {
39         status = "okay";
41         rgmii_phy1: ethernet-phy@1 {
42                 reg = <1>;
43         };
46 &esdhc1 {
47         mmc-hs200-1_8v;
48         mmc-hs400-1_8v;
49         bus-width = <8>;
50         status = "okay";
53 &i2c0 {
54         status = "okay";
56         i2c-switch@77 {
57                 compatible = "nxp,pca9547";
58                 #address-cells = <1>;
59                 #size-cells = <0>;
60                 reg = <0x77>;
62                 i2c@0 {
63                         #address-cells = <1>;
64                         #size-cells = <0>;
65                         reg = <0>;
67                         eeprom@50 {
68                                 compatible = "atmel,24c512";
69                                 reg = <0x50>;
70                         };
72                         eeprom@51 {
73                                 compatible = "atmel,spd";
74                                 reg = <0x51>;
75                         };
77                         eeprom@53 {
78                                 compatible = "atmel,spd";
79                                 reg = <0x53>;
80                         };
82                         eeprom@57 {
83                                 compatible = "atmel,24c02";
84                                 reg = <0x57>;
85                         };
86                 };
88                 i2c@1 {
89                         #address-cells = <1>;
90                         #size-cells = <0>;
91                         reg = <1>;
93                         fan-temperature-ctrlr@18 {
94                                 compatible = "ti,amc6821";
95                                 reg = <0x18>;
96                                 cooling-min-state = <0>;
97                                 cooling-max-state = <9>;
98                                 #cooling-cells = <2>;
99                         };
100                 };
102                 i2c@2 {
103                         #address-cells = <1>;
104                         #size-cells = <0>;
105                         reg = <2>;
107                         regulator@5c {
108                                 compatible = "lltc,ltc3882";
109                                 reg = <0x5c>;
110                         };
111                 };
113                 i2c@3 {
114                         #address-cells = <1>;
115                         #size-cells = <0>;
116                         reg = <3>;
118                         temperature-sensor@48 {
119                                 compatible = "nxp,sa56004";
120                                 reg = <0x48>;
121                                 vcc-supply = <&sb_3v3>;
122                         };
123                 };
124         };
127 &i2c2 {
128         status = "okay";
131 &i2c4 {
132         status = "okay";
134         rtc@51 {
135                 compatible = "nxp,pcf2129";
136                 reg = <0x51>;
137                 // IRQ10_B
138                 interrupts = <GIC_SPI 150 IRQ_TYPE_LEVEL_HIGH>;
139         };
142 &fspi {
143         status = "okay";
145         flash@0 {
146                 #address-cells = <1>;
147                 #size-cells = <1>;
148                 compatible = "micron,m25p80";
149                 m25p,fast-read;
150                 spi-max-frequency = <50000000>;
151                 reg = <0>;
152                 /* The following setting enables 1-1-8 (CMD-ADDR-DATA) mode */
153                 spi-rx-bus-width = <8>;
154                 spi-tx-bus-width = <1>;
155         };
158 &usb0 {
159         status = "okay";
162 &usb1 {
163         status = "okay";