1// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2/*
3 * Device Tree file for NXP LS1088A QDS Board.
4 *
5 * Copyright 2017 NXP
6 *
7 * Harninder Rai <harninder.rai@nxp.com>
8 *
9 */
10
11/dts-v1/;
12
13#include "fsl-ls1088a.dtsi"
14
15/ {
16	model = "LS1088A QDS Board";
17	compatible = "fsl,ls1088a-qds", "fsl,ls1088a";
18};
19
20&i2c0 {
21	status = "okay";
22
23	i2c-switch@77 {
24		compatible = "nxp,pca9547";
25		reg = <0x77>;
26		#address-cells = <1>;
27		#size-cells = <0>;
28
29		i2c@2 {
30			#address-cells = <1>;
31			#size-cells = <0>;
32			reg = <0x2>;
33
34			ina220@40 {
35				compatible = "ti,ina220";
36				reg = <0x40>;
37				shunt-resistor = <1000>;
38			};
39
40			ina220@41 {
41				compatible = "ti,ina220";
42				reg = <0x41>;
43				shunt-resistor = <1000>;
44			};
45		};
46
47		i2c@3 {
48			#address-cells = <1>;
49			#size-cells = <0>;
50			reg = <0x3>;
51
52			temp-sensor@4c {
53				compatible = "adi,adt7461a";
54				reg = <0x4c>;
55			};
56
57			rtc@51 {
58				compatible = "nxp,pcf2129";
59				reg = <0x51>;
60				/* IRQ10_B */
61				interrupts = <0 150 IRQ_TYPE_LEVEL_HIGH>;
62			};
63
64			eeprom@56 {
65				compatible = "atmel,24c512";
66				reg = <0x56>;
67			};
68
69			eeprom@57 {
70				compatible = "atmel,24c512";
71				reg = <0x57>;
72			};
73		};
74	};
75};
76
77&ifc {
78	ranges = <0 0 0x5 0x80000000 0x08000000
79		  2 0 0x5 0x30000000 0x00010000
80		  3 0 0x5 0x20000000 0x00010000>;
81	status = "okay";
82
83	nor@0,0 {
84		compatible = "cfi-flash";
85		reg = <0x0 0x0 0x8000000>;
86		bank-width = <2>;
87		device-width = <1>;
88	};
89
90	nand@2,0 {
91		compatible = "fsl,ifc-nand";
92		reg = <0x2 0x0 0x10000>;
93	};
94
95	fpga: board-control@3,0 {
96		compatible = "fsl,ls1088aqds-fpga", "fsl,fpga-qixis";
97		reg = <0x3 0x0 0x0000100>;
98	};
99};
100
101&duart0 {
102	status = "okay";
103};
104
105&duart1 {
106	status = "okay";
107};
108
109&esdhc {
110	status = "okay";
111};
112
113&sata {
114	status = "okay";
115};
116