Tom Rini | 8b0c8a1 | 2018-05-06 18:27:01 -0400 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ OR X11 |
Mingkai Hu | d239651 | 2016-09-07 18:47:28 +0800 | [diff] [blame] | 2 | /* |
| 3 | * Device Tree Include file for Freescale Layerscape-1046A family SoC. |
| 4 | * |
| 5 | * Copyright 2016, Freescale Semiconductor |
Madalin Bucur | 2297a29 | 2020-04-23 16:25:15 +0300 | [diff] [blame] | 6 | * Copyright 2020 NXP |
Mingkai Hu | d239651 | 2016-09-07 18:47:28 +0800 | [diff] [blame] | 7 | * |
| 8 | * Mingkai Hu <Mingkai.hu@freescale.com> |
Mingkai Hu | d239651 | 2016-09-07 18:47:28 +0800 | [diff] [blame] | 9 | */ |
| 10 | |
| 11 | /dts-v1/; |
| 12 | /include/ "fsl-ls1046a.dtsi" |
| 13 | |
| 14 | / { |
| 15 | model = "LS1046A RDB Board"; |
| 16 | |
| 17 | aliases { |
| 18 | spi0 = &qspi; |
| 19 | }; |
| 20 | |
| 21 | }; |
| 22 | |
| 23 | &qspi { |
Mingkai Hu | d239651 | 2016-09-07 18:47:28 +0800 | [diff] [blame] | 24 | status = "okay"; |
| 25 | |
Kuldeep Singh | 4c38087 | 2019-12-12 11:49:24 +0530 | [diff] [blame] | 26 | s25fs512s0: flash@0 { |
Mingkai Hu | d239651 | 2016-09-07 18:47:28 +0800 | [diff] [blame] | 27 | #address-cells = <1>; |
| 28 | #size-cells = <1>; |
Neil Armstrong | a009fa7 | 2019-02-10 10:16:20 +0000 | [diff] [blame] | 29 | compatible = "jedec,spi-nor"; |
Mingkai Hu | d239651 | 2016-09-07 18:47:28 +0800 | [diff] [blame] | 30 | spi-max-frequency = <50000000>; |
| 31 | reg = <0>; |
| 32 | }; |
| 33 | |
Kuldeep Singh | 4c38087 | 2019-12-12 11:49:24 +0530 | [diff] [blame] | 34 | s25fs512s1: flash@1 { |
Mingkai Hu | d239651 | 2016-09-07 18:47:28 +0800 | [diff] [blame] | 35 | #address-cells = <1>; |
| 36 | #size-cells = <1>; |
Neil Armstrong | a009fa7 | 2019-02-10 10:16:20 +0000 | [diff] [blame] | 37 | compatible = "jedec,spi-nor"; |
Mingkai Hu | d239651 | 2016-09-07 18:47:28 +0800 | [diff] [blame] | 38 | spi-max-frequency = <50000000>; |
| 39 | reg = <1>; |
| 40 | }; |
| 41 | }; |
Peng Ma | a31ad2f | 2018-10-11 10:34:20 +0000 | [diff] [blame] | 42 | |
| 43 | &sata { |
| 44 | status = "okay"; |
| 45 | }; |
Biwen Li | f0018f5 | 2020-02-05 22:02:17 +0800 | [diff] [blame] | 46 | |
| 47 | &i2c0 { |
| 48 | status = "okay"; |
| 49 | }; |
| 50 | |
| 51 | &i2c3 { |
| 52 | status = "okay"; |
| 53 | }; |
Madalin Bucur | 2297a29 | 2020-04-23 16:25:15 +0300 | [diff] [blame] | 54 | |
| 55 | #include "fsl-ls1046-post.dtsi" |
| 56 | |
| 57 | &fman0 { |
| 58 | ethernet@e4000 { |
| 59 | phy-handle = <&rgmii_phy1>; |
| 60 | phy-connection-type = "rgmii-id"; |
| 61 | status = "okay"; |
| 62 | }; |
| 63 | |
| 64 | ethernet@e6000 { |
| 65 | phy-handle = <&rgmii_phy2>; |
| 66 | phy-connection-type = "rgmii-id"; |
| 67 | status = "okay"; |
| 68 | }; |
| 69 | |
| 70 | ethernet@e8000 { |
| 71 | phy-handle = <&sgmii_phy1>; |
| 72 | phy-connection-type = "sgmii"; |
| 73 | status = "okay"; |
| 74 | }; |
| 75 | |
| 76 | ethernet@ea000 { |
| 77 | phy-handle = <&sgmii_phy2>; |
| 78 | phy-connection-type = "sgmii"; |
| 79 | status = "okay"; |
| 80 | }; |
| 81 | |
| 82 | ethernet@f0000 { /* 10GEC1 */ |
| 83 | phy-handle = <&aqr106_phy>; |
| 84 | phy-connection-type = "xgmii"; |
| 85 | status = "okay"; |
| 86 | }; |
| 87 | |
| 88 | ethernet@f2000 { /* 10GEC2 */ |
| 89 | fixed-link = <0 1 1000 0 0>; |
| 90 | phy-connection-type = "xgmii"; |
| 91 | status = "okay"; |
| 92 | }; |
| 93 | |
| 94 | mdio@fc000 { |
| 95 | rgmii_phy1: ethernet-phy@1 { |
| 96 | reg = <0x1>; |
| 97 | }; |
| 98 | |
| 99 | rgmii_phy2: ethernet-phy@2 { |
| 100 | reg = <0x2>; |
| 101 | }; |
| 102 | |
| 103 | sgmii_phy1: ethernet-phy@3 { |
| 104 | reg = <0x3>; |
| 105 | }; |
| 106 | |
| 107 | sgmii_phy2: ethernet-phy@4 { |
| 108 | reg = <0x4>; |
| 109 | }; |
| 110 | }; |
| 111 | |
| 112 | mdio@fd000 { |
| 113 | aqr106_phy: ethernet-phy@0 { |
| 114 | compatible = "ethernet-phy-ieee802.3-c45"; |
| 115 | interrupts = <0 131 4>; |
| 116 | reg = <0x0>; |
| 117 | }; |
| 118 | }; |
| 119 | }; |