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