17a2aeb91SLi Yang// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
27a5d7347SHarninder Rai/*
37a5d7347SHarninder Rai * Device Tree file for NXP LS1088A RDB Board.
47a5d7347SHarninder Rai *
57a5d7347SHarninder Rai * Copyright 2017 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
20*379b4f76SIoana Ciornei&dpmac2 {
21*379b4f76SIoana Ciornei	phy-handle = <&mdio2_aquantia_phy>;
22*379b4f76SIoana Ciornei	phy-connection-type = "10gbase-r";
23*379b4f76SIoana Ciornei	pcs-handle = <&pcs2>;
24*379b4f76SIoana Ciornei};
25*379b4f76SIoana 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 {
8673f034ccSIoana Ciornei		reg = <0xc>;
8773f034ccSIoana Ciornei	};
8873f034ccSIoana Ciornei
8973f034ccSIoana Ciornei	mdio1_phy6: ethernet-phy@d {
9073f034ccSIoana Ciornei		reg = <0xd>;
9173f034ccSIoana Ciornei	};
9273f034ccSIoana Ciornei
9373f034ccSIoana Ciornei	mdio1_phy7: ethernet-phy@e {
9473f034ccSIoana Ciornei		reg = <0xe>;
9573f034ccSIoana Ciornei	};
9673f034ccSIoana Ciornei
9773f034ccSIoana Ciornei	mdio1_phy8: ethernet-phy@f {
9873f034ccSIoana Ciornei		reg = <0xf>;
9973f034ccSIoana Ciornei	};
10073f034ccSIoana Ciornei
10173f034ccSIoana Ciornei	mdio1_phy1: ethernet-phy@1c {
10273f034ccSIoana Ciornei		reg = <0x1c>;
10373f034ccSIoana Ciornei	};
10473f034ccSIoana Ciornei
10573f034ccSIoana Ciornei	mdio1_phy2: ethernet-phy@1d {
10673f034ccSIoana Ciornei		reg = <0x1d>;
10773f034ccSIoana Ciornei	};
10873f034ccSIoana Ciornei
10973f034ccSIoana Ciornei	mdio1_phy3: ethernet-phy@1e {
11073f034ccSIoana Ciornei		reg = <0x1e>;
11173f034ccSIoana Ciornei	};
11273f034ccSIoana Ciornei
11373f034ccSIoana Ciornei	mdio1_phy4: ethernet-phy@1f {
11473f034ccSIoana Ciornei		reg = <0x1f>;
11573f034ccSIoana Ciornei	};
11673f034ccSIoana Ciornei};
11773f034ccSIoana Ciornei
118*379b4f76SIoana Ciornei&emdio2 {
119*379b4f76SIoana Ciornei	status = "okay";
120*379b4f76SIoana Ciornei
121*379b4f76SIoana Ciornei	mdio2_aquantia_phy: ethernet-phy@0 {
122*379b4f76SIoana Ciornei		compatible = "ethernet-phy-ieee802.3-c45";
123*379b4f76SIoana Ciornei		reg = <0x0>;
124*379b4f76SIoana Ciornei	};
125*379b4f76SIoana Ciornei};
126*379b4f76SIoana Ciornei
1277a5d7347SHarninder Rai&i2c0 {
1287a5d7347SHarninder Rai	status = "okay";
1297a5d7347SHarninder Rai
1307a5d7347SHarninder Rai	i2c-switch@77 {
1317a5d7347SHarninder Rai		compatible = "nxp,pca9547";
1327a5d7347SHarninder Rai		reg = <0x77>;
1337a5d7347SHarninder Rai		#address-cells = <1>;
1347a5d7347SHarninder Rai		#size-cells = <0>;
1357a5d7347SHarninder Rai
1367a5d7347SHarninder Rai		i2c@2 {
1377a5d7347SHarninder Rai			#address-cells = <1>;
1387a5d7347SHarninder Rai			#size-cells = <0>;
1397a5d7347SHarninder Rai			reg = <0x2>;
1407a5d7347SHarninder Rai
1417a5d7347SHarninder Rai			ina220@40 {
1427a5d7347SHarninder Rai				compatible = "ti,ina220";
1437a5d7347SHarninder Rai				reg = <0x40>;
1447a5d7347SHarninder Rai				shunt-resistor = <1000>;
1457a5d7347SHarninder Rai			};
1467a5d7347SHarninder Rai		};
1477a5d7347SHarninder Rai
1487a5d7347SHarninder Rai		i2c@3 {
1497a5d7347SHarninder Rai			#address-cells = <1>;
1507a5d7347SHarninder Rai			#size-cells = <0>;
1517a5d7347SHarninder Rai			reg = <0x3>;
1527a5d7347SHarninder Rai
1537a5d7347SHarninder Rai			temp-sensor@4c {
1547a5d7347SHarninder Rai				compatible = "adi,adt7461a";
1557a5d7347SHarninder Rai				reg = <0x4c>;
1567a5d7347SHarninder Rai			};
1577a5d7347SHarninder Rai
1587a5d7347SHarninder Rai			rtc@51 {
1597a5d7347SHarninder Rai				compatible = "nxp,pcf2129";
1607a5d7347SHarninder Rai				reg = <0x51>;
1617a5d7347SHarninder Rai				/* IRQ10_B */
1627a5d7347SHarninder Rai				interrupts = <0 150 IRQ_TYPE_LEVEL_HIGH>;
1637a5d7347SHarninder Rai			};
1647a5d7347SHarninder Rai		};
1657a5d7347SHarninder Rai	};
1667a5d7347SHarninder Rai};
1677a5d7347SHarninder Rai
168f9a14b3fSPrabhakar Kushwaha&ifc {
169f9a14b3fSPrabhakar Kushwaha	ranges = <0 0 0x5 0x30000000 0x00010000
170f9a14b3fSPrabhakar Kushwaha		  2 0 0x5 0x20000000 0x00010000>;
171f9a14b3fSPrabhakar Kushwaha	status = "okay";
172f9a14b3fSPrabhakar Kushwaha
173f9a14b3fSPrabhakar Kushwaha	nand@0,0 {
174f9a14b3fSPrabhakar Kushwaha		compatible = "fsl,ifc-nand";
175f9a14b3fSPrabhakar Kushwaha		reg = <0x0 0x0 0x10000>;
176f9a14b3fSPrabhakar Kushwaha	};
177f9a14b3fSPrabhakar Kushwaha
178f9a14b3fSPrabhakar Kushwaha	fpga: board-control@2,0 {
179f9a14b3fSPrabhakar Kushwaha		compatible = "fsl,ls1088ardb-fpga", "fsl,fpga-qixis";
180f9a14b3fSPrabhakar Kushwaha		reg = <0x2 0x0 0x0000100>;
181f9a14b3fSPrabhakar Kushwaha	};
182f9a14b3fSPrabhakar Kushwaha};
183f9a14b3fSPrabhakar Kushwaha
1847a5d7347SHarninder Rai&duart0 {
1857a5d7347SHarninder Rai	status = "okay";
1867a5d7347SHarninder Rai};
1877a5d7347SHarninder Rai
1887a5d7347SHarninder Rai&duart1 {
1897a5d7347SHarninder Rai	status = "okay";
1907a5d7347SHarninder Rai};
1917a5d7347SHarninder Rai
192e56ae178SYangbo Lu&esdhc {
1934671f9cfSYangbo Lu	mmc-hs200-1_8v;
194e56ae178SYangbo Lu	status = "okay";
195e56ae178SYangbo Lu};
196e56ae178SYangbo Lu
197*379b4f76SIoana Ciornei&pcs_mdio2 {
198*379b4f76SIoana Ciornei	status = "okay";
199*379b4f76SIoana Ciornei};
200*379b4f76SIoana Ciornei
20173f034ccSIoana Ciornei&pcs_mdio3 {
20273f034ccSIoana Ciornei	status = "okay";
20373f034ccSIoana Ciornei};
20473f034ccSIoana Ciornei
20573f034ccSIoana Ciornei&pcs_mdio7 {
20673f034ccSIoana Ciornei	status = "okay";
20773f034ccSIoana Ciornei};
20873f034ccSIoana Ciornei
20968a2b3fdSAshish Kumar&qspi {
21068a2b3fdSAshish Kumar	status = "okay";
21168a2b3fdSAshish Kumar
21268a2b3fdSAshish Kumar	s25fs512s0: flash@0 {
21368a2b3fdSAshish Kumar		compatible = "jedec,spi-nor";
21468a2b3fdSAshish Kumar		#address-cells = <1>;
21568a2b3fdSAshish Kumar		#size-cells = <1>;
21668a2b3fdSAshish Kumar		spi-max-frequency = <50000000>;
21768a2b3fdSAshish Kumar		spi-rx-bus-width = <4>;
21868a2b3fdSAshish Kumar		spi-tx-bus-width = <1>;
21968a2b3fdSAshish Kumar		reg = <0>;
22068a2b3fdSAshish Kumar	};
22168a2b3fdSAshish Kumar
22268a2b3fdSAshish Kumar	s25fs512s1: flash@1 {
22368a2b3fdSAshish Kumar		compatible = "jedec,spi-nor";
22468a2b3fdSAshish Kumar		#address-cells = <1>;
22568a2b3fdSAshish Kumar		#size-cells = <1>;
22668a2b3fdSAshish Kumar		spi-max-frequency = <50000000>;
22768a2b3fdSAshish Kumar		spi-rx-bus-width = <4>;
22868a2b3fdSAshish Kumar		spi-tx-bus-width = <1>;
22968a2b3fdSAshish Kumar		reg = <1>;
23068a2b3fdSAshish Kumar	};
23168a2b3fdSAshish Kumar};
23268a2b3fdSAshish Kumar
2337a5d7347SHarninder Rai&sata {
2347a5d7347SHarninder Rai	status = "okay";
2357a5d7347SHarninder Rai};
236df063a1fSyinbo.zhu
237df063a1fSyinbo.zhu&usb0 {
238df063a1fSyinbo.zhu	status = "okay";
239df063a1fSyinbo.zhu};
240df063a1fSyinbo.zhu
241df063a1fSyinbo.zhu&usb1 {
2424bfc5303SYinbo Zhu	dr_mode = "otg";
243df063a1fSyinbo.zhu	status = "okay";
244df063a1fSyinbo.zhu};
245