1// SPDX-License-Identifier: (GPL-2.0 OR MIT)
2//
3// Device Tree file for LX2160ARDB
4//
5// Copyright 2018 NXP
6
7/dts-v1/;
8
9#include "fsl-lx2160a.dtsi"
10
11/ {
12	model = "NXP Layerscape LX2160ARDB";
13	compatible = "fsl,lx2160a-rdb", "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	sd-uhs-sdr104;
40	sd-uhs-sdr50;
41	sd-uhs-sdr25;
42	sd-uhs-sdr12;
43	status = "okay";
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-mux@77 {
57		compatible = "nxp,pca9547";
58		reg = <0x77>;
59		#address-cells = <1>;
60		#size-cells = <0>;
61
62		i2c@2 {
63			#address-cells = <1>;
64			#size-cells = <0>;
65			reg = <0x2>;
66
67			power-monitor@40 {
68				compatible = "ti,ina220";
69				reg = <0x40>;
70				shunt-resistor = <1000>;
71			};
72		};
73
74		i2c@3 {
75			#address-cells = <1>;
76			#size-cells = <0>;
77			reg = <0x3>;
78
79			temperature-sensor@4c {
80				compatible = "nxp,sa56004";
81				reg = <0x4c>;
82				vcc-supply = <&sb_3v3>;
83			};
84
85			temperature-sensor@4d {
86				compatible = "nxp,sa56004";
87				reg = <0x4d>;
88				vcc-supply = <&sb_3v3>;
89			};
90		};
91	};
92};
93
94&i2c4 {
95	status = "okay";
96
97	rtc@51 {
98		compatible = "nxp,pcf2129";
99		reg = <0x51>;
100		// IRQ10_B
101		interrupts = <0 150 0x4>;
102	};
103};
104
105&uart0 {
106	status = "okay";
107};
108
109&uart1 {
110	status = "okay";
111};
112
113&usb0 {
114	status = "okay";
115};
116
117&usb1 {
118	status = "okay";
119};
120