blob: cac65a7afad9fd36ba83a431fd4e94cf21cbb277 [file] [log] [blame]
Tom Rini8b0c8a12018-05-06 18:27:01 -04001// SPDX-License-Identifier: GPL-2.0+ OR X11
Mingkai Hud2396512016-09-07 18:47:28 +08002/*
3 * Device Tree Include file for Freescale Layerscape-1046A family SoC.
4 *
5 * Copyright 2016, Freescale Semiconductor
Madalin Bucur2297a292020-04-23 16:25:15 +03006 * Copyright 2020 NXP
Mingkai Hud2396512016-09-07 18:47:28 +08007 *
8 * Mingkai Hu <Mingkai.hu@freescale.com>
Mingkai Hud2396512016-09-07 18:47:28 +08009 */
10
11/dts-v1/;
12/include/ "fsl-ls1046a.dtsi"
13
14/ {
15 model = "LS1046A RDB Board";
16
17 aliases {
18 spi0 = &qspi;
19 };
20
21};
22
23&qspi {
24 bus-num = <0>;
25 status = "okay";
26
27 qflash0: s25fs512s@0 {
28 #address-cells = <1>;
29 #size-cells = <1>;
Neil Armstronga009fa72019-02-10 10:16:20 +000030 compatible = "jedec,spi-nor";
Mingkai Hud2396512016-09-07 18:47:28 +080031 spi-max-frequency = <50000000>;
32 reg = <0>;
33 };
34
35 qflash1: s25fs512s@1 {
36 #address-cells = <1>;
37 #size-cells = <1>;
Neil Armstronga009fa72019-02-10 10:16:20 +000038 compatible = "jedec,spi-nor";
Mingkai Hud2396512016-09-07 18:47:28 +080039 spi-max-frequency = <50000000>;
40 reg = <1>;
41 };
42};
Peng Maa31ad2f2018-10-11 10:34:20 +000043
44&sata {
45 status = "okay";
46};
Biwen Lif0018f52020-02-05 22:02:17 +080047
48&i2c0 {
49 status = "okay";
50};
51
52&i2c3 {
53 status = "okay";
54};
Madalin Bucur2297a292020-04-23 16:25:15 +030055
56#include "fsl-ls1046-post.dtsi"
57
58&fman0 {
59 ethernet@e4000 {
60 phy-handle = <&rgmii_phy1>;
61 phy-connection-type = "rgmii-id";
62 status = "okay";
63 };
64
65 ethernet@e6000 {
66 phy-handle = <&rgmii_phy2>;
67 phy-connection-type = "rgmii-id";
68 status = "okay";
69 };
70
71 ethernet@e8000 {
72 phy-handle = <&sgmii_phy1>;
73 phy-connection-type = "sgmii";
74 status = "okay";
75 };
76
77 ethernet@ea000 {
78 phy-handle = <&sgmii_phy2>;
79 phy-connection-type = "sgmii";
80 status = "okay";
81 };
82
83 ethernet@f0000 { /* 10GEC1 */
84 phy-handle = <&aqr106_phy>;
85 phy-connection-type = "xgmii";
86 status = "okay";
87 };
88
89 ethernet@f2000 { /* 10GEC2 */
90 fixed-link = <0 1 1000 0 0>;
91 phy-connection-type = "xgmii";
92 status = "okay";
93 };
94
95 mdio@fc000 {
96 rgmii_phy1: ethernet-phy@1 {
97 reg = <0x1>;
98 };
99
100 rgmii_phy2: ethernet-phy@2 {
101 reg = <0x2>;
102 };
103
104 sgmii_phy1: ethernet-phy@3 {
105 reg = <0x3>;
106 };
107
108 sgmii_phy2: ethernet-phy@4 {
109 reg = <0x4>;
110 };
111 };
112
113 mdio@fd000 {
114 aqr106_phy: ethernet-phy@0 {
115 compatible = "ethernet-phy-ieee802.3-c45";
116 interrupts = <0 131 4>;
117 reg = <0x0>;
118 };
119 };
120};