Tom Rini | 8b0c8a1 | 2018-05-06 18:27:01 -0400 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ OR X11 |
Gong Qianyu | 5e84779 | 2015-11-11 17:58:36 +0800 | [diff] [blame] | 2 | /* |
| 3 | * Device Tree Include file for Freescale Layerscape-1043A family SoC. |
| 4 | * |
| 5 | * Copyright (C) 2015, Freescale Semiconductor |
Camelia Groza | 8473695 | 2021-06-16 16:22:12 +0300 | [diff] [blame] | 6 | * Copyright 2020-2021 NXP |
Gong Qianyu | 5e84779 | 2015-11-11 17:58:36 +0800 | [diff] [blame] | 7 | * |
| 8 | * Mingkai Hu <Mingkai.hu@freescale.com> |
Gong Qianyu | 5e84779 | 2015-11-11 17:58:36 +0800 | [diff] [blame] | 9 | */ |
| 10 | |
| 11 | /dts-v1/; |
Camelia Groza | 8bac8e9 | 2023-06-16 16:18:32 +0300 | [diff] [blame^] | 12 | #include "fsl-ls1043a.dtsi" |
Gong Qianyu | 5e84779 | 2015-11-11 17:58:36 +0800 | [diff] [blame] | 13 | |
| 14 | / { |
| 15 | model = "LS1043A RDB Board"; |
Gong Qianyu | 8a43f13 | 2015-11-11 17:58:39 +0800 | [diff] [blame] | 16 | |
| 17 | aliases { |
| 18 | spi1 = &dspi0; |
Camelia Groza | 8bac8e9 | 2023-06-16 16:18:32 +0300 | [diff] [blame^] | 19 | serial0 = &duart0; |
| 20 | serial1 = &duart1; |
| 21 | serial2 = &duart2; |
| 22 | serial3 = &duart3; |
Gong Qianyu | 8a43f13 | 2015-11-11 17:58:39 +0800 | [diff] [blame] | 23 | }; |
| 24 | |
| 25 | }; |
| 26 | |
| 27 | &dspi0 { |
| 28 | bus-num = <0>; |
| 29 | status = "okay"; |
| 30 | |
| 31 | dspiflash: n25q12a { |
| 32 | #address-cells = <1>; |
| 33 | #size-cells = <1>; |
Neil Armstrong | a009fa7 | 2019-02-10 10:16:20 +0000 | [diff] [blame] | 34 | compatible = "jedec,spi-nor"; |
Gong Qianyu | 8a43f13 | 2015-11-11 17:58:39 +0800 | [diff] [blame] | 35 | reg = <0>; |
| 36 | spi-max-frequency = <1000000>; /* input clock */ |
| 37 | }; |
| 38 | |
Gong Qianyu | 5e84779 | 2015-11-11 17:58:36 +0800 | [diff] [blame] | 39 | }; |
| 40 | |
| 41 | &i2c0 { |
| 42 | status = "okay"; |
| 43 | ina220@40 { |
| 44 | compatible = "ti,ina220"; |
| 45 | reg = <0x40>; |
| 46 | shunt-resistor = <1000>; |
| 47 | }; |
| 48 | adt7461a@4c { |
| 49 | compatible = "adi,adt7461a"; |
| 50 | reg = <0x4c>; |
| 51 | }; |
Hou Zhiqiang | 02f0447 | 2016-12-06 15:27:48 +0800 | [diff] [blame] | 52 | eeprom@52 { |
Gong Qianyu | 5e84779 | 2015-11-11 17:58:36 +0800 | [diff] [blame] | 53 | compatible = "at24,24c512"; |
| 54 | reg = <0x52>; |
| 55 | }; |
| 56 | |
Hou Zhiqiang | 02f0447 | 2016-12-06 15:27:48 +0800 | [diff] [blame] | 57 | eeprom@53 { |
Gong Qianyu | 5e84779 | 2015-11-11 17:58:36 +0800 | [diff] [blame] | 58 | compatible = "at24,24c512"; |
| 59 | reg = <0x53>; |
| 60 | }; |
| 61 | |
| 62 | rtc@68 { |
| 63 | compatible = "pericom,pt7c4338"; |
| 64 | reg = <0x68>; |
| 65 | }; |
| 66 | }; |
| 67 | |
| 68 | &ifc { |
| 69 | status = "okay"; |
| 70 | #address-cells = <2>; |
| 71 | #size-cells = <1>; |
| 72 | /* NOR, NAND Flashes and FPGA on board */ |
| 73 | ranges = <0x0 0x0 0x0 0x60000000 0x08000000 |
Hou Zhiqiang | 501abde | 2016-12-06 15:27:49 +0800 | [diff] [blame] | 74 | 0x1 0x0 0x0 0x7e800000 0x00010000 |
| 75 | 0x2 0x0 0x0 0x7fb00000 0x00000100>; |
Gong Qianyu | 5e84779 | 2015-11-11 17:58:36 +0800 | [diff] [blame] | 76 | |
| 77 | nor@0,0 { |
| 78 | compatible = "cfi-flash"; |
| 79 | #address-cells = <1>; |
| 80 | #size-cells = <1>; |
| 81 | reg = <0x0 0x0 0x8000000>; |
| 82 | bank-width = <2>; |
| 83 | device-width = <1>; |
| 84 | }; |
| 85 | |
| 86 | nand@1,0 { |
| 87 | compatible = "fsl,ifc-nand"; |
| 88 | #address-cells = <1>; |
| 89 | #size-cells = <1>; |
| 90 | reg = <0x1 0x0 0x10000>; |
| 91 | }; |
| 92 | |
| 93 | cpld: board-control@2,0 { |
| 94 | compatible = "fsl,ls1043ardb-cpld"; |
| 95 | reg = <0x2 0x0 0x0000100>; |
| 96 | }; |
| 97 | }; |
| 98 | |
| 99 | &duart0 { |
| 100 | status = "okay"; |
| 101 | }; |
| 102 | |
| 103 | &duart1 { |
| 104 | status = "okay"; |
| 105 | }; |
Madalin Bucur | d0d3e5e | 2020-04-23 16:25:13 +0300 | [diff] [blame] | 106 | |
| 107 | #include "fsl-ls1043-post.dtsi" |
| 108 | |
| 109 | &fman0 { |
| 110 | ethernet@e0000 { |
| 111 | phy-handle = <&qsgmii_phy1>; |
| 112 | phy-connection-type = "qsgmii"; |
| 113 | status = "okay"; |
| 114 | }; |
| 115 | |
| 116 | ethernet@e2000 { |
| 117 | phy-handle = <&qsgmii_phy2>; |
| 118 | phy-connection-type = "qsgmii"; |
| 119 | status = "okay"; |
| 120 | }; |
| 121 | |
| 122 | ethernet@e4000 { |
| 123 | phy-handle = <&rgmii_phy1>; |
Camelia Groza | 8473695 | 2021-06-16 16:22:12 +0300 | [diff] [blame] | 124 | phy-connection-type = "rgmii-id"; |
Madalin Bucur | d0d3e5e | 2020-04-23 16:25:13 +0300 | [diff] [blame] | 125 | status = "okay"; |
| 126 | }; |
| 127 | |
| 128 | ethernet@e6000 { |
| 129 | phy-handle = <&rgmii_phy2>; |
Camelia Groza | 8473695 | 2021-06-16 16:22:12 +0300 | [diff] [blame] | 130 | phy-connection-type = "rgmii-id"; |
Madalin Bucur | d0d3e5e | 2020-04-23 16:25:13 +0300 | [diff] [blame] | 131 | status = "okay"; |
| 132 | }; |
| 133 | |
| 134 | ethernet@e8000 { |
| 135 | phy-handle = <&qsgmii_phy3>; |
| 136 | phy-connection-type = "qsgmii"; |
| 137 | status = "okay"; |
| 138 | }; |
| 139 | |
| 140 | ethernet@ea000 { |
| 141 | phy-handle = <&qsgmii_phy4>; |
| 142 | phy-connection-type = "qsgmii"; |
| 143 | status = "okay"; |
| 144 | }; |
| 145 | |
| 146 | ethernet@f0000 { /* 10GEC1 */ |
| 147 | phy-handle = <&aqr105_phy>; |
| 148 | phy-connection-type = "xgmii"; |
| 149 | status = "okay"; |
| 150 | }; |
| 151 | |
| 152 | mdio@fc000 { |
| 153 | rgmii_phy1: ethernet-phy@1 { |
| 154 | reg = <0x1>; |
| 155 | }; |
| 156 | |
| 157 | rgmii_phy2: ethernet-phy@2 { |
| 158 | reg = <0x2>; |
| 159 | }; |
| 160 | |
| 161 | qsgmii_phy1: ethernet-phy@4 { |
| 162 | reg = <0x4>; |
| 163 | }; |
| 164 | |
| 165 | qsgmii_phy2: ethernet-phy@5 { |
| 166 | reg = <0x5>; |
| 167 | }; |
| 168 | |
| 169 | qsgmii_phy3: ethernet-phy@6 { |
| 170 | reg = <0x6>; |
| 171 | }; |
| 172 | |
| 173 | qsgmii_phy4: ethernet-phy@7 { |
| 174 | reg = <0x7>; |
| 175 | }; |
| 176 | }; |
| 177 | |
| 178 | mdio@fd000 { |
| 179 | aqr105_phy: ethernet-phy@1 { |
| 180 | compatible = "ethernet-phy-ieee802.3-c45"; |
| 181 | interrupts = <0 132 4>; |
| 182 | reg = <0x1>; |
| 183 | }; |
| 184 | }; |
| 185 | }; |