blob: a609290000f3793934c1067951e98ed51eb0c4ad [file] [log] [blame]
Tom Rini4549e782018-05-06 18:27:01 -04001// SPDX-License-Identifier: GPL-2.0+ OR X11
Priyanka Jain89a168f2017-04-28 10:41:35 +05302/*
3 * NXP ls2080a RDB board device tree source for QSPI-boot
4 *
5 * Author: Priyanka Jain <priyanka.jain@nxp.com>
6 *
7 * Copyright 2017 NXP
Priyanka Jain89a168f2017-04-28 10:41:35 +05308 */
9
10/dts-v1/;
11
12#include "fsl-ls2080a.dtsi"
13
14/ {
15 model = "Freescale Layerscape 2080a RDB Board";
16 compatible = "fsl,ls2080a-rdb", "fsl,ls2080a";
17
18 aliases {
19 spi0 = &qspi;
20 spi1 = &dspi;
21 };
22};
23
Ioana Ciornei87274912020-03-18 16:47:45 +020024&dpmac1 {
25 status = "okay";
26 phy-handle = <&mdio1_phy1>;
Vladimir Oltean77b11f72021-09-18 15:32:34 +030027 phy-connection-type = "10gbase-r";
Ioana Ciornei87274912020-03-18 16:47:45 +020028};
29
30&dpmac2 {
31 status = "okay";
32 phy-handle = <&mdio1_phy2>;
Vladimir Oltean77b11f72021-09-18 15:32:34 +030033 phy-connection-type = "10gbase-r";
Ioana Ciornei87274912020-03-18 16:47:45 +020034};
35
36&dpmac3 {
37 status = "okay";
38 phy-handle = <&mdio1_phy3>;
Vladimir Oltean77b11f72021-09-18 15:32:34 +030039 phy-connection-type = "10gbase-r";
Ioana Ciornei87274912020-03-18 16:47:45 +020040};
41
42&dpmac4 {
43 status = "okay";
44 phy-handle = <&mdio1_phy4>;
Vladimir Oltean77b11f72021-09-18 15:32:34 +030045 phy-connection-type = "10gbase-r";
Ioana Ciornei87274912020-03-18 16:47:45 +020046};
47
48&dpmac5 {
49 status = "okay";
50 phy-handle = <&mdio2_phy1>;
Vladimir Oltean77b11f72021-09-18 15:32:34 +030051 phy-connection-type = "10gbase-r";
Ioana Ciornei87274912020-03-18 16:47:45 +020052};
53
54&dpmac6 {
55 status = "okay";
56 phy-handle = <&mdio2_phy2>;
Vladimir Oltean77b11f72021-09-18 15:32:34 +030057 phy-connection-type = "10gbase-r";
Ioana Ciornei87274912020-03-18 16:47:45 +020058};
59
60&dpmac7 {
61 status = "okay";
62 phy-handle = <&mdio2_phy3>;
Vladimir Oltean77b11f72021-09-18 15:32:34 +030063 phy-connection-type = "10gbase-r";
Ioana Ciornei87274912020-03-18 16:47:45 +020064};
65
66&dpmac8 {
67 status = "okay";
68 phy-handle = <&mdio2_phy4>;
Vladimir Oltean77b11f72021-09-18 15:32:34 +030069 phy-connection-type = "10gbase-r";
Ioana Ciornei87274912020-03-18 16:47:45 +020070};
71
72&emdio1 {
73 status = "okay";
74
75 /* CS4340 PHYs */
76 mdio1_phy1: emdio1_phy@1 {
77 reg = <0x10>;
78 };
79 mdio1_phy2: emdio1_phy@2 {
80 reg = <0x11>;
81 };
82 mdio1_phy3: emdio1_phy@3 {
83 reg = <0x12>;
84 };
85 mdio1_phy4: emdio1_phy@4 {
86 reg = <0x13>;
87 };
88};
89
90&emdio2 {
91 status = "okay";
92
93 /* AQR405 PHYs */
94 mdio2_phy1: emdio2_phy@1 {
95 compatible = "ethernet-phy-ieee802.3-c45";
96 reg = <0x0>;
97 };
98 mdio2_phy2: emdio2_phy@2 {
99 compatible = "ethernet-phy-ieee802.3-c45";
100 reg = <0x1>;
101 };
102 mdio2_phy3: emdio2_phy@3 {
103 compatible = "ethernet-phy-ieee802.3-c45";
104 reg = <0x2>;
105 };
106 mdio2_phy4: emdio2_phy@4 {
107 compatible = "ethernet-phy-ieee802.3-c45";
108 reg = <0x3>;
109 };
110};
111
Priyanka Jain89a168f2017-04-28 10:41:35 +0530112&dspi {
113 bus-num = <0>;
114 status = "okay";
115
116 dflash0: n25q512a {
117 #address-cells = <1>;
118 #size-cells = <1>;
Neil Armstrongffd4c7c2019-02-10 10:16:20 +0000119 compatible = "jedec,spi-nor";
Priyanka Jain89a168f2017-04-28 10:41:35 +0530120 spi-max-frequency = <3000000>;
121 spi-cpol;
122 spi-cpha;
123 reg = <0>;
124 };
125};
126
127&qspi {
Priyanka Jain89a168f2017-04-28 10:41:35 +0530128 status = "okay";
129
Kuldeep Singhb480bcc2019-12-12 11:49:24 +0530130 s25fs512s0: flash@0 {
Priyanka Jain89a168f2017-04-28 10:41:35 +0530131 #address-cells = <1>;
132 #size-cells = <1>;
Neil Armstrongffd4c7c2019-02-10 10:16:20 +0000133 compatible = "jedec,spi-nor";
Priyanka Jain89a168f2017-04-28 10:41:35 +0530134 spi-max-frequency = <50000000>;
135 reg = <0>;
136 };
137
Kuldeep Singhb480bcc2019-12-12 11:49:24 +0530138 s25fs512s1: flash@1 {
Priyanka Jain89a168f2017-04-28 10:41:35 +0530139 #address-cells = <1>;
140 #size-cells = <1>;
Neil Armstrongffd4c7c2019-02-10 10:16:20 +0000141 compatible = "jedec,spi-nor";
Priyanka Jain89a168f2017-04-28 10:41:35 +0530142 spi-max-frequency = <50000000>;
143 reg = <1>;
144 };
145};
Rajesh Bhagat9570df02018-12-27 04:37:59 +0000146
Chuanhua Han6672ab12019-07-22 16:36:46 +0800147&i2c0 {
148 status = "okay";
Simon Glass8c103c32023-02-13 08:56:33 -0700149 bootph-all;
Chuanhua Han6672ab12019-07-22 16:36:46 +0800150
151 pca9547@75 {
152 compatible = "nxp,pca9547";
153 reg = <0x75>;
154 #address-cells = <1>;
155 #size-cells = <0>;
156
157 i2c@1 {
158 #address-cells = <1>;
159 #size-cells = <0>;
160 reg = <0x01>;
161 rtc@68 {
162 compatible = "dallas,ds3232";
163 reg = <0x68>;
164 };
165 };
166 };
167};
168
Rajesh Bhagat9570df02018-12-27 04:37:59 +0000169&sata {
170 status = "okay";
171};