blob: eeba99f84dedb0e7fa7646872c1327c3f6820809 [file] [log] [blame]
Hou Zhiqiangbd74ea12019-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.
Madalin Bucurffe706d2020-04-30 16:00:13 +03006 * Copyright 2019-2020 NXP
Hou Zhiqiangbd74ea12019-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 Bucurffe706d2020-04-30 16:00:13 +030017
18 aliases {
19 sg_2500_aqr105_phy4 = &sg_2500_aqr105_phy4;
Xiaowei Bao9ec8a582020-09-21 12:43:20 +053020 spi0 = &espi0;
Madalin Bucurffe706d2020-04-30 16:00:13 +030021 };
22
23 soc: soc@ffe000000 {
24 ranges = <0x00000000 0xf 0xfe000000 0x1000000>;
25 reg = <0xf 0xfe000000 0 0x00001000>;
26
27 fman@400000 {
28 fm1mac1: ethernet@e0000 {
29 phy-handle = <&xg_aqr105_phy3>;
30 phy-connection-type = "xgmii";
31 };
32
33 fm1mac2: ethernet@e2000 {
34 };
35
36 fm1mac3: ethernet@e4000 {
37 phy-handle = <&rgmii_phy2>;
38 phy-connection-type = "rgmii";
39 };
40
41 fm1mac4: ethernet@e6000 {
42 phy-handle = <&rgmii_phy1>;
43 phy-connection-type = "rgmii";
44 };
45
46 mdio0: mdio@fc000 {
47 rgmii_phy1: ethernet-phy@2 {
48 reg = <0x2>;
49 };
50 rgmii_phy2: ethernet-phy@6 {
51 reg = <0x6>;
52 };
53 };
54
55 xmdio0: mdio@fd000 {
56 xg_aqr105_phy3: ethernet-phy@1 {
57 compatible = "ethernet-phy-ieee802.3-c45";
58 reg = <0x1>;
59 };
60 sg_2500_aqr105_phy4: ethernet-phy@2 {
61 compatible = "ethernet-phy-ieee802.3-c45";
62 reg = <0x2>;
63 };
64 };
65 };
66 };
Xiaowei Bao9ec8a582020-09-21 12:43:20 +053067};
Madalin Bucurffe706d2020-04-30 16:00:13 +030068
Xiaowei Bao9ec8a582020-09-21 12:43:20 +053069&espi0 {
70 status = "okay";
71 flash@0 {
72 compatible = "jedec,spi-nor";
73 #address-cells = <1>;
74 #size-cells = <1>;
75 reg = <0>;
76 /* input clock */
77 spi-max-frequency = <10000000>;
78 };
Hou Zhiqiangbd74ea12019-08-20 09:35:26 +000079};
Madalin Bucurffe706d2020-04-30 16:00:13 +030080
81#include "t1024si-post.dtsi"