xref: /linux/arch/arm64/boot/dts/freescale/fsl-lx2160a-cex7.dtsi (revision fcc79e1714e8c2b8e216dc3149812edd37884eef)
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			};
98		};
99
100		i2c@2 {
101			#address-cells = <1>;
102			#size-cells = <0>;
103			reg = <2>;
104
105			regulator@5c {
106				compatible = "lltc,ltc3882";
107				reg = <0x5c>;
108			};
109		};
110
111		i2c@3 {
112			#address-cells = <1>;
113			#size-cells = <0>;
114			reg = <3>;
115
116			temperature-sensor@48 {
117				compatible = "nxp,sa56004";
118				reg = <0x48>;
119				vcc-supply = <&sb_3v3>;
120			};
121		};
122
123		sfp0_i2c: i2c@4 {
124			#address-cells = <1>;
125			#size-cells = <0>;
126			reg = <4>;
127		};
128
129		sfp1_i2c: i2c@5 {
130			#address-cells = <1>;
131			#size-cells = <0>;
132			reg = <5>;
133		};
134
135		sfp2_i2c: i2c@6 {
136			#address-cells = <1>;
137			#size-cells = <0>;
138			reg = <6>;
139		};
140
141		sfp3_i2c: i2c@7 {
142			#address-cells = <1>;
143			#size-cells = <0>;
144			reg = <7>;
145		};
146	};
147};
148
149&i2c2 {
150	status = "okay";
151};
152
153&i2c4 {
154	status = "okay";
155
156	rtc@51 {
157		compatible = "nxp,pcf2129";
158		reg = <0x51>;
159	};
160};
161
162&fspi {
163	status = "okay";
164
165	flash@0 {
166		#address-cells = <1>;
167		#size-cells = <1>;
168		compatible = "micron,m25p80";
169		m25p,fast-read;
170		spi-max-frequency = <50000000>;
171		reg = <0>;
172		/* The following setting enables 1-1-8 (CMD-ADDR-DATA) mode */
173		spi-rx-bus-width = <8>;
174		spi-tx-bus-width = <1>;
175	};
176};
177
178&usb0 {
179	status = "okay";
180};
181
182&usb1 {
183	status = "okay";
184};
185