.. | .. |
---|
| 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 | #include "dra72-evm-common.dtsi" |
---|
9 | 6 | #include "dra72x-mmc-iodelay.dtsi" |
---|
.. | .. |
---|
15 | 12 | memory@0 { |
---|
16 | 13 | device_type = "memory"; |
---|
17 | 14 | reg = <0x0 0x80000000 0x0 0x80000000>; /* 2GB */ |
---|
| 15 | + }; |
---|
| 16 | + |
---|
| 17 | + reserved-memory { |
---|
| 18 | + #address-cells = <2>; |
---|
| 19 | + #size-cells = <2>; |
---|
| 20 | + ranges; |
---|
| 21 | + |
---|
| 22 | + ipu2_cma_pool: ipu2_cma@95800000 { |
---|
| 23 | + compatible = "shared-dma-pool"; |
---|
| 24 | + reg = <0x0 0x95800000 0x0 0x3800000>; |
---|
| 25 | + reusable; |
---|
| 26 | + status = "okay"; |
---|
| 27 | + }; |
---|
| 28 | + |
---|
| 29 | + dsp1_cma_pool: dsp1_cma@99000000 { |
---|
| 30 | + compatible = "shared-dma-pool"; |
---|
| 31 | + reg = <0x0 0x99000000 0x0 0x4000000>; |
---|
| 32 | + reusable; |
---|
| 33 | + status = "okay"; |
---|
| 34 | + }; |
---|
| 35 | + |
---|
| 36 | + ipu1_cma_pool: ipu1_cma@9d000000 { |
---|
| 37 | + compatible = "shared-dma-pool"; |
---|
| 38 | + reg = <0x0 0x9d000000 0x0 0x2000000>; |
---|
| 39 | + reusable; |
---|
| 40 | + status = "okay"; |
---|
| 41 | + }; |
---|
18 | 42 | }; |
---|
19 | 43 | |
---|
20 | 44 | evm_1v8_sw: fixedregulator-evm_1v8 { |
---|
.. | .. |
---|
53 | 77 | interrupts = <30 IRQ_TYPE_EDGE_FALLING>; |
---|
54 | 78 | }; |
---|
55 | 79 | |
---|
56 | | -&mac { |
---|
| 80 | +&mac_sw { |
---|
57 | 81 | mode-gpios = <&pcf_gpio_21 4 GPIO_ACTIVE_LOW>, |
---|
58 | 82 | <&pcf_hdmi 9 GPIO_ACTIVE_LOW>, /* P11 */ |
---|
59 | 83 | <&pcf_hdmi 10 GPIO_ACTIVE_LOW>; /* P12 */ |
---|
60 | | - dual_emac; |
---|
| 84 | + status = "okay"; |
---|
61 | 85 | }; |
---|
62 | 86 | |
---|
63 | | -&cpsw_emac0 { |
---|
64 | | - phy_id = <&davinci_mdio>, <2>; |
---|
| 87 | +&cpsw_port1 { |
---|
| 88 | + phy-handle = <&dp83867_0>; |
---|
65 | 89 | phy-mode = "rgmii-id"; |
---|
66 | | - dual_emac_res_vlan = <1>; |
---|
| 90 | + ti,dual-emac-pvid = <1>; |
---|
67 | 91 | }; |
---|
68 | 92 | |
---|
69 | | -&cpsw_emac1 { |
---|
70 | | - phy_id = <&davinci_mdio>, <3>; |
---|
| 93 | +&cpsw_port2 { |
---|
| 94 | + phy-handle = <&dp83867_1>; |
---|
71 | 95 | phy-mode = "rgmii-id"; |
---|
72 | | - dual_emac_res_vlan = <2>; |
---|
| 96 | + ti,dual-emac-pvid = <2>; |
---|
73 | 97 | }; |
---|
74 | 98 | |
---|
75 | | -&davinci_mdio { |
---|
| 99 | +&davinci_mdio_sw { |
---|
76 | 100 | dp83867_0: ethernet-phy@2 { |
---|
77 | 101 | reg = <2>; |
---|
78 | 102 | ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_25_NS>; |
---|
.. | .. |
---|
116 | 140 | pinctrl-3 = <&mmc2_pins_hs200 &mmc2_iodelay_hs200_rev20_conf>; |
---|
117 | 141 | vmmc-supply = <&evm_1v8_sw>; |
---|
118 | 142 | }; |
---|
| 143 | + |
---|
| 144 | +&ipu2 { |
---|
| 145 | + status = "okay"; |
---|
| 146 | + memory-region = <&ipu2_cma_pool>; |
---|
| 147 | +}; |
---|
| 148 | + |
---|
| 149 | +&ipu1 { |
---|
| 150 | + status = "okay"; |
---|
| 151 | + memory-region = <&ipu1_cma_pool>; |
---|
| 152 | +}; |
---|
| 153 | + |
---|
| 154 | +&dsp1 { |
---|
| 155 | + status = "okay"; |
---|
| 156 | + memory-region = <&dsp1_cma_pool>; |
---|
| 157 | +}; |
---|