1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * Device Tree Include file for Freescale Layerscape-1043A family SoC.
5 * Copyright 2014-2015 Freescale Semiconductor, Inc.
6 * Copyright 2018-2021 NXP
8 * Mingkai Hu <Mingkai.hu@freescale.com>
12 #include "fsl-ls1043a.dtsi"
15 model = "LS1043A QDS Board";
16 compatible = "fsl,ls1043a-qds", "fsl,ls1043a";
27 sgmii-riser-s1-p1 = &sgmii_phy_s1_p1;
28 sgmii-riser-s2-p1 = &sgmii_phy_s2_p1;
29 sgmii-riser-s3-p1 = &sgmii_phy_s3_p1;
30 sgmii-riser-s4-p1 = &sgmii_phy_s4_p1;
31 qsgmii-s1-p1 = &qsgmii_phy_s1_p1;
32 qsgmii-s1-p2 = &qsgmii_phy_s1_p2;
33 qsgmii-s1-p3 = &qsgmii_phy_s1_p3;
34 qsgmii-s1-p4 = &qsgmii_phy_s1_p4;
35 qsgmii-s2-p1 = &qsgmii_phy_s2_p1;
36 qsgmii-s2-p2 = &qsgmii_phy_s2_p2;
37 qsgmii-s2-p3 = &qsgmii_phy_s2_p3;
38 qsgmii-s2-p4 = &qsgmii_phy_s2_p4;
39 emi1-slot1 = &ls1043mdio_s1;
40 emi1-slot2 = &ls1043mdio_s2;
41 emi1-slot3 = &ls1043mdio_s3;
42 emi1-slot4 = &ls1043mdio_s4;
46 stdout-path = "serial0:115200n8";
61 /* NOR, NAND Flashes and FPGA on board */
62 ranges = <0x0 0x0 0x0 0x60000000 0x08000000
63 0x1 0x0 0x0 0x7e800000 0x00010000
64 0x2 0x0 0x0 0x7fb00000 0x00000100>;
68 compatible = "cfi-flash";
69 reg = <0x0 0x0 0x8000000>;
76 compatible = "fsl,ifc-nand";
77 reg = <0x1 0x0 0x10000>;
80 fpga: board-control@2,0 {
81 compatible = "fsl,ls1043aqds-fpga", "fsl,fpga-qixis", "simple-mfd";
82 reg = <0x2 0x0 0x0000100>;
85 ranges = <0 2 0 0x100>;
93 compatible = "nxp,pca9547";
104 compatible = "dallas,ds3232";
107 interrupts = <0 150 0x4>;
112 #address-cells = <1>;
117 compatible = "ti,ina220";
119 shunt-resistor = <1000>;
123 compatible = "ti,ina220";
125 shunt-resistor = <1000>;
130 #address-cells = <1>;
135 compatible = "atmel,24c512";
140 compatible = "atmel,24c512";
145 compatible = "adi,adt7461a";
160 compatible = "spansion,m25p80";
161 #address-cells = <1>;
163 spi-max-frequency = <20000000>;
164 spi-rx-bus-width = <4>;
165 spi-tx-bus-width = <4>;
174 #include "fsl-ls1043-post.dtsi"
178 phy-handle = <&qsgmii_phy_s2_p1>;
179 phy-connection-type = "sgmii";
183 phy-handle = <&qsgmii_phy_s2_p2>;
184 phy-connection-type = "sgmii";
188 phy-handle = <&rgmii_phy1>;
189 phy-connection-type = "rgmii";
193 phy-handle = <&rgmii_phy2>;
194 phy-connection-type = "rgmii";
198 phy-handle = <&qsgmii_phy_s2_p3>;
199 phy-connection-type = "sgmii";
203 phy-handle = <&qsgmii_phy_s2_p4>;
204 phy-connection-type = "sgmii";
207 ethernet@f0000 { /* DTSEC9/10GEC1 */
208 fixed-link = <1 1 10000 0 0>;
209 phy-connection-type = "xgmii";
215 compatible = "mdio-mux-mmioreg", "mdio-mux";
216 mdio-parent-bus = <&mdio0>;
217 #address-cells = <1>;
219 reg = <0x54 1>; /* BRDCFG4 */
220 mux-mask = <0xe0>; /* EMI1 */
222 /* On-board RGMII1 PHY */
223 ls1043mdio0: mdio@0 {
225 #address-cells = <1>;
228 rgmii_phy1: ethernet-phy@1 { /* MAC3 */
233 /* On-board RGMII2 PHY */
234 ls1043mdio1: mdio@20 {
236 #address-cells = <1>;
239 rgmii_phy2: ethernet-phy@2 { /* MAC4 */
245 ls1043mdio_s1: mdio@40 {
247 #address-cells = <1>;
251 qsgmii_phy_s1_p1: ethernet-phy@4 {
255 qsgmii_phy_s1_p2: ethernet-phy@5 {
259 qsgmii_phy_s1_p3: ethernet-phy@6 {
263 qsgmii_phy_s1_p4: ethernet-phy@7 {
267 sgmii_phy_s1_p1: ethernet-phy@1c {
273 ls1043mdio_s2: mdio@60 {
275 #address-cells = <1>;
279 qsgmii_phy_s2_p1: ethernet-phy@8 {
283 qsgmii_phy_s2_p2: ethernet-phy@9 {
287 qsgmii_phy_s2_p3: ethernet-phy@a {
291 qsgmii_phy_s2_p4: ethernet-phy@b {
295 sgmii_phy_s2_p1: ethernet-phy@1c {
301 ls1043mdio_s3: mdio@80 {
303 #address-cells = <1>;
307 sgmii_phy_s3_p1: ethernet-phy@1c {
313 ls1043mdio_s4: mdio@a0 {
315 #address-cells = <1>;
319 sgmii_phy_s4_p1: ethernet-phy@1c {