blob: 5e9fab7a1057884051edc3c30b41f8b021f26bb4 [file] [log] [blame]
Hou Zhiqiangfa360282019-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 Grozad640abf2021-04-13 19:48:04 +03006 * Copyright 2019-2021 NXP
Hou Zhiqiangfa360282019-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 Bao4f085f72020-06-04 23:16:56 +080017
18 aliases {
19 spi0 = &espi0;
20 };
21};
22
Camelia Grozad640abf2021-04-13 19:48:04 +030023&soc {
24 fman0: fman@400000 {
25 ethernet@e0000 {
26 phy-handle = <&phy_sgmii_0>;
27 phy-connection-type = "sgmii";
28 };
29
30 ethernet@e2000 {
31 phy-handle = <&phy_sgmii_1>;
32 phy-connection-type = "sgmii";
33 };
34
35 ethernet@e4000 {
36 phy-handle = <&phy_sgmii_2>;
37 phy-connection-type = "sgmii";
38 };
39
40 ethernet@e6000 {
41 phy-handle = <&phy_rgmii_0>;
42 phy-connection-type = "rgmii";
43 };
44
45 ethernet@e8000 {
46 phy-handle = <&phy_rgmii_1>;
47 phy-connection-type = "rgmii";
48 };
49
50 mdio0: mdio@fc000 {
51 phy_sgmii_0: ethernet-phy@2 {
52 reg = <0x02>;
53 };
54
55 phy_sgmii_1: ethernet-phy@3 {
56 reg = <0x03>;
57 };
58
59 phy_sgmii_2: ethernet-phy@1 {
60 reg = <0x01>;
61 };
62
63 phy_rgmii_0: ethernet-phy@4 {
64 reg = <0x04>;
65 };
66
67 phy_rgmii_1: ethernet-phy@5 {
68 reg = <0x05>;
69 };
70 };
71 };
72};
73
Xiaowei Bao4f085f72020-06-04 23:16:56 +080074&espi0 {
75 status = "okay";
76 flash@0 {
77 compatible = "jedec,spi-nor";
78 #address-cells = <1>;
79 #size-cells = <1>;
80 reg = <0>;
81 spi-max-frequency = <10000000>; /* input clock */
82 };
Hou Zhiqiangfa360282019-08-20 09:35:27 +000083};
Camelia Grozad640abf2021-04-13 19:48:04 +030084
85/include/ "t1042si-post.dtsi"