]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - sys/gnu/dts/arm64/freescale/fsl-lx2160a-cex7.dtsi
dts: Update our copy to be in sync with Linux 5.7
[FreeBSD/FreeBSD.git] / sys / gnu / dts / arm64 / freescale / fsl-lx2160a-cex7.dtsi
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         };
44 };
45
46 &esdhc1 {
47         mmc-hs200-1_8v;
48         mmc-hs400-1_8v;
49         bus-width = <8>;
50         status = "okay";
51 };
52
53 &i2c0 {
54         status = "okay";
55
56         i2c-switch@77 {
57                 compatible = "nxp,pca9547";
58                 #address-cells = <1>;
59                 #size-cells = <0>;
60                 reg = <0x77>;
61
62                 i2c@0 {
63                         #address-cells = <1>;
64                         #size-cells = <0>;
65                         reg = <0>;
66
67                         eeprom@50 {
68                                 compatible = "atmel,24c512";
69                                 reg = <0x50>;
70                         };
71
72                         eeprom@51 {
73                                 compatible = "atmel,spd";
74                                 reg = <0x51>;
75                         };
76
77                         eeprom@53 {
78                                 compatible = "atmel,spd";
79                                 reg = <0x53>;
80                         };
81
82                         eeprom@57 {
83                                 compatible = "atmel,24c02";
84                                 reg = <0x57>;
85                         };
86                 };
87
88                 i2c@1 {
89                         #address-cells = <1>;
90                         #size-cells = <0>;
91                         reg = <1>;
92
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                 };
101
102                 i2c@2 {
103                         #address-cells = <1>;
104                         #size-cells = <0>;
105                         reg = <2>;
106
107                         regulator@5c {
108                                 compatible = "lltc,ltc3882";
109                                 reg = <0x5c>;
110                         };
111                 };
112
113                 i2c@3 {
114                         #address-cells = <1>;
115                         #size-cells = <0>;
116                         reg = <3>;
117
118                         temperature-sensor@48 {
119                                 compatible = "nxp,sa56004";
120                                 reg = <0x48>;
121                                 vcc-supply = <&sb_3v3>;
122                         };
123                 };
124         };
125 };
126
127 &i2c2 {
128         status = "okay";
129 };
130
131 &i2c4 {
132         status = "okay";
133
134         rtc@51 {
135                 compatible = "nxp,pcf2129";
136                 reg = <0x51>;
137                 // IRQ10_B
138                 interrupts = <GIC_SPI 150 IRQ_TYPE_LEVEL_HIGH>;
139         };
140 };
141
142 &fspi {
143         status = "okay";
144
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         };
156 };
157
158 &usb0 {
159         status = "okay";
160 };
161
162 &usb1 {
163         status = "okay";
164 };