1// SPDX-License-Identifier: (GPL-2.0 OR MIT)
2//
3// Device Tree file for LX2160AQDS
4//
5// Copyright 2018 NXP
6
7/dts-v1/;
8
9#include "fsl-lx2160a.dtsi"
10
11/ {
12	model = "NXP Layerscape LX2160AQDS";
13	compatible = "fsl,lx2160a-qds", "fsl,lx2160a";
14
15	aliases {
16		crypto = &crypto;
17		mmc0 = &esdhc0;
18		mmc1 = &esdhc1;
19		serial0 = &uart0;
20	};
21
22	chosen {
23		stdout-path = "serial0:115200n8";
24	};
25
26	sb_3v3: regulator-sb3v3 {
27		compatible = "regulator-fixed";
28		regulator-name = "MC34717-3.3VSB";
29		regulator-min-microvolt = <3300000>;
30		regulator-max-microvolt = <3300000>;
31		regulator-boot-on;
32		regulator-always-on;
33	};
34};
35
36&can0 {
37	status = "okay";
38};
39
40&can1 {
41	status = "okay";
42};
43
44&crypto {
45	status = "okay";
46};
47
48&dspi0 {
49	status = "okay";
50
51	dflash0: flash@0 {
52		#address-cells = <1>;
53		#size-cells = <1>;
54		compatible = "jedec,spi-nor";
55		reg = <0>;
56		spi-max-frequency = <1000000>;
57	};
58};
59
60&dspi1 {
61	status = "okay";
62
63	dflash1: flash@0 {
64		#address-cells = <1>;
65		#size-cells = <1>;
66		compatible = "jedec,spi-nor";
67		reg = <0>;
68		spi-max-frequency = <1000000>;
69	};
70};
71
72&dspi2 {
73	status = "okay";
74
75	dflash2: flash@0 {
76		#address-cells = <1>;
77		#size-cells = <1>;
78		compatible = "jedec,spi-nor";
79		reg = <0>;
80		spi-max-frequency = <1000000>;
81	};
82};
83
84&esdhc0 {
85	status = "okay";
86};
87
88&esdhc1 {
89	status = "okay";
90};
91
92&fspi {
93	status = "okay";
94
95	mt35xu512aba0: flash@0 {
96		#address-cells = <1>;
97		#size-cells = <1>;
98		compatible = "jedec,spi-nor";
99		m25p,fast-read;
100		spi-max-frequency = <50000000>;
101		reg = <0>;
102		spi-rx-bus-width = <8>;
103		spi-tx-bus-width = <8>;
104	};
105};
106
107&i2c0 {
108	status = "okay";
109
110	i2c-mux@77 {
111		compatible = "nxp,pca9547";
112		reg = <0x77>;
113		#address-cells = <1>;
114		#size-cells = <0>;
115
116		i2c@2 {
117			#address-cells = <1>;
118			#size-cells = <0>;
119			reg = <0x2>;
120
121			power-monitor@40 {
122				compatible = "ti,ina220";
123				reg = <0x40>;
124				shunt-resistor = <500>;
125			};
126
127			power-monitor@41 {
128				compatible = "ti,ina220";
129				reg = <0x41>;
130				shunt-resistor = <1000>;
131			};
132		};
133
134		i2c@3 {
135			#address-cells = <1>;
136			#size-cells = <0>;
137			reg = <0x3>;
138
139			temperature-sensor@4c {
140				compatible = "nxp,sa56004";
141				reg = <0x4c>;
142				vcc-supply = <&sb_3v3>;
143			};
144
145			temperature-sensor@4d {
146				compatible = "nxp,sa56004";
147				reg = <0x4d>;
148				vcc-supply = <&sb_3v3>;
149			};
150
151			rtc@51 {
152				compatible = "nxp,pcf2129";
153				reg = <0x51>;
154			};
155		};
156	};
157};
158
159&sata0 {
160	status = "okay";
161};
162
163&sata1 {
164	status = "okay";
165};
166
167&sata2 {
168	status = "okay";
169};
170
171&sata3 {
172	status = "okay";
173};
174
175&uart0 {
176	status = "okay";
177};
178
179&uart1 {
180	status = "okay";
181};
182
183&usb0 {
184	status = "okay";
185};
186
187&usb1 {
188	status = "okay";
189};
190