xref: /freebsd/sys/contrib/device-tree/src/arm64/freescale/fsl-ls1088a-rdb.dts (revision b2d2a78ad80ec68d4a17f5aef97d21686cb1e29b)
1c66ec88fSEmmanuel Vadot// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2c66ec88fSEmmanuel Vadot/*
3c66ec88fSEmmanuel Vadot * Device Tree file for NXP LS1088A RDB Board.
4c66ec88fSEmmanuel Vadot *
55def4c47SEmmanuel Vadot * Copyright 2017-2020 NXP
6c66ec88fSEmmanuel Vadot *
7c66ec88fSEmmanuel Vadot * Harninder Rai <harninder.rai@nxp.com>
8c66ec88fSEmmanuel Vadot *
9c66ec88fSEmmanuel Vadot */
10c66ec88fSEmmanuel Vadot
11c66ec88fSEmmanuel Vadot/dts-v1/;
12c66ec88fSEmmanuel Vadot
13c66ec88fSEmmanuel Vadot#include "fsl-ls1088a.dtsi"
14c66ec88fSEmmanuel Vadot
15c66ec88fSEmmanuel Vadot/ {
16c66ec88fSEmmanuel Vadot	model = "LS1088A RDB Board";
17c66ec88fSEmmanuel Vadot	compatible = "fsl,ls1088a-rdb", "fsl,ls1088a";
18c66ec88fSEmmanuel Vadot};
19c66ec88fSEmmanuel Vadot
205def4c47SEmmanuel Vadot&dpmac2 {
215def4c47SEmmanuel Vadot	phy-handle = <&mdio2_aquantia_phy>;
225def4c47SEmmanuel Vadot	phy-connection-type = "10gbase-r";
235def4c47SEmmanuel Vadot	pcs-handle = <&pcs2>;
245def4c47SEmmanuel Vadot};
255def4c47SEmmanuel Vadot
265def4c47SEmmanuel Vadot&dpmac3 {
275def4c47SEmmanuel Vadot	phy-handle = <&mdio1_phy5>;
285def4c47SEmmanuel Vadot	phy-connection-type = "qsgmii";
295def4c47SEmmanuel Vadot	managed = "in-band-status";
305def4c47SEmmanuel Vadot	pcs-handle = <&pcs3_0>;
315def4c47SEmmanuel Vadot};
325def4c47SEmmanuel Vadot
335def4c47SEmmanuel Vadot&dpmac4 {
345def4c47SEmmanuel Vadot	phy-handle = <&mdio1_phy6>;
355def4c47SEmmanuel Vadot	phy-connection-type = "qsgmii";
365def4c47SEmmanuel Vadot	managed = "in-band-status";
375def4c47SEmmanuel Vadot	pcs-handle = <&pcs3_1>;
385def4c47SEmmanuel Vadot};
395def4c47SEmmanuel Vadot
405def4c47SEmmanuel Vadot&dpmac5 {
415def4c47SEmmanuel Vadot	phy-handle = <&mdio1_phy7>;
425def4c47SEmmanuel Vadot	phy-connection-type = "qsgmii";
435def4c47SEmmanuel Vadot	managed = "in-band-status";
445def4c47SEmmanuel Vadot	pcs-handle = <&pcs3_2>;
455def4c47SEmmanuel Vadot};
465def4c47SEmmanuel Vadot
475def4c47SEmmanuel Vadot&dpmac6 {
485def4c47SEmmanuel Vadot	phy-handle = <&mdio1_phy8>;
495def4c47SEmmanuel Vadot	phy-connection-type = "qsgmii";
505def4c47SEmmanuel Vadot	managed = "in-band-status";
515def4c47SEmmanuel Vadot	pcs-handle = <&pcs3_3>;
525def4c47SEmmanuel Vadot};
535def4c47SEmmanuel Vadot
545def4c47SEmmanuel Vadot&dpmac7 {
555def4c47SEmmanuel Vadot	phy-handle = <&mdio1_phy1>;
565def4c47SEmmanuel Vadot	phy-connection-type = "qsgmii";
575def4c47SEmmanuel Vadot	managed = "in-band-status";
585def4c47SEmmanuel Vadot	pcs-handle = <&pcs7_0>;
595def4c47SEmmanuel Vadot};
605def4c47SEmmanuel Vadot
615def4c47SEmmanuel Vadot&dpmac8 {
625def4c47SEmmanuel Vadot	phy-handle = <&mdio1_phy2>;
635def4c47SEmmanuel Vadot	phy-connection-type = "qsgmii";
645def4c47SEmmanuel Vadot	managed = "in-band-status";
655def4c47SEmmanuel Vadot	pcs-handle = <&pcs7_1>;
665def4c47SEmmanuel Vadot};
675def4c47SEmmanuel Vadot
685def4c47SEmmanuel Vadot&dpmac9 {
695def4c47SEmmanuel Vadot	phy-handle = <&mdio1_phy3>;
705def4c47SEmmanuel Vadot	phy-connection-type = "qsgmii";
715def4c47SEmmanuel Vadot	managed = "in-band-status";
725def4c47SEmmanuel Vadot	pcs-handle = <&pcs7_2>;
735def4c47SEmmanuel Vadot};
745def4c47SEmmanuel Vadot
755def4c47SEmmanuel Vadot&dpmac10 {
765def4c47SEmmanuel Vadot	phy-handle = <&mdio1_phy4>;
775def4c47SEmmanuel Vadot	phy-connection-type = "qsgmii";
785def4c47SEmmanuel Vadot	managed = "in-band-status";
795def4c47SEmmanuel Vadot	pcs-handle = <&pcs7_3>;
805def4c47SEmmanuel Vadot};
815def4c47SEmmanuel Vadot
825def4c47SEmmanuel Vadot&emdio1 {
835def4c47SEmmanuel Vadot	status = "okay";
845def4c47SEmmanuel Vadot
855def4c47SEmmanuel Vadot	mdio1_phy5: ethernet-phy@c {
86354d7675SEmmanuel Vadot		interrupts-extended = <&extirq 1 IRQ_TYPE_LEVEL_LOW>;
875def4c47SEmmanuel Vadot		reg = <0xc>;
885def4c47SEmmanuel Vadot	};
895def4c47SEmmanuel Vadot
905def4c47SEmmanuel Vadot	mdio1_phy6: ethernet-phy@d {
91354d7675SEmmanuel Vadot		interrupts-extended = <&extirq 1 IRQ_TYPE_LEVEL_LOW>;
925def4c47SEmmanuel Vadot		reg = <0xd>;
935def4c47SEmmanuel Vadot	};
945def4c47SEmmanuel Vadot
955def4c47SEmmanuel Vadot	mdio1_phy7: ethernet-phy@e {
96354d7675SEmmanuel Vadot		interrupts-extended = <&extirq 1 IRQ_TYPE_LEVEL_LOW>;
975def4c47SEmmanuel Vadot		reg = <0xe>;
985def4c47SEmmanuel Vadot	};
995def4c47SEmmanuel Vadot
1005def4c47SEmmanuel Vadot	mdio1_phy8: ethernet-phy@f {
101354d7675SEmmanuel Vadot		interrupts-extended = <&extirq 1 IRQ_TYPE_LEVEL_LOW>;
1025def4c47SEmmanuel Vadot		reg = <0xf>;
1035def4c47SEmmanuel Vadot	};
1045def4c47SEmmanuel Vadot
1055def4c47SEmmanuel Vadot	mdio1_phy1: ethernet-phy@1c {
106354d7675SEmmanuel Vadot		interrupts-extended = <&extirq 1 IRQ_TYPE_LEVEL_LOW>;
1075def4c47SEmmanuel Vadot		reg = <0x1c>;
1085def4c47SEmmanuel Vadot	};
1095def4c47SEmmanuel Vadot
1105def4c47SEmmanuel Vadot	mdio1_phy2: ethernet-phy@1d {
111354d7675SEmmanuel Vadot		interrupts-extended = <&extirq 1 IRQ_TYPE_LEVEL_LOW>;
1125def4c47SEmmanuel Vadot		reg = <0x1d>;
1135def4c47SEmmanuel Vadot	};
1145def4c47SEmmanuel Vadot
1155def4c47SEmmanuel Vadot	mdio1_phy3: ethernet-phy@1e {
116354d7675SEmmanuel Vadot		interrupts-extended = <&extirq 1 IRQ_TYPE_LEVEL_LOW>;
1175def4c47SEmmanuel Vadot		reg = <0x1e>;
1185def4c47SEmmanuel Vadot	};
1195def4c47SEmmanuel Vadot
1205def4c47SEmmanuel Vadot	mdio1_phy4: ethernet-phy@1f {
121354d7675SEmmanuel Vadot		interrupts-extended = <&extirq 1 IRQ_TYPE_LEVEL_LOW>;
1225def4c47SEmmanuel Vadot		reg = <0x1f>;
1235def4c47SEmmanuel Vadot	};
1245def4c47SEmmanuel Vadot};
1255def4c47SEmmanuel Vadot
1265def4c47SEmmanuel Vadot&emdio2 {
1275def4c47SEmmanuel Vadot	status = "okay";
1285def4c47SEmmanuel Vadot
1295def4c47SEmmanuel Vadot	mdio2_aquantia_phy: ethernet-phy@0 {
1305def4c47SEmmanuel Vadot		compatible = "ethernet-phy-ieee802.3-c45";
131354d7675SEmmanuel Vadot		interrupts-extended = <&extirq 2 IRQ_TYPE_LEVEL_LOW>;
1325def4c47SEmmanuel Vadot		reg = <0x0>;
1335def4c47SEmmanuel Vadot	};
1345def4c47SEmmanuel Vadot};
1355def4c47SEmmanuel Vadot
136c66ec88fSEmmanuel Vadot&i2c0 {
137c66ec88fSEmmanuel Vadot	status = "okay";
138c66ec88fSEmmanuel Vadot
1398bab661aSEmmanuel Vadot	i2c-mux@77 {
140c66ec88fSEmmanuel Vadot		compatible = "nxp,pca9547";
141c66ec88fSEmmanuel Vadot		reg = <0x77>;
142c66ec88fSEmmanuel Vadot		#address-cells = <1>;
143c66ec88fSEmmanuel Vadot		#size-cells = <0>;
144c66ec88fSEmmanuel Vadot
145c66ec88fSEmmanuel Vadot		i2c@2 {
146c66ec88fSEmmanuel Vadot			#address-cells = <1>;
147c66ec88fSEmmanuel Vadot			#size-cells = <0>;
148c66ec88fSEmmanuel Vadot			reg = <0x2>;
149c66ec88fSEmmanuel Vadot
150c66ec88fSEmmanuel Vadot			ina220@40 {
151c66ec88fSEmmanuel Vadot				compatible = "ti,ina220";
152c66ec88fSEmmanuel Vadot				reg = <0x40>;
153c66ec88fSEmmanuel Vadot				shunt-resistor = <1000>;
154c66ec88fSEmmanuel Vadot			};
155c66ec88fSEmmanuel Vadot		};
156c66ec88fSEmmanuel Vadot
157c66ec88fSEmmanuel Vadot		i2c@3 {
158c66ec88fSEmmanuel Vadot			#address-cells = <1>;
159c66ec88fSEmmanuel Vadot			#size-cells = <0>;
160c66ec88fSEmmanuel Vadot			reg = <0x3>;
161c66ec88fSEmmanuel Vadot
162c66ec88fSEmmanuel Vadot			temp-sensor@4c {
163c66ec88fSEmmanuel Vadot				compatible = "adi,adt7461a";
164c66ec88fSEmmanuel Vadot				reg = <0x4c>;
165c66ec88fSEmmanuel Vadot			};
166c66ec88fSEmmanuel Vadot
167c66ec88fSEmmanuel Vadot			rtc@51 {
168c66ec88fSEmmanuel Vadot				compatible = "nxp,pcf2129";
169c66ec88fSEmmanuel Vadot				reg = <0x51>;
1705def4c47SEmmanuel Vadot				/* IRQ_RTC_B -> IRQ0_B(CPLD) -> IRQ00(CPU), active low */
1715def4c47SEmmanuel Vadot				interrupts-extended = <&extirq 0 IRQ_TYPE_LEVEL_LOW>;
172c66ec88fSEmmanuel Vadot			};
173*b2d2a78aSEmmanuel Vadot
174*b2d2a78aSEmmanuel Vadot			rtc@53 {
175*b2d2a78aSEmmanuel Vadot				compatible = "nxp,pcf2131";
176*b2d2a78aSEmmanuel Vadot				reg = <0x53>;
177*b2d2a78aSEmmanuel Vadot				/* IRQ_RTC_B -> IRQ0_B(CPLD) -> IRQ00(CPU), active low */
178*b2d2a78aSEmmanuel Vadot				interrupts-extended = <&extirq 0 IRQ_TYPE_LEVEL_LOW>;
179*b2d2a78aSEmmanuel Vadot			};
180c66ec88fSEmmanuel Vadot		};
181c66ec88fSEmmanuel Vadot	};
182c66ec88fSEmmanuel Vadot};
183c66ec88fSEmmanuel Vadot
184c66ec88fSEmmanuel Vadot&ifc {
185c66ec88fSEmmanuel Vadot	ranges = <0 0 0x5 0x30000000 0x00010000
186c66ec88fSEmmanuel Vadot		  2 0 0x5 0x20000000 0x00010000>;
187c66ec88fSEmmanuel Vadot	status = "okay";
188c66ec88fSEmmanuel Vadot
189c66ec88fSEmmanuel Vadot	nand@0,0 {
190c66ec88fSEmmanuel Vadot		compatible = "fsl,ifc-nand";
191c66ec88fSEmmanuel Vadot		reg = <0x0 0x0 0x10000>;
192c66ec88fSEmmanuel Vadot	};
193c66ec88fSEmmanuel Vadot
194c66ec88fSEmmanuel Vadot	fpga: board-control@2,0 {
195c66ec88fSEmmanuel Vadot		compatible = "fsl,ls1088ardb-fpga", "fsl,fpga-qixis";
196c66ec88fSEmmanuel Vadot		reg = <0x2 0x0 0x0000100>;
197c66ec88fSEmmanuel Vadot	};
198c66ec88fSEmmanuel Vadot};
199c66ec88fSEmmanuel Vadot
200c66ec88fSEmmanuel Vadot&duart0 {
201c66ec88fSEmmanuel Vadot	status = "okay";
202c66ec88fSEmmanuel Vadot};
203c66ec88fSEmmanuel Vadot
204c66ec88fSEmmanuel Vadot&duart1 {
205c66ec88fSEmmanuel Vadot	status = "okay";
206c66ec88fSEmmanuel Vadot};
207c66ec88fSEmmanuel Vadot
208c66ec88fSEmmanuel Vadot&esdhc {
209c66ec88fSEmmanuel Vadot	mmc-hs200-1_8v;
210c66ec88fSEmmanuel Vadot	status = "okay";
211c66ec88fSEmmanuel Vadot};
212c66ec88fSEmmanuel Vadot
2135def4c47SEmmanuel Vadot&pcs_mdio2 {
2145def4c47SEmmanuel Vadot	status = "okay";
2155def4c47SEmmanuel Vadot};
2165def4c47SEmmanuel Vadot
2175def4c47SEmmanuel Vadot&pcs_mdio3 {
2185def4c47SEmmanuel Vadot	status = "okay";
2195def4c47SEmmanuel Vadot};
2205def4c47SEmmanuel Vadot
2215def4c47SEmmanuel Vadot&pcs_mdio7 {
2225def4c47SEmmanuel Vadot	status = "okay";
2235def4c47SEmmanuel Vadot};
2245def4c47SEmmanuel Vadot
225c66ec88fSEmmanuel Vadot&qspi {
226c66ec88fSEmmanuel Vadot	status = "okay";
227c66ec88fSEmmanuel Vadot
228c66ec88fSEmmanuel Vadot	s25fs512s0: flash@0 {
229c66ec88fSEmmanuel Vadot		compatible = "jedec,spi-nor";
230c66ec88fSEmmanuel Vadot		#address-cells = <1>;
231c66ec88fSEmmanuel Vadot		#size-cells = <1>;
232c66ec88fSEmmanuel Vadot		spi-max-frequency = <50000000>;
233c66ec88fSEmmanuel Vadot		spi-rx-bus-width = <4>;
234c66ec88fSEmmanuel Vadot		spi-tx-bus-width = <1>;
235c66ec88fSEmmanuel Vadot		reg = <0>;
236c66ec88fSEmmanuel Vadot	};
237c66ec88fSEmmanuel Vadot
238c66ec88fSEmmanuel Vadot	s25fs512s1: flash@1 {
239c66ec88fSEmmanuel Vadot		compatible = "jedec,spi-nor";
240c66ec88fSEmmanuel Vadot		#address-cells = <1>;
241c66ec88fSEmmanuel Vadot		#size-cells = <1>;
242c66ec88fSEmmanuel Vadot		spi-max-frequency = <50000000>;
243c66ec88fSEmmanuel Vadot		spi-rx-bus-width = <4>;
244c66ec88fSEmmanuel Vadot		spi-tx-bus-width = <1>;
245c66ec88fSEmmanuel Vadot		reg = <1>;
246c66ec88fSEmmanuel Vadot	};
247c66ec88fSEmmanuel Vadot};
248c66ec88fSEmmanuel Vadot
249c66ec88fSEmmanuel Vadot&sata {
250c66ec88fSEmmanuel Vadot	status = "okay";
251c66ec88fSEmmanuel Vadot};
252c66ec88fSEmmanuel Vadot
253c66ec88fSEmmanuel Vadot&usb0 {
254c66ec88fSEmmanuel Vadot	status = "okay";
255c66ec88fSEmmanuel Vadot};
256c66ec88fSEmmanuel Vadot
257c66ec88fSEmmanuel Vadot&usb1 {
258c66ec88fSEmmanuel Vadot	dr_mode = "otg";
259c66ec88fSEmmanuel Vadot	status = "okay";
260c66ec88fSEmmanuel Vadot};
261