xref: /freebsd/sys/contrib/device-tree/src/arm64/freescale/fsl-lx2160a-cex7.dtsi (revision 5def4c47d4bd90b209b9b4a4ba9faec15846d8fd)
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>;
43*5def4c47SEmmanuel 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		};
125c66ec88fSEmmanuel Vadot	};
126c66ec88fSEmmanuel Vadot};
127c66ec88fSEmmanuel Vadot
128c66ec88fSEmmanuel Vadot&i2c2 {
129c66ec88fSEmmanuel Vadot	status = "okay";
130c66ec88fSEmmanuel Vadot};
131c66ec88fSEmmanuel Vadot
132c66ec88fSEmmanuel Vadot&i2c4 {
133c66ec88fSEmmanuel Vadot	status = "okay";
134c66ec88fSEmmanuel Vadot
135c66ec88fSEmmanuel Vadot	rtc@51 {
136c66ec88fSEmmanuel Vadot		compatible = "nxp,pcf2129";
137c66ec88fSEmmanuel Vadot		reg = <0x51>;
138c66ec88fSEmmanuel Vadot	};
139c66ec88fSEmmanuel Vadot};
140c66ec88fSEmmanuel Vadot
141c66ec88fSEmmanuel Vadot&fspi {
142c66ec88fSEmmanuel Vadot	status = "okay";
143c66ec88fSEmmanuel Vadot
144c66ec88fSEmmanuel Vadot	flash@0 {
145c66ec88fSEmmanuel Vadot		#address-cells = <1>;
146c66ec88fSEmmanuel Vadot		#size-cells = <1>;
147c66ec88fSEmmanuel Vadot		compatible = "micron,m25p80";
148c66ec88fSEmmanuel Vadot		m25p,fast-read;
149c66ec88fSEmmanuel Vadot		spi-max-frequency = <50000000>;
150c66ec88fSEmmanuel Vadot		reg = <0>;
151c66ec88fSEmmanuel Vadot		/* The following setting enables 1-1-8 (CMD-ADDR-DATA) mode */
152c66ec88fSEmmanuel Vadot		spi-rx-bus-width = <8>;
153c66ec88fSEmmanuel Vadot		spi-tx-bus-width = <1>;
154c66ec88fSEmmanuel Vadot	};
155c66ec88fSEmmanuel Vadot};
156c66ec88fSEmmanuel Vadot
157c66ec88fSEmmanuel Vadot&usb0 {
158c66ec88fSEmmanuel Vadot	status = "okay";
159c66ec88fSEmmanuel Vadot};
160c66ec88fSEmmanuel Vadot
161c66ec88fSEmmanuel Vadot&usb1 {
162c66ec88fSEmmanuel Vadot	status = "okay";
163c66ec88fSEmmanuel Vadot};
164