blob: ba10d212f1ade8f2a6e44cd4f8b022dbc63291a6 [file] [log] [blame]
Vabhav Sharma51641912019-06-06 12:35:28 +00001// SPDX-License-Identifier: GPL-2.0+ OR X11
2/*
3 * Device Tree Include file for NXP Layerscape-1046A family SoC.
4 *
Camelia Groza5c53b212023-06-07 14:20:45 +03005 * Copyright 2019-2023 NXP
Vabhav Sharma51641912019-06-06 12:35:28 +00006 *
7 */
8
9/dts-v1/;
Camelia Groza964f3bf2023-06-16 16:18:35 +030010#include "fsl-ls1046a.dtsi"
Vabhav Sharma51641912019-06-06 12:35:28 +000011
12/ {
13 model = "LS1046A FRWY Board";
14
15 aliases {
16 spi0 = &qspi;
Camelia Groza964f3bf2023-06-16 16:18:35 +030017 serial0 = &duart0;
18 serial1 = &duart1;
19 serial2 = &duart2;
20 serial3 = &duart3;
Vabhav Sharma51641912019-06-06 12:35:28 +000021 };
22
23};
24
Camelia Groza964f3bf2023-06-16 16:18:35 +030025&duart0 {
26 status = "okay";
27};
28
29&duart1 {
30 status = "okay";
31};
32
33&duart2 {
34 status = "okay";
35};
36
37&duart3 {
38 status = "okay";
39};
40
Vabhav Sharma51641912019-06-06 12:35:28 +000041&qspi {
Vabhav Sharma51641912019-06-06 12:35:28 +000042 status = "okay";
43
Kuldeep Singh4c380872019-12-12 11:49:24 +053044 mt25qu512a0: flash@0 {
Vabhav Sharma51641912019-06-06 12:35:28 +000045 #address-cells = <1>;
46 #size-cells = <1>;
Kuldeep Singh4c380872019-12-12 11:49:24 +053047 compatible = "jedec,spi-nor";
Vabhav Sharma51641912019-06-06 12:35:28 +000048 spi-max-frequency = <50000000>;
49 reg = <0>;
50 };
51
52};
53
Biwen Lif0018f52020-02-05 22:02:17 +080054&i2c0 {
55 status = "okay";
56};
Camelia Groza5c53b212023-06-07 14:20:45 +030057
58#include "fsl-ls1046-post.dtsi"
59
60&fman0 {
61 ethernet@e0000 {
62 phy-handle = <&qsgmii_phy4>;
63 phy-connection-type = "qsgmii";
64 status = "okay";
65 };
66
67 ethernet@e8000 {
68 phy-handle = <&qsgmii_phy2>;
69 phy-connection-type = "qsgmii";
70 status = "okay";
71 };
72
73 ethernet@ea000 {
74 phy-handle = <&qsgmii_phy1>;
75 phy-connection-type = "qsgmii";
76 status = "okay";
77 };
78
79 ethernet@f2000 {
80 phy-handle = <&qsgmii_phy3>;
81 phy-connection-type = "qsgmii";
82 status = "okay";
83 };
84
85 mdio@fd000 {
86 qsgmii_phy1: ethernet-phy@1c {
87 reg = <0x1c>;
88 };
89
90 qsgmii_phy2: ethernet-phy@1d {
91 reg = <0x1d>;
92 };
93
94 qsgmii_phy3: ethernet-phy@1e {
95 reg = <0x1e>;
96 };
97
98 qsgmii_phy4: ethernet-phy@1f {
99 reg = <0x1f>;
100 };
101 };
102};