blob: f5b3bb68b3db47e66e934fcb392d2471652f2b7c [file] [log] [blame]
Tom Rini8b0c8a12018-05-06 18:27:01 -04001// SPDX-License-Identifier: GPL-2.0+ OR X11
Gong Qianyu5e847792015-11-11 17:58:36 +08002/*
3 * Device Tree Include file for Freescale Layerscape-1043A family SoC.
4 *
5 * Copyright (C) 2015, Freescale Semiconductor
Camelia Groza84736952021-06-16 16:22:12 +03006 * Copyright 2020-2021 NXP
Gong Qianyu5e847792015-11-11 17:58:36 +08007 *
8 * Mingkai Hu <Mingkai.hu@freescale.com>
Gong Qianyu5e847792015-11-11 17:58:36 +08009 */
10
11/dts-v1/;
Camelia Groza8bac8e92023-06-16 16:18:32 +030012#include "fsl-ls1043a.dtsi"
Gong Qianyu5e847792015-11-11 17:58:36 +080013
14/ {
15 model = "LS1043A RDB Board";
Gong Qianyu8a43f132015-11-11 17:58:39 +080016
17 aliases {
18 spi1 = &dspi0;
Camelia Groza8bac8e92023-06-16 16:18:32 +030019 serial0 = &duart0;
20 serial1 = &duart1;
21 serial2 = &duart2;
22 serial3 = &duart3;
Gong Qianyu8a43f132015-11-11 17:58:39 +080023 };
24
25};
26
27&dspi0 {
28 bus-num = <0>;
29 status = "okay";
30
31 dspiflash: n25q12a {
32 #address-cells = <1>;
33 #size-cells = <1>;
Neil Armstronga009fa72019-02-10 10:16:20 +000034 compatible = "jedec,spi-nor";
Gong Qianyu8a43f132015-11-11 17:58:39 +080035 reg = <0>;
36 spi-max-frequency = <1000000>; /* input clock */
37 };
38
Gong Qianyu5e847792015-11-11 17:58:36 +080039};
40
41&i2c0 {
42 status = "okay";
43 ina220@40 {
44 compatible = "ti,ina220";
45 reg = <0x40>;
46 shunt-resistor = <1000>;
47 };
48 adt7461a@4c {
49 compatible = "adi,adt7461a";
50 reg = <0x4c>;
51 };
Hou Zhiqiang02f04472016-12-06 15:27:48 +080052 eeprom@52 {
Gong Qianyu5e847792015-11-11 17:58:36 +080053 compatible = "at24,24c512";
54 reg = <0x52>;
55 };
56
Hou Zhiqiang02f04472016-12-06 15:27:48 +080057 eeprom@53 {
Gong Qianyu5e847792015-11-11 17:58:36 +080058 compatible = "at24,24c512";
59 reg = <0x53>;
60 };
61
62 rtc@68 {
63 compatible = "pericom,pt7c4338";
64 reg = <0x68>;
65 };
66};
67
68&ifc {
69 status = "okay";
70 #address-cells = <2>;
71 #size-cells = <1>;
72 /* NOR, NAND Flashes and FPGA on board */
73 ranges = <0x0 0x0 0x0 0x60000000 0x08000000
Hou Zhiqiang501abde2016-12-06 15:27:49 +080074 0x1 0x0 0x0 0x7e800000 0x00010000
75 0x2 0x0 0x0 0x7fb00000 0x00000100>;
Gong Qianyu5e847792015-11-11 17:58:36 +080076
77 nor@0,0 {
78 compatible = "cfi-flash";
79 #address-cells = <1>;
80 #size-cells = <1>;
81 reg = <0x0 0x0 0x8000000>;
82 bank-width = <2>;
83 device-width = <1>;
84 };
85
86 nand@1,0 {
87 compatible = "fsl,ifc-nand";
88 #address-cells = <1>;
89 #size-cells = <1>;
90 reg = <0x1 0x0 0x10000>;
91 };
92
93 cpld: board-control@2,0 {
94 compatible = "fsl,ls1043ardb-cpld";
95 reg = <0x2 0x0 0x0000100>;
96 };
97};
98
99&duart0 {
100 status = "okay";
101};
102
103&duart1 {
104 status = "okay";
105};
Madalin Bucurd0d3e5e2020-04-23 16:25:13 +0300106
107#include "fsl-ls1043-post.dtsi"
108
109&fman0 {
110 ethernet@e0000 {
111 phy-handle = <&qsgmii_phy1>;
112 phy-connection-type = "qsgmii";
113 status = "okay";
114 };
115
116 ethernet@e2000 {
117 phy-handle = <&qsgmii_phy2>;
118 phy-connection-type = "qsgmii";
119 status = "okay";
120 };
121
122 ethernet@e4000 {
123 phy-handle = <&rgmii_phy1>;
Camelia Groza84736952021-06-16 16:22:12 +0300124 phy-connection-type = "rgmii-id";
Madalin Bucurd0d3e5e2020-04-23 16:25:13 +0300125 status = "okay";
126 };
127
128 ethernet@e6000 {
129 phy-handle = <&rgmii_phy2>;
Camelia Groza84736952021-06-16 16:22:12 +0300130 phy-connection-type = "rgmii-id";
Madalin Bucurd0d3e5e2020-04-23 16:25:13 +0300131 status = "okay";
132 };
133
134 ethernet@e8000 {
135 phy-handle = <&qsgmii_phy3>;
136 phy-connection-type = "qsgmii";
137 status = "okay";
138 };
139
140 ethernet@ea000 {
141 phy-handle = <&qsgmii_phy4>;
142 phy-connection-type = "qsgmii";
143 status = "okay";
144 };
145
146 ethernet@f0000 { /* 10GEC1 */
147 phy-handle = <&aqr105_phy>;
148 phy-connection-type = "xgmii";
149 status = "okay";
150 };
151
152 mdio@fc000 {
153 rgmii_phy1: ethernet-phy@1 {
154 reg = <0x1>;
155 };
156
157 rgmii_phy2: ethernet-phy@2 {
158 reg = <0x2>;
159 };
160
161 qsgmii_phy1: ethernet-phy@4 {
162 reg = <0x4>;
163 };
164
165 qsgmii_phy2: ethernet-phy@5 {
166 reg = <0x5>;
167 };
168
169 qsgmii_phy3: ethernet-phy@6 {
170 reg = <0x6>;
171 };
172
173 qsgmii_phy4: ethernet-phy@7 {
174 reg = <0x7>;
175 };
176 };
177
178 mdio@fd000 {
179 aqr105_phy: ethernet-phy@1 {
180 compatible = "ethernet-phy-ieee802.3-c45";
181 interrupts = <0 132 4>;
182 reg = <0x1>;
183 };
184 };
185};