Hou Zhiqiang | fe81280 | 2019-08-20 09:35:26 +0000 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ OR X11 |
| 2 | /* |
| 3 | * T1024RDB Device Tree Source |
| 4 | * |
| 5 | * Copyright 2013 - 2015 Freescale Semiconductor Inc. |
Camelia Groza | 100c8de | 2023-07-11 15:49:31 +0300 | [diff] [blame^] | 6 | * Copyright 2019-2023 NXP |
Hou Zhiqiang | fe81280 | 2019-08-20 09:35:26 +0000 | [diff] [blame] | 7 | */ |
| 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 Bucur | 31697b9 | 2020-04-30 16:00:13 +0300 | [diff] [blame] | 17 | |
| 18 | aliases { |
| 19 | sg_2500_aqr105_phy4 = &sg_2500_aqr105_phy4; |
Camelia Groza | 100c8de | 2023-07-11 15:49:31 +0300 | [diff] [blame^] | 20 | serial0 = &serial0; |
| 21 | serial1 = &serial1; |
| 22 | serial2 = &serial2; |
| 23 | serial3 = &serial3; |
Xiaowei Bao | 9860950 | 2020-09-21 12:43:20 +0530 | [diff] [blame] | 24 | spi0 = &espi0; |
Madalin Bucur | 31697b9 | 2020-04-30 16:00:13 +0300 | [diff] [blame] | 25 | }; |
| 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 Bao | 9860950 | 2020-09-21 12:43:20 +0530 | [diff] [blame] | 71 | }; |
Madalin Bucur | 31697b9 | 2020-04-30 16:00:13 +0300 | [diff] [blame] | 72 | |
Xiaowei Bao | 9860950 | 2020-09-21 12:43:20 +0530 | [diff] [blame] | 73 | &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 Zhiqiang | fe81280 | 2019-08-20 09:35:26 +0000 | [diff] [blame] | 83 | }; |
Madalin Bucur | 31697b9 | 2020-04-30 16:00:13 +0300 | [diff] [blame] | 84 | |
| 85 | #include "t1024si-post.dtsi" |