.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
---|
1 | 2 | /* |
---|
2 | | - * Copyright (C) 2016 Texas Instruments Incorporated - http://www.ti.com/ |
---|
3 | | - * |
---|
4 | | - * This program is free software; you can redistribute it and/or modify |
---|
5 | | - * it under the terms of the GNU General Public License version 2 as |
---|
6 | | - * published by the Free Software Foundation. |
---|
| 3 | + * Copyright (C) 2016 Texas Instruments Incorporated - https://www.ti.com/ |
---|
7 | 4 | */ |
---|
8 | 5 | |
---|
9 | | -#include "dra72-evm-common.dtsi" |
---|
| 6 | +#include "dra71x.dtsi" |
---|
10 | 7 | #include "dra7-mmc-iodelay.dtsi" |
---|
11 | 8 | #include "dra72x-mmc-iodelay.dtsi" |
---|
12 | 9 | #include <dt-bindings/net/ti-dp83867.h> |
---|
.. | .. |
---|
18 | 15 | memory { |
---|
19 | 16 | device_type = "memory"; |
---|
20 | 17 | reg = <0x0 0x80000000 0x0 0x80000000>; /* 2GB */ |
---|
| 18 | + }; |
---|
| 19 | + |
---|
| 20 | + reserved-memory { |
---|
| 21 | + #address-cells = <2>; |
---|
| 22 | + #size-cells = <2>; |
---|
| 23 | + ranges; |
---|
| 24 | + |
---|
| 25 | + ipu2_memory_region: ipu2-memory@95800000 { |
---|
| 26 | + compatible = "shared-dma-pool"; |
---|
| 27 | + reg = <0x0 0x95800000 0x0 0x3800000>; |
---|
| 28 | + reusable; |
---|
| 29 | + status = "okay"; |
---|
| 30 | + }; |
---|
| 31 | + |
---|
| 32 | + dsp1_memory_region: dsp1-memory@99000000 { |
---|
| 33 | + compatible = "shared-dma-pool"; |
---|
| 34 | + reg = <0x0 0x99000000 0x0 0x4000000>; |
---|
| 35 | + reusable; |
---|
| 36 | + status = "okay"; |
---|
| 37 | + }; |
---|
| 38 | + |
---|
| 39 | + ipu1_memory_region: ipu1-memory@9d000000 { |
---|
| 40 | + compatible = "shared-dma-pool"; |
---|
| 41 | + reg = <0x0 0x9d000000 0x0 0x2000000>; |
---|
| 42 | + reusable; |
---|
| 43 | + status = "okay"; |
---|
| 44 | + }; |
---|
21 | 45 | }; |
---|
22 | 46 | |
---|
23 | 47 | vpo_sd_1v8_3v3: gpio-regulator-TPS74801 { |
---|
.. | .. |
---|
195 | 219 | vqmmc-supply = <&evm_1v8_sw>; |
---|
196 | 220 | }; |
---|
197 | 221 | |
---|
198 | | -&mac { |
---|
| 222 | +&mac_sw { |
---|
199 | 223 | mode-gpios = <&pcf_gpio_21 4 GPIO_ACTIVE_LOW>, |
---|
200 | 224 | <&pcf_hdmi 9 GPIO_ACTIVE_LOW>, /* P11 */ |
---|
201 | 225 | <&pcf_hdmi 10 GPIO_ACTIVE_LOW>; /* P12 */ |
---|
202 | | - dual_emac; |
---|
| 226 | + status = "okay"; |
---|
203 | 227 | }; |
---|
204 | 228 | |
---|
205 | | -&cpsw_emac0 { |
---|
206 | | - phy_id = <&davinci_mdio>, <2>; |
---|
| 229 | +&cpsw_port1 { |
---|
| 230 | + phy-handle = <&dp83867_0>; |
---|
207 | 231 | phy-mode = "rgmii-id"; |
---|
208 | | - dual_emac_res_vlan = <1>; |
---|
| 232 | + ti,dual-emac-pvid = <1>; |
---|
209 | 233 | }; |
---|
210 | 234 | |
---|
211 | | -&cpsw_emac1 { |
---|
212 | | - phy_id = <&davinci_mdio>, <3>; |
---|
| 235 | +&cpsw_port2 { |
---|
| 236 | + phy-handle = <&dp83867_1>; |
---|
213 | 237 | phy-mode = "rgmii-id"; |
---|
214 | | - dual_emac_res_vlan = <2>; |
---|
| 238 | + ti,dual-emac-pvid = <2>; |
---|
215 | 239 | }; |
---|
216 | 240 | |
---|
217 | | -&davinci_mdio { |
---|
| 241 | +&davinci_mdio_sw { |
---|
218 | 242 | dp83867_0: ethernet-phy@2 { |
---|
219 | 243 | reg = <2>; |
---|
220 | 244 | ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_25_NS>; |
---|
.. | .. |
---|
273 | 297 | &extcon_usb2 { |
---|
274 | 298 | vbus-gpio = <&pcf_lcd 15 GPIO_ACTIVE_HIGH>; |
---|
275 | 299 | }; |
---|
| 300 | + |
---|
| 301 | +&ipu2 { |
---|
| 302 | + status = "okay"; |
---|
| 303 | + memory-region = <&ipu2_memory_region>; |
---|
| 304 | +}; |
---|
| 305 | + |
---|
| 306 | +&ipu1 { |
---|
| 307 | + status = "okay"; |
---|
| 308 | + memory-region = <&ipu1_memory_region>; |
---|
| 309 | +}; |
---|
| 310 | + |
---|
| 311 | +&dsp1 { |
---|
| 312 | + status = "okay"; |
---|
| 313 | + memory-region = <&dsp1_memory_region>; |
---|
| 314 | +}; |
---|