17a2aeb91SLi Yang// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
27a5d7347SHarninder Rai/*
37a5d7347SHarninder Rai * Device Tree file for NXP LS1088A RDB Board.
47a5d7347SHarninder Rai *
509b19ef8SBiwen Li * Copyright 2017-2020 NXP
67a5d7347SHarninder Rai *
77a5d7347SHarninder Rai * Harninder Rai <harninder.rai@nxp.com>
87a5d7347SHarninder Rai *
97a5d7347SHarninder Rai */
107a5d7347SHarninder Rai
117a5d7347SHarninder Rai/dts-v1/;
127a5d7347SHarninder Rai
137a5d7347SHarninder Rai#include "fsl-ls1088a.dtsi"
147a5d7347SHarninder Rai
157a5d7347SHarninder Rai/ {
16f83de4f0SAshish Kumar	model = "LS1088A RDB Board";
177a5d7347SHarninder Rai	compatible = "fsl,ls1088a-rdb", "fsl,ls1088a";
187a5d7347SHarninder Rai};
197a5d7347SHarninder Rai
20379b4f76SIoana Ciornei&dpmac2 {
21379b4f76SIoana Ciornei	phy-handle = <&mdio2_aquantia_phy>;
22379b4f76SIoana Ciornei	phy-connection-type = "10gbase-r";
23379b4f76SIoana Ciornei	pcs-handle = <&pcs2>;
24379b4f76SIoana Ciornei};
25379b4f76SIoana Ciornei
2673f034ccSIoana Ciornei&dpmac3 {
2773f034ccSIoana Ciornei	phy-handle = <&mdio1_phy5>;
2873f034ccSIoana Ciornei	phy-connection-type = "qsgmii";
2973f034ccSIoana Ciornei	managed = "in-band-status";
3073f034ccSIoana Ciornei	pcs-handle = <&pcs3_0>;
3173f034ccSIoana Ciornei};
3273f034ccSIoana Ciornei
3373f034ccSIoana Ciornei&dpmac4 {
3473f034ccSIoana Ciornei	phy-handle = <&mdio1_phy6>;
3573f034ccSIoana Ciornei	phy-connection-type = "qsgmii";
3673f034ccSIoana Ciornei	managed = "in-band-status";
3773f034ccSIoana Ciornei	pcs-handle = <&pcs3_1>;
3873f034ccSIoana Ciornei};
3973f034ccSIoana Ciornei
4073f034ccSIoana Ciornei&dpmac5 {
4173f034ccSIoana Ciornei	phy-handle = <&mdio1_phy7>;
4273f034ccSIoana Ciornei	phy-connection-type = "qsgmii";
4373f034ccSIoana Ciornei	managed = "in-band-status";
4473f034ccSIoana Ciornei	pcs-handle = <&pcs3_2>;
4573f034ccSIoana Ciornei};
4673f034ccSIoana Ciornei
4773f034ccSIoana Ciornei&dpmac6 {
4873f034ccSIoana Ciornei	phy-handle = <&mdio1_phy8>;
4973f034ccSIoana Ciornei	phy-connection-type = "qsgmii";
5073f034ccSIoana Ciornei	managed = "in-band-status";
5173f034ccSIoana Ciornei	pcs-handle = <&pcs3_3>;
5273f034ccSIoana Ciornei};
5373f034ccSIoana Ciornei
5473f034ccSIoana Ciornei&dpmac7 {
5573f034ccSIoana Ciornei	phy-handle = <&mdio1_phy1>;
5673f034ccSIoana Ciornei	phy-connection-type = "qsgmii";
5773f034ccSIoana Ciornei	managed = "in-band-status";
5873f034ccSIoana Ciornei	pcs-handle = <&pcs7_0>;
5973f034ccSIoana Ciornei};
6073f034ccSIoana Ciornei
6173f034ccSIoana Ciornei&dpmac8 {
6273f034ccSIoana Ciornei	phy-handle = <&mdio1_phy2>;
6373f034ccSIoana Ciornei	phy-connection-type = "qsgmii";
6473f034ccSIoana Ciornei	managed = "in-band-status";
6573f034ccSIoana Ciornei	pcs-handle = <&pcs7_1>;
6673f034ccSIoana Ciornei};
6773f034ccSIoana Ciornei
6873f034ccSIoana Ciornei&dpmac9 {
6973f034ccSIoana Ciornei	phy-handle = <&mdio1_phy3>;
7073f034ccSIoana Ciornei	phy-connection-type = "qsgmii";
7173f034ccSIoana Ciornei	managed = "in-band-status";
7273f034ccSIoana Ciornei	pcs-handle = <&pcs7_2>;
7373f034ccSIoana Ciornei};
7473f034ccSIoana Ciornei
7573f034ccSIoana Ciornei&dpmac10 {
7673f034ccSIoana Ciornei	phy-handle = <&mdio1_phy4>;
7773f034ccSIoana Ciornei	phy-connection-type = "qsgmii";
7873f034ccSIoana Ciornei	managed = "in-band-status";
7973f034ccSIoana Ciornei	pcs-handle = <&pcs7_3>;
8073f034ccSIoana Ciornei};
8173f034ccSIoana Ciornei
8273f034ccSIoana Ciornei&emdio1 {
8373f034ccSIoana Ciornei	status = "okay";
8473f034ccSIoana Ciornei
8573f034ccSIoana Ciornei	mdio1_phy5: ethernet-phy@c {
8616fe55baSIoana Ciornei		interrupts-extended = <&extirq 1 IRQ_TYPE_LEVEL_LOW>;
8773f034ccSIoana Ciornei		reg = <0xc>;
8873f034ccSIoana Ciornei	};
8973f034ccSIoana Ciornei
9073f034ccSIoana Ciornei	mdio1_phy6: ethernet-phy@d {
9116fe55baSIoana Ciornei		interrupts-extended = <&extirq 1 IRQ_TYPE_LEVEL_LOW>;
9273f034ccSIoana Ciornei		reg = <0xd>;
9373f034ccSIoana Ciornei	};
9473f034ccSIoana Ciornei
9573f034ccSIoana Ciornei	mdio1_phy7: ethernet-phy@e {
9616fe55baSIoana Ciornei		interrupts-extended = <&extirq 1 IRQ_TYPE_LEVEL_LOW>;
9773f034ccSIoana Ciornei		reg = <0xe>;
9873f034ccSIoana Ciornei	};
9973f034ccSIoana Ciornei
10073f034ccSIoana Ciornei	mdio1_phy8: ethernet-phy@f {
10116fe55baSIoana Ciornei		interrupts-extended = <&extirq 1 IRQ_TYPE_LEVEL_LOW>;
10273f034ccSIoana Ciornei		reg = <0xf>;
10373f034ccSIoana Ciornei	};
10473f034ccSIoana Ciornei
10573f034ccSIoana Ciornei	mdio1_phy1: ethernet-phy@1c {
10616fe55baSIoana Ciornei		interrupts-extended = <&extirq 1 IRQ_TYPE_LEVEL_LOW>;
10773f034ccSIoana Ciornei		reg = <0x1c>;
10873f034ccSIoana Ciornei	};
10973f034ccSIoana Ciornei
11073f034ccSIoana Ciornei	mdio1_phy2: ethernet-phy@1d {
11116fe55baSIoana Ciornei		interrupts-extended = <&extirq 1 IRQ_TYPE_LEVEL_LOW>;
11273f034ccSIoana Ciornei		reg = <0x1d>;
11373f034ccSIoana Ciornei	};
11473f034ccSIoana Ciornei
11573f034ccSIoana Ciornei	mdio1_phy3: ethernet-phy@1e {
11616fe55baSIoana Ciornei		interrupts-extended = <&extirq 1 IRQ_TYPE_LEVEL_LOW>;
11773f034ccSIoana Ciornei		reg = <0x1e>;
11873f034ccSIoana Ciornei	};
11973f034ccSIoana Ciornei
12073f034ccSIoana Ciornei	mdio1_phy4: ethernet-phy@1f {
12116fe55baSIoana Ciornei		interrupts-extended = <&extirq 1 IRQ_TYPE_LEVEL_LOW>;
12273f034ccSIoana Ciornei		reg = <0x1f>;
12373f034ccSIoana Ciornei	};
12473f034ccSIoana Ciornei};
12573f034ccSIoana Ciornei
126379b4f76SIoana Ciornei&emdio2 {
127379b4f76SIoana Ciornei	status = "okay";
128379b4f76SIoana Ciornei
129379b4f76SIoana Ciornei	mdio2_aquantia_phy: ethernet-phy@0 {
130379b4f76SIoana Ciornei		compatible = "ethernet-phy-ieee802.3-c45";
13116fe55baSIoana Ciornei		interrupts-extended = <&extirq 2 IRQ_TYPE_LEVEL_LOW>;
132379b4f76SIoana Ciornei		reg = <0x0>;
133379b4f76SIoana Ciornei	};
134379b4f76SIoana Ciornei};
135379b4f76SIoana Ciornei
1367a5d7347SHarninder Rai&i2c0 {
1377a5d7347SHarninder Rai	status = "okay";
1387a5d7347SHarninder Rai
139*b025b4f5SGeert Uytterhoeven	i2c-mux@77 {
1407a5d7347SHarninder Rai		compatible = "nxp,pca9547";
1417a5d7347SHarninder Rai		reg = <0x77>;
1427a5d7347SHarninder Rai		#address-cells = <1>;
1437a5d7347SHarninder Rai		#size-cells = <0>;
1447a5d7347SHarninder Rai
1457a5d7347SHarninder Rai		i2c@2 {
1467a5d7347SHarninder Rai			#address-cells = <1>;
1477a5d7347SHarninder Rai			#size-cells = <0>;
1487a5d7347SHarninder Rai			reg = <0x2>;
1497a5d7347SHarninder Rai
1507a5d7347SHarninder Rai			ina220@40 {
1517a5d7347SHarninder Rai				compatible = "ti,ina220";
1527a5d7347SHarninder Rai				reg = <0x40>;
1537a5d7347SHarninder Rai				shunt-resistor = <1000>;
1547a5d7347SHarninder Rai			};
1557a5d7347SHarninder Rai		};
1567a5d7347SHarninder Rai
1577a5d7347SHarninder Rai		i2c@3 {
1587a5d7347SHarninder Rai			#address-cells = <1>;
1597a5d7347SHarninder Rai			#size-cells = <0>;
1607a5d7347SHarninder Rai			reg = <0x3>;
1617a5d7347SHarninder Rai
1627a5d7347SHarninder Rai			temp-sensor@4c {
1637a5d7347SHarninder Rai				compatible = "adi,adt7461a";
1647a5d7347SHarninder Rai				reg = <0x4c>;
1657a5d7347SHarninder Rai			};
1667a5d7347SHarninder Rai
1677a5d7347SHarninder Rai			rtc@51 {
1687a5d7347SHarninder Rai				compatible = "nxp,pcf2129";
1697a5d7347SHarninder Rai				reg = <0x51>;
17009b19ef8SBiwen Li				/* IRQ_RTC_B -> IRQ0_B(CPLD) -> IRQ00(CPU), active low */
17109b19ef8SBiwen Li				interrupts-extended = <&extirq 0 IRQ_TYPE_LEVEL_LOW>;
1727a5d7347SHarninder Rai			};
1737a5d7347SHarninder Rai		};
1747a5d7347SHarninder Rai	};
1757a5d7347SHarninder Rai};
1767a5d7347SHarninder Rai
177f9a14b3fSPrabhakar Kushwaha&ifc {
178f9a14b3fSPrabhakar Kushwaha	ranges = <0 0 0x5 0x30000000 0x00010000
179f9a14b3fSPrabhakar Kushwaha		  2 0 0x5 0x20000000 0x00010000>;
180f9a14b3fSPrabhakar Kushwaha	status = "okay";
181f9a14b3fSPrabhakar Kushwaha
182f9a14b3fSPrabhakar Kushwaha	nand@0,0 {
183f9a14b3fSPrabhakar Kushwaha		compatible = "fsl,ifc-nand";
184f9a14b3fSPrabhakar Kushwaha		reg = <0x0 0x0 0x10000>;
185f9a14b3fSPrabhakar Kushwaha	};
186f9a14b3fSPrabhakar Kushwaha
187f9a14b3fSPrabhakar Kushwaha	fpga: board-control@2,0 {
188f9a14b3fSPrabhakar Kushwaha		compatible = "fsl,ls1088ardb-fpga", "fsl,fpga-qixis";
189f9a14b3fSPrabhakar Kushwaha		reg = <0x2 0x0 0x0000100>;
190f9a14b3fSPrabhakar Kushwaha	};
191f9a14b3fSPrabhakar Kushwaha};
192f9a14b3fSPrabhakar Kushwaha
1937a5d7347SHarninder Rai&duart0 {
1947a5d7347SHarninder Rai	status = "okay";
1957a5d7347SHarninder Rai};
1967a5d7347SHarninder Rai
1977a5d7347SHarninder Rai&duart1 {
1987a5d7347SHarninder Rai	status = "okay";
1997a5d7347SHarninder Rai};
2007a5d7347SHarninder Rai
201e56ae178SYangbo Lu&esdhc {
2024671f9cfSYangbo Lu	mmc-hs200-1_8v;
203e56ae178SYangbo Lu	status = "okay";
204e56ae178SYangbo Lu};
205e56ae178SYangbo Lu
206379b4f76SIoana Ciornei&pcs_mdio2 {
207379b4f76SIoana Ciornei	status = "okay";
208379b4f76SIoana Ciornei};
209379b4f76SIoana Ciornei
21073f034ccSIoana Ciornei&pcs_mdio3 {
21173f034ccSIoana Ciornei	status = "okay";
21273f034ccSIoana Ciornei};
21373f034ccSIoana Ciornei
21473f034ccSIoana Ciornei&pcs_mdio7 {
21573f034ccSIoana Ciornei	status = "okay";
21673f034ccSIoana Ciornei};
21773f034ccSIoana Ciornei
21868a2b3fdSAshish Kumar&qspi {
21968a2b3fdSAshish Kumar	status = "okay";
22068a2b3fdSAshish Kumar
22168a2b3fdSAshish Kumar	s25fs512s0: flash@0 {
22268a2b3fdSAshish Kumar		compatible = "jedec,spi-nor";
22368a2b3fdSAshish Kumar		#address-cells = <1>;
22468a2b3fdSAshish Kumar		#size-cells = <1>;
22568a2b3fdSAshish Kumar		spi-max-frequency = <50000000>;
22668a2b3fdSAshish Kumar		spi-rx-bus-width = <4>;
22768a2b3fdSAshish Kumar		spi-tx-bus-width = <1>;
22868a2b3fdSAshish Kumar		reg = <0>;
22968a2b3fdSAshish Kumar	};
23068a2b3fdSAshish Kumar
23168a2b3fdSAshish Kumar	s25fs512s1: flash@1 {
23268a2b3fdSAshish Kumar		compatible = "jedec,spi-nor";
23368a2b3fdSAshish Kumar		#address-cells = <1>;
23468a2b3fdSAshish Kumar		#size-cells = <1>;
23568a2b3fdSAshish Kumar		spi-max-frequency = <50000000>;
23668a2b3fdSAshish Kumar		spi-rx-bus-width = <4>;
23768a2b3fdSAshish Kumar		spi-tx-bus-width = <1>;
23868a2b3fdSAshish Kumar		reg = <1>;
23968a2b3fdSAshish Kumar	};
24068a2b3fdSAshish Kumar};
24168a2b3fdSAshish Kumar
2427a5d7347SHarninder Rai&sata {
2437a5d7347SHarninder Rai	status = "okay";
2447a5d7347SHarninder Rai};
245df063a1fSyinbo.zhu
246df063a1fSyinbo.zhu&usb0 {
247df063a1fSyinbo.zhu	status = "okay";
248df063a1fSyinbo.zhu};
249df063a1fSyinbo.zhu
250df063a1fSyinbo.zhu&usb1 {
2514bfc5303SYinbo Zhu	dr_mode = "otg";
252df063a1fSyinbo.zhu	status = "okay";
253df063a1fSyinbo.zhu};
254