Hou Zhiqiang | 0325835 | 2019-08-20 09:35:27 +0000 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ OR X11 |
| 2 | /* |
| 3 | * T1042D4RDB Device Tree Source |
| 4 | * |
| 5 | * Copyright 2013 - 2015 Freescale Semiconductor Inc. |
Camelia Groza | 56a8838 | 2023-07-11 15:49:26 +0300 | [diff] [blame] | 6 | * Copyright 2019-2023 NXP |
Hou Zhiqiang | 0325835 | 2019-08-20 09:35:27 +0000 | [diff] [blame] | 7 | */ |
| 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 Bao | 5eb8e49 | 2020-06-04 23:16:56 +0800 | [diff] [blame] | 17 | |
| 18 | aliases { |
| 19 | spi0 = &espi0; |
Camelia Groza | 56a8838 | 2023-07-11 15:49:26 +0300 | [diff] [blame] | 20 | serial0 = &serial0; |
| 21 | serial1 = &serial1; |
| 22 | serial2 = &serial2; |
| 23 | serial3 = &serial3; |
Xiaowei Bao | 5eb8e49 | 2020-06-04 23:16:56 +0800 | [diff] [blame] | 24 | }; |
| 25 | }; |
| 26 | |
Camelia Groza | 05f1222 | 2021-04-13 19:48:04 +0300 | [diff] [blame] | 27 | &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 Bao | 5eb8e49 | 2020-06-04 23:16:56 +0800 | [diff] [blame] | 78 | &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 Zhiqiang | 0325835 | 2019-08-20 09:35:27 +0000 | [diff] [blame] | 87 | }; |
Camelia Groza | 05f1222 | 2021-04-13 19:48:04 +0300 | [diff] [blame] | 88 | |
| 89 | /include/ "t1042si-post.dtsi" |