Merge branch 'for-2023.07' of https://source.denx.de/u-boot/custodians/u-boot-mpc8xx
[platform/kernel/u-boot.git] / arch / arm / dts / fsl-lx2160a-rdb.dts
1 // SPDX-License-Identifier: GPL-2.0+ OR X11
2 /*
3  * NXP LX2160ARDB device tree source
4  *
5  * Author:      Priyanka Jain <priyanka.jain@nxp.com>
6  *              Sriram Dash <sriram.dash@nxp.com>
7  *
8  * Copyright 2018, 2023 NXP
9  *
10  */
11
12 /dts-v1/;
13
14 #include "fsl-lx2160a.dtsi"
15
16 / {
17         model = "NXP Layerscape LX2160ARDB Board";
18         compatible = "fsl,lx2160ardb", "fsl,lx2160a";
19         aliases {
20                 spi0 = &fspi;
21                 serial0 = &uart0;
22         };
23 };
24
25 &dpmac3 {
26         status = "okay";
27         phy-handle = <&aquantia_phy1>;
28         phy-connection-type = "usxgmii";
29 };
30
31 &dpmac4 {
32         status = "okay";
33         phy-handle = <&aquantia_phy2>;
34         phy-connection-type = "usxgmii";
35 };
36
37 &dpmac17 {
38         status = "okay";
39         phy-handle = <&rgmii_phy1>;
40         phy-connection-type = "rgmii-id";
41 };
42
43 &dpmac18 {
44         status = "okay";
45         phy-handle = <&rgmii_phy2>;
46         phy-connection-type = "rgmii-id";
47 };
48
49 &emdio1 {
50         status = "okay";
51         rgmii_phy1: ethernet-phy@1 {
52                 /* AR8035 PHY - "compatible" property not strictly needed */
53                 compatible = "ethernet-phy-id004d.d072";
54                 reg = <0x1>;
55                 /* Poll mode - no "interrupts" property defined */
56         };
57         rgmii_phy2: ethernet-phy@2 {
58                 /* AR8035 PHY - "compatible" property not strictly needed */
59                 compatible = "ethernet-phy-id004d.d072";
60                 reg = <0x2>;
61                 /* Poll mode - no "interrupts" property defined */
62         };
63         aquantia_phy1: ethernet-phy@4 {
64                 /* AQR107 PHY - "compatible" property not strictly needed */
65                 compatible = "ethernet-phy-ieee802.3-c45";
66                 interrupts = <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>;
67                 reg = <0x4>;
68         };
69         aquantia_phy2: ethernet-phy@5 {
70                 /* AQR107 PHY - "compatible" property not strictly needed */
71                 compatible = "ethernet-phy-ieee802.3-c45";
72                 interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>;
73                 reg = <0x5>;
74         };
75 };
76
77 &esdhc0 {
78         status = "okay";
79 };
80
81 &esdhc1 {
82         status = "okay";
83         mmc-hs200-1_8v;
84         mmc-hs400-1_8v;
85         bus-width = <8>;
86 };
87
88 &fspi {
89         status = "okay";
90
91         mt35xu512aba0: flash@0 {
92                 #address-cells = <1>;
93                 #size-cells = <1>;
94                 compatible = "jedec,spi-nor";
95                 spi-max-frequency = <50000000>;
96                 reg = <0>;
97                 spi-rx-bus-width = <8>;
98                 spi-tx-bus-width = <1>;
99         };
100
101         mt35xu512aba1: flash@1 {
102                 #address-cells = <1>;
103                 #size-cells = <1>;
104                 compatible = "jedec,spi-nor";
105                 spi-max-frequency = <50000000>;
106                 reg = <1>;
107                 spi-rx-bus-width = <8>;
108                 spi-tx-bus-width = <1>;
109         };
110 };
111
112 &i2c0 {
113         status = "okay";
114         bootph-all;
115 };
116
117 &i2c4 {
118         status = "okay";
119
120         rtc@51 {
121                 compatible = "nxp,pcf2129";
122                 reg = <0x51>;
123         };
124 };
125
126 &sata0 {
127         status = "okay";
128 };
129
130 &sata1 {
131         status = "okay";
132 };
133
134 &sata2 {
135         status = "okay";
136 };
137
138 &sata3 {
139         status = "okay";
140 };
141
142 &uart0 {
143         status = "okay";
144 };
145
146 &uart1 {
147         status = "okay";
148 };