xref: /linux/arch/arm64/boot/dts/freescale/fsl-lx2160a-rdb.dts (revision dd5b2498d845f925904cb2afabb6ba11bfc317c5)
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&fspi {
54	status = "okay";
55
56	mt35xu512aba0: flash@0 {
57		#address-cells = <1>;
58		#size-cells = <1>;
59		compatible = "spansion,m25p80";
60		m25p,fast-read;
61		spi-max-frequency = <50000000>;
62		reg = <0>;
63		spi-rx-bus-width = <8>;
64		spi-tx-bus-width = <8>;
65	};
66
67	mt35xu512aba1: flash@1 {
68		#address-cells = <1>;
69		#size-cells = <1>;
70		compatible = "spansion,m25p80";
71		m25p,fast-read;
72		spi-max-frequency = <50000000>;
73		reg = <1>;
74		spi-rx-bus-width = <8>;
75		spi-tx-bus-width = <8>;
76	};
77};
78
79&i2c0 {
80	status = "okay";
81
82	i2c-mux@77 {
83		compatible = "nxp,pca9547";
84		reg = <0x77>;
85		#address-cells = <1>;
86		#size-cells = <0>;
87
88		i2c@2 {
89			#address-cells = <1>;
90			#size-cells = <0>;
91			reg = <0x2>;
92
93			power-monitor@40 {
94				compatible = "ti,ina220";
95				reg = <0x40>;
96				shunt-resistor = <1000>;
97			};
98		};
99
100		i2c@3 {
101			#address-cells = <1>;
102			#size-cells = <0>;
103			reg = <0x3>;
104
105			temperature-sensor@4c {
106				compatible = "nxp,sa56004";
107				reg = <0x4c>;
108				vcc-supply = <&sb_3v3>;
109			};
110
111			temperature-sensor@4d {
112				compatible = "nxp,sa56004";
113				reg = <0x4d>;
114				vcc-supply = <&sb_3v3>;
115			};
116		};
117	};
118};
119
120&i2c4 {
121	status = "okay";
122
123	rtc@51 {
124		compatible = "nxp,pcf2129";
125		reg = <0x51>;
126		// IRQ10_B
127		interrupts = <0 150 0x4>;
128	};
129};
130
131&uart0 {
132	status = "okay";
133};
134
135&uart1 {
136	status = "okay";
137};
138
139&usb0 {
140	status = "okay";
141};
142
143&usb1 {
144	status = "okay";
145};
146