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