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@1 {
63			#address-cells = <1>;
64			#size-cells = <0>;
65			reg = <1>;
66
67			fan-temperature-ctrlr@18 {
68				compatible = "ti,amc6821";
69				reg = <0x18>;
70				cooling-min-state = <0>;
71				cooling-max-state = <9>;
72				#cooling-cells = <2>;
73			};
74		};
75
76		i2c@3 {
77			#address-cells = <1>;
78			#size-cells = <0>;
79			reg = <3>;
80
81			temperature-sensor@48 {
82				compatible = "nxp,sa56004";
83				reg = <0x48>;
84				vcc-supply = <&sb_3v3>;
85			};
86		};
87	};
88};
89
90&i2c2 {
91	status = "okay";
92};
93
94&i2c4 {
95	status = "okay";
96
97	rtc@51 {
98		compatible = "nxp,pcf2129";
99		reg = <0x51>;
100		// IRQ10_B
101		interrupts = <GIC_SPI 150 IRQ_TYPE_LEVEL_HIGH>;
102	};
103};
104
105&fspi {
106	status = "okay";
107
108	flash@0 {
109		#address-cells = <1>;
110		#size-cells = <1>;
111		compatible = "micron,m25p80";
112		m25p,fast-read;
113		spi-max-frequency = <50000000>;
114		reg = <0>;
115		/* The following setting enables 1-1-8 (CMD-ADDR-DATA) mode */
116		spi-rx-bus-width = <8>;
117		spi-tx-bus-width = <1>;
118	};
119};
120
121&usb0 {
122	status = "okay";
123};
124
125&usb1 {
126	status = "okay";
127};
128