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&esdhc0 {
39	status = "okay";
40};
41
42&esdhc1 {
43	status = "okay";
44};
45
46&fspi {
47	status = "okay";
48
49	mt35xu512aba0: flash@0 {
50		#address-cells = <1>;
51		#size-cells = <1>;
52		compatible = "jedec,spi-nor";
53		m25p,fast-read;
54		spi-max-frequency = <50000000>;
55		reg = <0>;
56		spi-rx-bus-width = <8>;
57		spi-tx-bus-width = <8>;
58	};
59};
60
61&i2c0 {
62	status = "okay";
63
64	i2c-mux@77 {
65		compatible = "nxp,pca9547";
66		reg = <0x77>;
67		#address-cells = <1>;
68		#size-cells = <0>;
69
70		i2c@2 {
71			#address-cells = <1>;
72			#size-cells = <0>;
73			reg = <0x2>;
74
75			power-monitor@40 {
76				compatible = "ti,ina220";
77				reg = <0x40>;
78				shunt-resistor = <500>;
79			};
80
81			power-monitor@41 {
82				compatible = "ti,ina220";
83				reg = <0x41>;
84				shunt-resistor = <1000>;
85			};
86		};
87
88		i2c@3 {
89			#address-cells = <1>;
90			#size-cells = <0>;
91			reg = <0x3>;
92
93			temperature-sensor@4c {
94				compatible = "nxp,sa56004";
95				reg = <0x4c>;
96				vcc-supply = <&sb_3v3>;
97			};
98
99			temperature-sensor@4d {
100				compatible = "nxp,sa56004";
101				reg = <0x4d>;
102				vcc-supply = <&sb_3v3>;
103			};
104
105			rtc@51 {
106				compatible = "nxp,pcf2129";
107				reg = <0x51>;
108			};
109		};
110	};
111};
112
113&sata0 {
114	status = "okay";
115};
116
117&sata1 {
118	status = "okay";
119};
120
121&sata2 {
122	status = "okay";
123};
124
125&sata3 {
126	status = "okay";
127};
128
129&uart0 {
130	status = "okay";
131};
132
133&uart1 {
134	status = "okay";
135};
136
137&usb0 {
138	status = "okay";
139};
140
141&usb1 {
142	status = "okay";
143};
144