xref: /freebsd/sys/contrib/device-tree/src/arm64/freescale/fsl-ls1043a-rdb.dts (revision 7ef62cebc2f965b0f640263e179276928885e33d)
1c66ec88fSEmmanuel Vadot// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2c66ec88fSEmmanuel Vadot/*
3c66ec88fSEmmanuel Vadot * Device Tree Include file for Freescale Layerscape-1043A family SoC.
4c66ec88fSEmmanuel Vadot *
5c66ec88fSEmmanuel Vadot * Copyright 2014-2015 Freescale Semiconductor, Inc.
6c66ec88fSEmmanuel Vadot * Copyright 2018 NXP
7c66ec88fSEmmanuel Vadot *
8c66ec88fSEmmanuel Vadot * Mingkai Hu <Mingkai.hu@freescale.com>
9c66ec88fSEmmanuel Vadot */
10c66ec88fSEmmanuel Vadot
11c66ec88fSEmmanuel Vadot/dts-v1/;
12c66ec88fSEmmanuel Vadot#include "fsl-ls1043a.dtsi"
13c66ec88fSEmmanuel Vadot
14c66ec88fSEmmanuel Vadot/ {
15c66ec88fSEmmanuel Vadot	model = "LS1043A RDB Board";
16c66ec88fSEmmanuel Vadot	compatible = "fsl,ls1043a-rdb", "fsl,ls1043a";
17c66ec88fSEmmanuel Vadot
18c66ec88fSEmmanuel Vadot	aliases {
19c66ec88fSEmmanuel Vadot		serial0 = &duart0;
20c66ec88fSEmmanuel Vadot		serial1 = &duart1;
21c66ec88fSEmmanuel Vadot		serial2 = &duart2;
22c66ec88fSEmmanuel Vadot		serial3 = &duart3;
23c66ec88fSEmmanuel Vadot	};
24c66ec88fSEmmanuel Vadot
25c66ec88fSEmmanuel Vadot	chosen {
26c66ec88fSEmmanuel Vadot		stdout-path = "serial0:115200n8";
27c66ec88fSEmmanuel Vadot	};
28c66ec88fSEmmanuel Vadot};
29c66ec88fSEmmanuel Vadot
30c66ec88fSEmmanuel Vadot&i2c0 {
31c66ec88fSEmmanuel Vadot	status = "okay";
32*7ef62cebSEmmanuel Vadot
33c66ec88fSEmmanuel Vadot	ina220@40 {
34c66ec88fSEmmanuel Vadot		compatible = "ti,ina220";
35c66ec88fSEmmanuel Vadot		reg = <0x40>;
36c66ec88fSEmmanuel Vadot		shunt-resistor = <1000>;
37c66ec88fSEmmanuel Vadot	};
38*7ef62cebSEmmanuel Vadot
39c66ec88fSEmmanuel Vadot	adt7461a@4c {
40c66ec88fSEmmanuel Vadot		compatible = "adi,adt7461";
41c66ec88fSEmmanuel Vadot		reg = <0x4c>;
42c66ec88fSEmmanuel Vadot	};
43*7ef62cebSEmmanuel Vadot
44*7ef62cebSEmmanuel Vadot	rtc@51 {
45*7ef62cebSEmmanuel Vadot		compatible = "nxp,pcf85263";
46*7ef62cebSEmmanuel Vadot		reg = <0x51>;
47*7ef62cebSEmmanuel Vadot	};
48*7ef62cebSEmmanuel Vadot
49c66ec88fSEmmanuel Vadot	eeprom@52 {
50c66ec88fSEmmanuel Vadot		compatible = "atmel,24c512";
51c66ec88fSEmmanuel Vadot		reg = <0x52>;
52c66ec88fSEmmanuel Vadot	};
53*7ef62cebSEmmanuel Vadot
54c66ec88fSEmmanuel Vadot	eeprom@53 {
55c66ec88fSEmmanuel Vadot		compatible = "atmel,24c512";
56c66ec88fSEmmanuel Vadot		reg = <0x53>;
57c66ec88fSEmmanuel Vadot	};
58*7ef62cebSEmmanuel Vadot
59c66ec88fSEmmanuel Vadot	rtc@68 {
60c66ec88fSEmmanuel Vadot		compatible = "pericom,pt7c4338";
61c66ec88fSEmmanuel Vadot		reg = <0x68>;
62c66ec88fSEmmanuel Vadot	};
63c66ec88fSEmmanuel Vadot};
64c66ec88fSEmmanuel Vadot
65c66ec88fSEmmanuel Vadot&ifc {
66c66ec88fSEmmanuel Vadot	status = "okay";
67c66ec88fSEmmanuel Vadot	#address-cells = <2>;
68c66ec88fSEmmanuel Vadot	#size-cells = <1>;
69c66ec88fSEmmanuel Vadot	/* NOR, NAND Flashes and FPGA on board */
70c66ec88fSEmmanuel Vadot	ranges = <0x0 0x0 0x0 0x60000000 0x08000000
71c66ec88fSEmmanuel Vadot		  0x1 0x0 0x0 0x7e800000 0x00010000
72c66ec88fSEmmanuel Vadot		  0x2 0x0 0x0 0x7fb00000 0x00000100>;
73c66ec88fSEmmanuel Vadot
74c66ec88fSEmmanuel Vadot		nor@0,0 {
75c66ec88fSEmmanuel Vadot			compatible = "cfi-flash";
76c66ec88fSEmmanuel Vadot			#address-cells = <1>;
77c66ec88fSEmmanuel Vadot			#size-cells = <1>;
78c66ec88fSEmmanuel Vadot			reg = <0x0 0x0 0x8000000>;
79c66ec88fSEmmanuel Vadot			big-endian;
80c66ec88fSEmmanuel Vadot			bank-width = <2>;
81c66ec88fSEmmanuel Vadot			device-width = <1>;
82c66ec88fSEmmanuel Vadot		};
83c66ec88fSEmmanuel Vadot
84c66ec88fSEmmanuel Vadot		nand@1,0 {
85c66ec88fSEmmanuel Vadot			compatible = "fsl,ifc-nand";
86c66ec88fSEmmanuel Vadot			#address-cells = <1>;
87c66ec88fSEmmanuel Vadot			#size-cells = <1>;
88c66ec88fSEmmanuel Vadot			reg = <0x1 0x0 0x10000>;
89c66ec88fSEmmanuel Vadot		};
90c66ec88fSEmmanuel Vadot
91c66ec88fSEmmanuel Vadot		cpld: board-control@2,0 {
92c66ec88fSEmmanuel Vadot			compatible = "fsl,ls1043ardb-cpld";
93c66ec88fSEmmanuel Vadot			reg = <0x2 0x0 0x0000100>;
94c66ec88fSEmmanuel Vadot		};
95c66ec88fSEmmanuel Vadot};
96c66ec88fSEmmanuel Vadot
97c66ec88fSEmmanuel Vadot&dspi0 {
98c66ec88fSEmmanuel Vadot	bus-num = <0>;
99c66ec88fSEmmanuel Vadot	status = "okay";
100c66ec88fSEmmanuel Vadot
101c66ec88fSEmmanuel Vadot	flash@0 {
102c66ec88fSEmmanuel Vadot		#address-cells = <1>;
103c66ec88fSEmmanuel Vadot		#size-cells = <1>;
104c66ec88fSEmmanuel Vadot		compatible = "n25q128a13", "jedec,spi-nor";  /* 16MB */
105c66ec88fSEmmanuel Vadot		reg = <0>;
106c66ec88fSEmmanuel Vadot		spi-max-frequency = <1000000>; /* input clock */
107e67e8565SEmmanuel Vadot		fsl,spi-cs-sck-delay = <100>;
108e67e8565SEmmanuel Vadot		fsl,spi-sck-cs-delay = <100>;
109c66ec88fSEmmanuel Vadot	};
110c66ec88fSEmmanuel Vadot
111c66ec88fSEmmanuel Vadot	slic@2 {
112c66ec88fSEmmanuel Vadot		compatible = "maxim,ds26522";
113c66ec88fSEmmanuel Vadot		reg = <2>;
114c66ec88fSEmmanuel Vadot		spi-max-frequency = <2000000>;
115c66ec88fSEmmanuel Vadot		fsl,spi-cs-sck-delay = <100>;
116c66ec88fSEmmanuel Vadot		fsl,spi-sck-cs-delay = <50>;
117c66ec88fSEmmanuel Vadot	};
118c66ec88fSEmmanuel Vadot
119c66ec88fSEmmanuel Vadot	slic@3 {
120c66ec88fSEmmanuel Vadot		compatible = "maxim,ds26522";
121c66ec88fSEmmanuel Vadot		reg = <3>;
122c66ec88fSEmmanuel Vadot		spi-max-frequency = <2000000>;
123c66ec88fSEmmanuel Vadot		fsl,spi-cs-sck-delay = <100>;
124c66ec88fSEmmanuel Vadot		fsl,spi-sck-cs-delay = <50>;
125c66ec88fSEmmanuel Vadot	};
126c66ec88fSEmmanuel Vadot};
127c66ec88fSEmmanuel Vadot
128c66ec88fSEmmanuel Vadot&duart0 {
129c66ec88fSEmmanuel Vadot	status = "okay";
130c66ec88fSEmmanuel Vadot};
131c66ec88fSEmmanuel Vadot
132c66ec88fSEmmanuel Vadot&duart1 {
133c66ec88fSEmmanuel Vadot	status = "okay";
134c66ec88fSEmmanuel Vadot};
135c66ec88fSEmmanuel Vadot
136c66ec88fSEmmanuel Vadot#include "fsl-ls1043-post.dtsi"
137c66ec88fSEmmanuel Vadot
138c66ec88fSEmmanuel Vadot&fman0 {
139c66ec88fSEmmanuel Vadot	ethernet@e0000 {
140c66ec88fSEmmanuel Vadot		phy-handle = <&qsgmii_phy1>;
141c66ec88fSEmmanuel Vadot		phy-connection-type = "qsgmii";
142c66ec88fSEmmanuel Vadot	};
143c66ec88fSEmmanuel Vadot
144c66ec88fSEmmanuel Vadot	ethernet@e2000 {
145c66ec88fSEmmanuel Vadot		phy-handle = <&qsgmii_phy2>;
146c66ec88fSEmmanuel Vadot		phy-connection-type = "qsgmii";
147c66ec88fSEmmanuel Vadot	};
148c66ec88fSEmmanuel Vadot
149c66ec88fSEmmanuel Vadot	ethernet@e4000 {
150c66ec88fSEmmanuel Vadot		phy-handle = <&rgmii_phy1>;
151c66ec88fSEmmanuel Vadot		phy-connection-type = "rgmii-id";
152c66ec88fSEmmanuel Vadot	};
153c66ec88fSEmmanuel Vadot
154c66ec88fSEmmanuel Vadot	ethernet@e6000 {
155c66ec88fSEmmanuel Vadot		phy-handle = <&rgmii_phy2>;
156c66ec88fSEmmanuel Vadot		phy-connection-type = "rgmii-id";
157c66ec88fSEmmanuel Vadot	};
158c66ec88fSEmmanuel Vadot
159c66ec88fSEmmanuel Vadot	ethernet@e8000 {
160c66ec88fSEmmanuel Vadot		phy-handle = <&qsgmii_phy3>;
161c66ec88fSEmmanuel Vadot		phy-connection-type = "qsgmii";
162c66ec88fSEmmanuel Vadot	};
163c66ec88fSEmmanuel Vadot
164c66ec88fSEmmanuel Vadot	ethernet@ea000 {
165c66ec88fSEmmanuel Vadot		phy-handle = <&qsgmii_phy4>;
166c66ec88fSEmmanuel Vadot		phy-connection-type = "qsgmii";
167c66ec88fSEmmanuel Vadot	};
168c66ec88fSEmmanuel Vadot
169c66ec88fSEmmanuel Vadot	ethernet@f0000 { /* 10GEC1 */
170c66ec88fSEmmanuel Vadot		phy-handle = <&aqr105_phy>;
171c66ec88fSEmmanuel Vadot		phy-connection-type = "xgmii";
172c66ec88fSEmmanuel Vadot	};
173c66ec88fSEmmanuel Vadot
174c66ec88fSEmmanuel Vadot	mdio@fc000 {
175c66ec88fSEmmanuel Vadot		rgmii_phy1: ethernet-phy@1 {
176c66ec88fSEmmanuel Vadot			reg = <0x1>;
177c66ec88fSEmmanuel Vadot		};
178c66ec88fSEmmanuel Vadot
179c66ec88fSEmmanuel Vadot		rgmii_phy2: ethernet-phy@2 {
180c66ec88fSEmmanuel Vadot			reg = <0x2>;
181c66ec88fSEmmanuel Vadot		};
182c66ec88fSEmmanuel Vadot
183c66ec88fSEmmanuel Vadot		qsgmii_phy1: ethernet-phy@4 {
184c66ec88fSEmmanuel Vadot			reg = <0x4>;
185c66ec88fSEmmanuel Vadot		};
186c66ec88fSEmmanuel Vadot
187c66ec88fSEmmanuel Vadot		qsgmii_phy2: ethernet-phy@5 {
188c66ec88fSEmmanuel Vadot			reg = <0x5>;
189c66ec88fSEmmanuel Vadot		};
190c66ec88fSEmmanuel Vadot
191c66ec88fSEmmanuel Vadot		qsgmii_phy3: ethernet-phy@6 {
192c66ec88fSEmmanuel Vadot			reg = <0x6>;
193c66ec88fSEmmanuel Vadot		};
194c66ec88fSEmmanuel Vadot
195c66ec88fSEmmanuel Vadot		qsgmii_phy4: ethernet-phy@7 {
196c66ec88fSEmmanuel Vadot			reg = <0x7>;
197c66ec88fSEmmanuel Vadot		};
198c66ec88fSEmmanuel Vadot	};
199c66ec88fSEmmanuel Vadot
200c66ec88fSEmmanuel Vadot	mdio@fd000 {
201c66ec88fSEmmanuel Vadot		aqr105_phy: ethernet-phy@1 {
202c66ec88fSEmmanuel Vadot			compatible = "ethernet-phy-ieee802.3-c45";
203c66ec88fSEmmanuel Vadot			interrupts = <0 132 4>;
204c66ec88fSEmmanuel Vadot			reg = <0x1>;
205c66ec88fSEmmanuel Vadot		};
206c66ec88fSEmmanuel Vadot	};
207c66ec88fSEmmanuel Vadot};
208c66ec88fSEmmanuel Vadot
209c66ec88fSEmmanuel Vadot&uqe {
210c66ec88fSEmmanuel Vadot	ucc_hdlc: ucc@2000 {
211c66ec88fSEmmanuel Vadot		compatible = "fsl,ucc-hdlc";
212c66ec88fSEmmanuel Vadot		rx-clock-name = "clk8";
213c66ec88fSEmmanuel Vadot		tx-clock-name = "clk9";
214c66ec88fSEmmanuel Vadot		fsl,rx-sync-clock = "rsync_pin";
215c66ec88fSEmmanuel Vadot		fsl,tx-sync-clock = "tsync_pin";
216c66ec88fSEmmanuel Vadot		fsl,tx-timeslot-mask = <0xfffffffe>;
217c66ec88fSEmmanuel Vadot		fsl,rx-timeslot-mask = <0xfffffffe>;
218c66ec88fSEmmanuel Vadot		fsl,tdm-framer-type = "e1";
219c66ec88fSEmmanuel Vadot		fsl,tdm-id = <0>;
220c66ec88fSEmmanuel Vadot		fsl,siram-entry-id = <0>;
221c66ec88fSEmmanuel Vadot		fsl,tdm-interface;
222c66ec88fSEmmanuel Vadot	};
223c66ec88fSEmmanuel Vadot};
224c66ec88fSEmmanuel Vadot
225c66ec88fSEmmanuel Vadot&usb0 {
226c66ec88fSEmmanuel Vadot	status = "okay";
227c66ec88fSEmmanuel Vadot};
228c66ec88fSEmmanuel Vadot
229c66ec88fSEmmanuel Vadot&usb1 {
230c66ec88fSEmmanuel Vadot	status = "okay";
231c66ec88fSEmmanuel Vadot};
232