blob: 464129291c91d43fb86a4a7c8e1e1fe3a193bb06 [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/;
12/include/ "fsl-ls1046a.dtsi"
13
14/ {
15 model = "LS1046A RDB Board";
16
17 aliases {
18 spi0 = &qspi;
19 };
20
21};
22
23&qspi {
Mingkai Hudd029362016-09-07 18:47:28 +080024 status = "okay";
25
Kuldeep Singhb480bcc2019-12-12 11:49:24 +053026 s25fs512s0: flash@0 {
Mingkai Hudd029362016-09-07 18:47:28 +080027 #address-cells = <1>;
28 #size-cells = <1>;
Neil Armstrongffd4c7c2019-02-10 10:16:20 +000029 compatible = "jedec,spi-nor";
Mingkai Hudd029362016-09-07 18:47:28 +080030 spi-max-frequency = <50000000>;
31 reg = <0>;
32 };
33
Kuldeep Singhb480bcc2019-12-12 11:49:24 +053034 s25fs512s1: flash@1 {
Mingkai Hudd029362016-09-07 18:47:28 +080035 #address-cells = <1>;
36 #size-cells = <1>;
Neil Armstrongffd4c7c2019-02-10 10:16:20 +000037 compatible = "jedec,spi-nor";
Mingkai Hudd029362016-09-07 18:47:28 +080038 spi-max-frequency = <50000000>;
39 reg = <1>;
40 };
41};
Peng Ma539e0cb2018-10-11 10:34:20 +000042
43&sata {
44 status = "okay";
45};
Biwen Libb1165f2020-02-05 22:02:17 +080046
47&i2c0 {
48 status = "okay";
49};
50
51&i2c3 {
52 status = "okay";
53};
Madalin Bucur8de63012020-04-23 16:25:15 +030054
55#include "fsl-ls1046-post.dtsi"
56
57&fman0 {
58 ethernet@e4000 {
59 phy-handle = <&rgmii_phy1>;
60 phy-connection-type = "rgmii-id";
61 status = "okay";
62 };
63
64 ethernet@e6000 {
65 phy-handle = <&rgmii_phy2>;
66 phy-connection-type = "rgmii-id";
67 status = "okay";
68 };
69
70 ethernet@e8000 {
71 phy-handle = <&sgmii_phy1>;
72 phy-connection-type = "sgmii";
73 status = "okay";
74 };
75
76 ethernet@ea000 {
77 phy-handle = <&sgmii_phy2>;
78 phy-connection-type = "sgmii";
79 status = "okay";
80 };
81
82 ethernet@f0000 { /* 10GEC1 */
83 phy-handle = <&aqr106_phy>;
84 phy-connection-type = "xgmii";
85 status = "okay";
86 };
87
88 ethernet@f2000 { /* 10GEC2 */
89 fixed-link = <0 1 1000 0 0>;
90 phy-connection-type = "xgmii";
91 status = "okay";
92 };
93
94 mdio@fc000 {
95 rgmii_phy1: ethernet-phy@1 {
96 reg = <0x1>;
97 };
98
99 rgmii_phy2: ethernet-phy@2 {
100 reg = <0x2>;
101 };
102
103 sgmii_phy1: ethernet-phy@3 {
104 reg = <0x3>;
105 };
106
107 sgmii_phy2: ethernet-phy@4 {
108 reg = <0x4>;
109 };
110 };
111
112 mdio@fd000 {
113 aqr106_phy: ethernet-phy@0 {
114 compatible = "ethernet-phy-ieee802.3-c45";
115 interrupts = <0 131 4>;
116 reg = <0x0>;
117 };
118 };
119};