blob: afaf90cb599a16c1b9de0f250b2c84d906f3135f [file] [log] [blame]
Hou Zhiqiangfe812802019-08-20 09:35:26 +00001// SPDX-License-Identifier: GPL-2.0+ OR X11
2/*
3 * T1024RDB Device Tree Source
4 *
5 * Copyright 2013 - 2015 Freescale Semiconductor Inc.
Camelia Groza100c8de2023-07-11 15:49:31 +03006 * Copyright 2019-2023 NXP
Hou Zhiqiangfe812802019-08-20 09:35:26 +00007 */
8
9/include/ "t102x.dtsi"
10
11/ {
12 model = "fsl,T1024RDB";
13 compatible = "fsl,T1024RDB";
14 #address-cells = <2>;
15 #size-cells = <2>;
16 interrupt-parent = <&mpic>;
Madalin Bucur31697b92020-04-30 16:00:13 +030017
18 aliases {
19 sg_2500_aqr105_phy4 = &sg_2500_aqr105_phy4;
Camelia Groza100c8de2023-07-11 15:49:31 +030020 serial0 = &serial0;
21 serial1 = &serial1;
22 serial2 = &serial2;
23 serial3 = &serial3;
Xiaowei Bao98609502020-09-21 12:43:20 +053024 spi0 = &espi0;
Madalin Bucur31697b92020-04-30 16:00:13 +030025 };
26
27 soc: soc@ffe000000 {
28 ranges = <0x00000000 0xf 0xfe000000 0x1000000>;
29 reg = <0xf 0xfe000000 0 0x00001000>;
30
31 fman@400000 {
32 fm1mac1: ethernet@e0000 {
33 phy-handle = <&xg_aqr105_phy3>;
34 phy-connection-type = "xgmii";
35 };
36
37 fm1mac2: ethernet@e2000 {
38 };
39
40 fm1mac3: ethernet@e4000 {
41 phy-handle = <&rgmii_phy2>;
42 phy-connection-type = "rgmii";
43 };
44
45 fm1mac4: ethernet@e6000 {
46 phy-handle = <&rgmii_phy1>;
47 phy-connection-type = "rgmii";
48 };
49
50 mdio0: mdio@fc000 {
51 rgmii_phy1: ethernet-phy@2 {
52 reg = <0x2>;
53 };
54 rgmii_phy2: ethernet-phy@6 {
55 reg = <0x6>;
56 };
57 };
58
59 xmdio0: mdio@fd000 {
60 xg_aqr105_phy3: ethernet-phy@1 {
61 compatible = "ethernet-phy-ieee802.3-c45";
62 reg = <0x1>;
63 };
64 sg_2500_aqr105_phy4: ethernet-phy@2 {
65 compatible = "ethernet-phy-ieee802.3-c45";
66 reg = <0x2>;
67 };
68 };
69 };
70 };
Xiaowei Bao98609502020-09-21 12:43:20 +053071};
Madalin Bucur31697b92020-04-30 16:00:13 +030072
Xiaowei Bao98609502020-09-21 12:43:20 +053073&espi0 {
74 status = "okay";
75 flash@0 {
76 compatible = "jedec,spi-nor";
77 #address-cells = <1>;
78 #size-cells = <1>;
79 reg = <0>;
80 /* input clock */
81 spi-max-frequency = <10000000>;
82 };
Hou Zhiqiangfe812802019-08-20 09:35:26 +000083};
Madalin Bucur31697b92020-04-30 16:00:13 +030084
85#include "t1024si-post.dtsi"