1// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2/*
3 * Device Tree Include file for Freescale Layerscape-1043A family SoC.
4 *
5 * Copyright 2014-2015 Freescale Semiconductor, Inc.
6 *
7 * Mingkai Hu <Mingkai.hu@freescale.com>
8 */
9
10/dts-v1/;
11#include "fsl-ls1043a.dtsi"
12
13/ {
14	model = "LS1043A QDS Board";
15	compatible = "fsl,ls1043a-qds", "fsl,ls1043a";
16
17	aliases {
18		gpio0 = &gpio1;
19		gpio1 = &gpio2;
20		gpio2 = &gpio3;
21		gpio3 = &gpio4;
22		serial0 = &duart0;
23		serial1 = &duart1;
24		serial2 = &duart2;
25		serial3 = &duart3;
26	};
27
28	chosen {
29		stdout-path = "serial0:115200n8";
30	};
31};
32
33&duart0 {
34	status = "okay";
35};
36
37&duart1 {
38	status = "okay";
39};
40
41&ifc {
42	#address-cells = <2>;
43	#size-cells = <1>;
44	/* NOR, NAND Flashes and FPGA on board */
45	ranges = <0x0 0x0 0x0 0x60000000 0x08000000
46		  0x1 0x0 0x0 0x7e800000 0x00010000
47		  0x2 0x0 0x0 0x7fb00000 0x00000100>;
48	status = "okay";
49
50	nor@0,0 {
51		compatible = "cfi-flash";
52		reg = <0x0 0x0 0x8000000>;
53		bank-width = <2>;
54		device-width = <1>;
55	};
56
57	nand@1,0 {
58		compatible = "fsl,ifc-nand";
59		reg = <0x1 0x0 0x10000>;
60	};
61
62	fpga: board-control@2,0 {
63		compatible = "fsl,ls1043aqds-fpga", "fsl,fpga-qixis";
64		reg = <0x2 0x0 0x0000100>;
65	};
66};
67
68&i2c0 {
69	status = "okay";
70
71	pca9547@77 {
72		compatible = "nxp,pca9547";
73		reg = <0x77>;
74		#address-cells = <1>;
75		#size-cells = <0>;
76
77		i2c@0 {
78			#address-cells = <1>;
79			#size-cells = <0>;
80			reg = <0x0>;
81
82			rtc@68 {
83				compatible = "dallas,ds3232";
84				reg = <0x68>;
85				/* IRQ10_B */
86				interrupts = <0 150 0x4>;
87			};
88		};
89
90		i2c@2 {
91			#address-cells = <1>;
92			#size-cells = <0>;
93			reg = <0x2>;
94
95			ina220@40 {
96				compatible = "ti,ina220";
97				reg = <0x40>;
98				shunt-resistor = <1000>;
99			};
100
101			ina220@41 {
102				compatible = "ti,ina220";
103				reg = <0x41>;
104				shunt-resistor = <1000>;
105			};
106		};
107
108		i2c@3 {
109			#address-cells = <1>;
110			#size-cells = <0>;
111			reg = <0x3>;
112
113			eeprom@56 {
114				compatible = "atmel,24c512";
115				reg = <0x56>;
116			};
117
118			eeprom@57 {
119				compatible = "atmel,24c512";
120				reg = <0x57>;
121			};
122
123			temp-sensor@4c {
124				compatible = "adi,adt7461a";
125				reg = <0x4c>;
126			};
127		};
128	};
129};
130
131&lpuart0 {
132	status = "okay";
133};
134
135&qspi {
136	bus-num = <0>;
137	status = "okay";
138
139	qflash0: s25fl128s@0 {
140		compatible = "spansion,m25p80";
141		#address-cells = <1>;
142		#size-cells = <1>;
143		spi-max-frequency = <20000000>;
144		reg = <0>;
145	};
146};
147
148#include "fsl-ls1043-post.dtsi"
149