forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-01-31 f9004dbfff8a3fbbd7e2a88c8a4327c7f2f8e5b2
kernel/arch/arm/boot/dts/dra72-evm-revc.dts
....@@ -1,9 +1,6 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
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/
74 */
85 #include "dra72-evm-common.dtsi"
96 #include "dra72x-mmc-iodelay.dtsi"
....@@ -15,6 +12,33 @@
1512 memory@0 {
1613 device_type = "memory";
1714 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
+ };
1842 };
1943
2044 evm_1v8_sw: fixedregulator-evm_1v8 {
....@@ -53,26 +77,26 @@
5377 interrupts = <30 IRQ_TYPE_EDGE_FALLING>;
5478 };
5579
56
-&mac {
80
+&mac_sw {
5781 mode-gpios = <&pcf_gpio_21 4 GPIO_ACTIVE_LOW>,
5882 <&pcf_hdmi 9 GPIO_ACTIVE_LOW>, /* P11 */
5983 <&pcf_hdmi 10 GPIO_ACTIVE_LOW>; /* P12 */
60
- dual_emac;
84
+ status = "okay";
6185 };
6286
63
-&cpsw_emac0 {
64
- phy_id = <&davinci_mdio>, <2>;
87
+&cpsw_port1 {
88
+ phy-handle = <&dp83867_0>;
6589 phy-mode = "rgmii-id";
66
- dual_emac_res_vlan = <1>;
90
+ ti,dual-emac-pvid = <1>;
6791 };
6892
69
-&cpsw_emac1 {
70
- phy_id = <&davinci_mdio>, <3>;
93
+&cpsw_port2 {
94
+ phy-handle = <&dp83867_1>;
7195 phy-mode = "rgmii-id";
72
- dual_emac_res_vlan = <2>;
96
+ ti,dual-emac-pvid = <2>;
7397 };
7498
75
-&davinci_mdio {
99
+&davinci_mdio_sw {
76100 dp83867_0: ethernet-phy@2 {
77101 reg = <2>;
78102 ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_25_NS>;
....@@ -116,3 +140,18 @@
116140 pinctrl-3 = <&mmc2_pins_hs200 &mmc2_iodelay_hs200_rev20_conf>;
117141 vmmc-supply = <&evm_1v8_sw>;
118142 };
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
+};