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&i2c0 {
47	status = "okay";
48
49	i2c-mux@77 {
50		compatible = "nxp,pca9547";
51		reg = <0x77>;
52		#address-cells = <1>;
53		#size-cells = <0>;
54
55		i2c@2 {
56			#address-cells = <1>;
57			#size-cells = <0>;
58			reg = <0x2>;
59
60			power-monitor@40 {
61				compatible = "ti,ina220";
62				reg = <0x40>;
63				shunt-resistor = <500>;
64			};
65
66			power-monitor@41 {
67				compatible = "ti,ina220";
68				reg = <0x41>;
69				shunt-resistor = <1000>;
70			};
71		};
72
73		i2c@3 {
74			#address-cells = <1>;
75			#size-cells = <0>;
76			reg = <0x3>;
77
78			temperature-sensor@4c {
79				compatible = "nxp,sa56004";
80				reg = <0x4c>;
81				vcc-supply = <&sb_3v3>;
82			};
83
84			temperature-sensor@4d {
85				compatible = "nxp,sa56004";
86				reg = <0x4d>;
87				vcc-supply = <&sb_3v3>;
88			};
89
90			rtc@51 {
91				compatible = "nxp,pcf2129";
92				reg = <0x51>;
93			};
94		};
95	};
96};
97
98&uart0 {
99	status = "okay";
100};
101
102&uart1 {
103	status = "okay";
104};
105
106&usb0 {
107	status = "okay";
108};
109
110&usb1 {
111	status = "okay";
112};
113