xref: /freebsd/sys/contrib/device-tree/src/arm64/freescale/fsl-lx2160a-cex7.dtsi (revision 02e9120893770924227138ba49df1edb3896112a)
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-mux@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		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	};
150};
151
152&i2c2 {
153	status = "okay";
154};
155
156&i2c4 {
157	status = "okay";
158
159	rtc@51 {
160		compatible = "nxp,pcf2129";
161		reg = <0x51>;
162	};
163};
164
165&fspi {
166	status = "okay";
167
168	flash@0 {
169		#address-cells = <1>;
170		#size-cells = <1>;
171		compatible = "micron,m25p80";
172		m25p,fast-read;
173		spi-max-frequency = <50000000>;
174		reg = <0>;
175		/* The following setting enables 1-1-8 (CMD-ADDR-DATA) mode */
176		spi-rx-bus-width = <8>;
177		spi-tx-bus-width = <1>;
178	};
179};
180
181&usb0 {
182	status = "okay";
183};
184
185&usb1 {
186	status = "okay";
187};
188