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