1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * Device Tree Include file for Freescale Layerscape-1046A family SoC.
5 * Copyright 2016 Freescale Semiconductor, Inc.
6 * Copyright 2018-2019 NXP
8 * Shaohui Xie <Shaohui.Xie@nxp.com>
13 #include "fsl-ls1046a.dtsi"
16 model = "LS1046A QDS Board";
17 compatible = "fsl,ls1046a-qds", "fsl,ls1046a";
20 emi1-slot1 = &ls1046mdio_s1;
21 emi1-slot2 = &ls1046mdio_s2;
22 emi1-slot4 = &ls1046mdio_s4;
27 qsgmii-s2-p1 = &qsgmii_phy_s2_p1;
28 qsgmii-s2-p2 = &qsgmii_phy_s2_p2;
29 qsgmii-s2-p3 = &qsgmii_phy_s2_p3;
30 qsgmii-s2-p4 = &qsgmii_phy_s2_p4;
35 sgmii-s1-p1 = &sgmii_phy_s1_p1;
36 sgmii-s1-p2 = &sgmii_phy_s1_p2;
37 sgmii-s1-p3 = &sgmii_phy_s1_p3;
38 sgmii-s1-p4 = &sgmii_phy_s1_p4;
39 sgmii-s4-p1 = &sgmii_phy_s4_p1;
43 stdout-path = "serial0:115200n8";
54 compatible = "n25q128a11", "jedec,spi-nor";
56 spi-max-frequency = <10000000>;
62 compatible = "sst25wf040b", "jedec,spi-nor";
66 spi-max-frequency = <10000000>;
72 compatible = "en25s64", "jedec,spi-nor";
76 spi-max-frequency = <10000000>;
92 compatible = "nxp,pca9547";
103 compatible = "ti,ina220";
105 shunt-resistor = <1000>;
109 compatible = "ti,ina220";
111 shunt-resistor = <1000>;
116 #address-cells = <1>;
121 compatible = "nxp,pcf2129";
124 interrupts = <0 150 0x4>;
128 compatible = "atmel,24c512";
133 compatible = "atmel,24c512";
138 compatible = "adi,adt7461a";
146 #address-cells = <2>;
148 /* NOR, NAND Flashes and FPGA on board */
149 ranges = <0x0 0x0 0x0 0x60000000 0x08000000
150 0x1 0x0 0x0 0x7e800000 0x00010000
151 0x2 0x0 0x0 0x7fb00000 0x00000100>;
155 compatible = "cfi-flash";
156 reg = <0x0 0x0 0x8000000>;
163 compatible = "fsl,ifc-nand";
164 reg = <0x1 0x0 0x10000>;
167 fpga: board-control@2,0 {
168 compatible = "fsl,ls1046aqds-fpga", "fsl,fpga-qixis", "simple-mfd";
169 reg = <0x2 0x0 0x0000100>;
170 ranges = <0 2 0 0x100>;
182 compatible = "spansion,m25p80";
183 #address-cells = <1>;
185 spi-max-frequency = <50000000>;
186 spi-rx-bus-width = <4>;
187 spi-tx-bus-width = <4>;
192 #include "fsl-ls1046-post.dtsi"
196 phy-handle = <&qsgmii_phy_s2_p1>;
197 phy-connection-type = "sgmii";
201 phy-handle = <&sgmii_phy_s4_p1>;
202 phy-connection-type = "sgmii";
206 phy-handle = <&rgmii_phy1>;
207 phy-connection-type = "rgmii";
211 phy-handle = <&rgmii_phy2>;
212 phy-connection-type = "rgmii";
216 phy-handle = <&sgmii_phy_s1_p3>;
217 phy-connection-type = "sgmii";
221 phy-handle = <&sgmii_phy_s1_p4>;
222 phy-connection-type = "sgmii";
225 ethernet@f0000 { /* DTSEC9/10GEC1 */
226 phy-handle = <&sgmii_phy_s1_p1>;
227 phy-connection-type = "xgmii";
230 ethernet@f2000 { /* DTSEC10/10GEC2 */
231 phy-handle = <&sgmii_phy_s1_p2>;
232 phy-connection-type = "xgmii";
237 #address-cells = <1>;
241 compatible = "mdio-mux-mmioreg", "mdio-mux";
242 mdio-parent-bus = <&mdio0>;
243 #address-cells = <1>;
245 reg = <0x54 1>; /* BRDCFG4 */
246 mux-mask = <0xe0>; /* EMI1 */
248 /* On-board RGMII1 PHY */
249 ls1046mdio0: mdio@0 {
251 #address-cells = <1>;
254 rgmii_phy1: ethernet-phy@1 { /* MAC3 */
259 /* On-board RGMII2 PHY */
260 ls1046mdio1: mdio@1 {
262 #address-cells = <1>;
265 rgmii_phy2: ethernet-phy@2 { /* MAC4 */
271 ls1046mdio_s1: mdio@2 {
273 #address-cells = <1>;
277 sgmii_phy_s1_p1: ethernet-phy@1c {
281 sgmii_phy_s1_p2: ethernet-phy@1d {
285 sgmii_phy_s1_p3: ethernet-phy@1e {
289 sgmii_phy_s1_p4: ethernet-phy@1f {
295 ls1046mdio_s2: mdio@3 {
297 #address-cells = <1>;
301 qsgmii_phy_s2_p1: ethernet-phy@8 {
305 qsgmii_phy_s2_p2: ethernet-phy@9 {
309 qsgmii_phy_s2_p3: ethernet-phy@a {
313 qsgmii_phy_s2_p4: ethernet-phy@b {
319 ls1046mdio_s4: mdio@5 {
321 #address-cells = <1>;
325 sgmii_phy_s4_p1: ethernet-phy@1c {