blob: 66d718905c7de2d5d7e3781d09b5be516f1bf0ae [file] [log] [blame]
Tom Rini4549e782018-05-06 18:27:01 -04001// SPDX-License-Identifier: GPL-2.0+ OR X11
Mingkai Hudd029362016-09-07 18:47:28 +08002/*
3 * Device Tree Include file for Freescale Layerscape-1046A family SoC.
4 *
5 * Copyright 2016, Freescale Semiconductor
Madalin Bucur8de63012020-04-23 16:25:15 +03006 * Copyright 2020 NXP
Mingkai Hudd029362016-09-07 18:47:28 +08007 *
8 * Mingkai Hu <Mingkai.hu@freescale.com>
Mingkai Hudd029362016-09-07 18:47:28 +08009 */
10
11/dts-v1/;
Camelia Groza250f7452023-06-16 16:18:35 +030012#include "fsl-ls1046a.dtsi"
Mingkai Hudd029362016-09-07 18:47:28 +080013
14/ {
15 model = "LS1046A RDB Board";
16
17 aliases {
18 spi0 = &qspi;
Camelia Groza250f7452023-06-16 16:18:35 +030019 serial0 = &duart0;
20 serial1 = &duart1;
21 serial2 = &duart2;
22 serial3 = &duart3;
Mingkai Hudd029362016-09-07 18:47:28 +080023 };
24
25};
26
Camelia Groza250f7452023-06-16 16:18:35 +030027&duart0 {
28 status = "okay";
29};
30
31&duart1 {
32 status = "okay";
33};
34
Mingkai Hudd029362016-09-07 18:47:28 +080035&qspi {
Mingkai Hudd029362016-09-07 18:47:28 +080036 status = "okay";
37
Kuldeep Singhb480bcc2019-12-12 11:49:24 +053038 s25fs512s0: flash@0 {
Mingkai Hudd029362016-09-07 18:47:28 +080039 #address-cells = <1>;
40 #size-cells = <1>;
Neil Armstrongffd4c7c2019-02-10 10:16:20 +000041 compatible = "jedec,spi-nor";
Mingkai Hudd029362016-09-07 18:47:28 +080042 spi-max-frequency = <50000000>;
43 reg = <0>;
44 };
45
Kuldeep Singhb480bcc2019-12-12 11:49:24 +053046 s25fs512s1: flash@1 {
Mingkai Hudd029362016-09-07 18:47:28 +080047 #address-cells = <1>;
48 #size-cells = <1>;
Neil Armstrongffd4c7c2019-02-10 10:16:20 +000049 compatible = "jedec,spi-nor";
Mingkai Hudd029362016-09-07 18:47:28 +080050 spi-max-frequency = <50000000>;
51 reg = <1>;
52 };
53};
Peng Ma539e0cb2018-10-11 10:34:20 +000054
55&sata {
56 status = "okay";
57};
Biwen Libb1165f2020-02-05 22:02:17 +080058
59&i2c0 {
60 status = "okay";
61};
62
63&i2c3 {
64 status = "okay";
65};
Madalin Bucur8de63012020-04-23 16:25:15 +030066
67#include "fsl-ls1046-post.dtsi"
68
69&fman0 {
70 ethernet@e4000 {
71 phy-handle = <&rgmii_phy1>;
72 phy-connection-type = "rgmii-id";
73 status = "okay";
74 };
75
76 ethernet@e6000 {
77 phy-handle = <&rgmii_phy2>;
78 phy-connection-type = "rgmii-id";
79 status = "okay";
80 };
81
82 ethernet@e8000 {
83 phy-handle = <&sgmii_phy1>;
84 phy-connection-type = "sgmii";
85 status = "okay";
86 };
87
88 ethernet@ea000 {
89 phy-handle = <&sgmii_phy2>;
90 phy-connection-type = "sgmii";
91 status = "okay";
92 };
93
94 ethernet@f0000 { /* 10GEC1 */
95 phy-handle = <&aqr106_phy>;
96 phy-connection-type = "xgmii";
97 status = "okay";
98 };
99
100 ethernet@f2000 { /* 10GEC2 */
101 fixed-link = <0 1 1000 0 0>;
102 phy-connection-type = "xgmii";
103 status = "okay";
104 };
105
106 mdio@fc000 {
107 rgmii_phy1: ethernet-phy@1 {
108 reg = <0x1>;
109 };
110
111 rgmii_phy2: ethernet-phy@2 {
112 reg = <0x2>;
113 };
114
115 sgmii_phy1: ethernet-phy@3 {
116 reg = <0x3>;
117 };
118
119 sgmii_phy2: ethernet-phy@4 {
120 reg = <0x4>;
121 };
122 };
123
124 mdio@fd000 {
125 aqr106_phy: ethernet-phy@0 {
126 compatible = "ethernet-phy-ieee802.3-c45";
127 interrupts = <0 131 4>;
128 reg = <0x0>;
129 };
130 };
131};