blob: 0230d3ba6754ebbc69d77ab09c4f64a697937948 [file] [log] [blame]
Hou Zhiqiang03258352019-08-20 09:35:27 +00001// SPDX-License-Identifier: GPL-2.0+ OR X11
2/*
3 * T1042D4RDB Device Tree Source
4 *
5 * Copyright 2013 - 2015 Freescale Semiconductor Inc.
Camelia Groza56a88382023-07-11 15:49:26 +03006 * Copyright 2019-2023 NXP
Hou Zhiqiang03258352019-08-20 09:35:27 +00007 */
8
9/include/ "t104x.dtsi"
10
11/ {
12 model = "fsl,T1042D4RDB";
13 compatible = "fsl,T1042D4RDB";
14 #address-cells = <2>;
15 #size-cells = <2>;
16 interrupt-parent = <&mpic>;
Xiaowei Bao5eb8e492020-06-04 23:16:56 +080017
18 aliases {
19 spi0 = &espi0;
Camelia Groza56a88382023-07-11 15:49:26 +030020 serial0 = &serial0;
21 serial1 = &serial1;
22 serial2 = &serial2;
23 serial3 = &serial3;
Xiaowei Bao5eb8e492020-06-04 23:16:56 +080024 };
25};
26
Camelia Groza05f12222021-04-13 19:48:04 +030027&soc {
28 fman0: fman@400000 {
29 ethernet@e0000 {
30 phy-handle = <&phy_sgmii_0>;
31 phy-connection-type = "sgmii";
32 };
33
34 ethernet@e2000 {
35 phy-handle = <&phy_sgmii_1>;
36 phy-connection-type = "sgmii";
37 };
38
39 ethernet@e4000 {
40 phy-handle = <&phy_sgmii_2>;
41 phy-connection-type = "sgmii";
42 };
43
44 ethernet@e6000 {
45 phy-handle = <&phy_rgmii_0>;
46 phy-connection-type = "rgmii";
47 };
48
49 ethernet@e8000 {
50 phy-handle = <&phy_rgmii_1>;
51 phy-connection-type = "rgmii";
52 };
53
54 mdio0: mdio@fc000 {
55 phy_sgmii_0: ethernet-phy@2 {
56 reg = <0x02>;
57 };
58
59 phy_sgmii_1: ethernet-phy@3 {
60 reg = <0x03>;
61 };
62
63 phy_sgmii_2: ethernet-phy@1 {
64 reg = <0x01>;
65 };
66
67 phy_rgmii_0: ethernet-phy@4 {
68 reg = <0x04>;
69 };
70
71 phy_rgmii_1: ethernet-phy@5 {
72 reg = <0x05>;
73 };
74 };
75 };
76};
77
Xiaowei Bao5eb8e492020-06-04 23:16:56 +080078&espi0 {
79 status = "okay";
80 flash@0 {
81 compatible = "jedec,spi-nor";
82 #address-cells = <1>;
83 #size-cells = <1>;
84 reg = <0>;
85 spi-max-frequency = <10000000>; /* input clock */
86 };
Hou Zhiqiang03258352019-08-20 09:35:27 +000087};
Camelia Groza05f12222021-04-13 19:48:04 +030088
89/include/ "t1042si-post.dtsi"