Hou Zhiqiang | fa36028 | 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 | d640abf | 2021-04-13 19:48:04 +0300 | [diff] [blame] | 6 | * Copyright 2019-2021 NXP |
Hou Zhiqiang | fa36028 | 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 | 4f085f7 | 2020-06-04 23:16:56 +0800 | [diff] [blame] | 17 | |
| 18 | aliases { |
| 19 | spi0 = &espi0; |
| 20 | }; |
| 21 | }; |
| 22 | |
Camelia Groza | d640abf | 2021-04-13 19:48:04 +0300 | [diff] [blame] | 23 | &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 Bao | 4f085f7 | 2020-06-04 23:16:56 +0800 | [diff] [blame] | 74 | &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 Zhiqiang | fa36028 | 2019-08-20 09:35:27 +0000 | [diff] [blame] | 83 | }; |
Camelia Groza | d640abf | 2021-04-13 19:48:04 +0300 | [diff] [blame] | 84 | |
| 85 | /include/ "t1042si-post.dtsi" |