forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-10 23fa18eaa71266feff7ba8d83022d9e1cc83c65a
kernel/arch/arm64/boot/dts/sprd/sc9836.dtsi
....@@ -18,28 +18,28 @@
1818
1919 cpu0: cpu@0 {
2020 device_type = "cpu";
21
- compatible = "arm,cortex-a53", "arm,armv8";
21
+ compatible = "arm,cortex-a53";
2222 reg = <0x0 0x0>;
2323 enable-method = "psci";
2424 };
2525
2626 cpu1: cpu@1 {
2727 device_type = "cpu";
28
- compatible = "arm,cortex-a53", "arm,armv8";
28
+ compatible = "arm,cortex-a53";
2929 reg = <0x0 0x1>;
3030 enable-method = "psci";
3131 };
3232
3333 cpu2: cpu@2 {
3434 device_type = "cpu";
35
- compatible = "arm,cortex-a53", "arm,armv8";
35
+ compatible = "arm,cortex-a53";
3636 reg = <0x0 0x2>;
3737 enable-method = "psci";
3838 };
3939
4040 cpu3: cpu@3 {
4141 device_type = "cpu";
42
- compatible = "arm,cortex-a53", "arm,armv8";
42
+ compatible = "arm,cortex-a53";
4343 reg = <0x0 0x3>;
4444 enable-method = "psci";
4545 };
....@@ -50,68 +50,64 @@
5050 reg = <0 0x10003000 0 0x1000>;
5151 clocks = <&clk26mhz>;
5252 clock-names = "apb_pclk";
53
- port {
54
- etf_in: endpoint {
55
- slave-mode;
56
- remote-endpoint = <&funnel_out_port0>;
53
+ in-ports {
54
+ port {
55
+ etf_in: endpoint {
56
+ remote-endpoint = <&funnel_out_port0>;
57
+ };
5758 };
5859 };
5960 };
6061
6162 funnel@10001000 {
62
- compatible = "arm,coresight-funnel", "arm,primecell";
63
+ compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
6364 reg = <0 0x10001000 0 0x1000>;
6465 clocks = <&clk26mhz>;
6566 clock-names = "apb_pclk";
66
- ports {
67
- #address-cells = <1>;
68
- #size-cells = <0>;
6967
70
- /* funnel output port */
71
- port@0 {
72
- reg = <0>;
68
+ out-ports {
69
+ port {
7370 funnel_out_port0: endpoint {
7471 remote-endpoint = <&etf_in>;
7572 };
7673 };
74
+ };
7775
78
- /* funnel input port 0-4 */
79
- port@1 {
76
+ in-ports {
77
+ #address-cells = <1>;
78
+ #size-cells = <0>;
79
+
80
+ port@0 {
8081 reg = <0>;
8182 funnel_in_port0: endpoint {
82
- slave-mode;
8383 remote-endpoint = <&etm0_out>;
8484 };
8585 };
8686
87
- port@2 {
87
+ port@1 {
8888 reg = <1>;
8989 funnel_in_port1: endpoint {
90
- slave-mode;
9190 remote-endpoint = <&etm1_out>;
9291 };
9392 };
9493
95
- port@3 {
94
+ port@2 {
9695 reg = <2>;
9796 funnel_in_port2: endpoint {
98
- slave-mode;
9997 remote-endpoint = <&etm2_out>;
10098 };
10199 };
102100
103
- port@4 {
101
+ port@3 {
104102 reg = <3>;
105103 funnel_in_port3: endpoint {
106
- slave-mode;
107104 remote-endpoint = <&etm3_out>;
108105 };
109106 };
110107
111
- port@5 {
108
+ port@4 {
112109 reg = <4>;
113110 funnel_in_port4: endpoint {
114
- slave-mode;
115111 remote-endpoint = <&stm_out>;
116112 };
117113 };
....@@ -126,9 +122,11 @@
126122 cpu = <&cpu0>;
127123 clocks = <&clk26mhz>;
128124 clock-names = "apb_pclk";
129
- port {
130
- etm0_out: endpoint {
131
- remote-endpoint = <&funnel_in_port0>;
125
+ out-ports {
126
+ port {
127
+ etm0_out: endpoint {
128
+ remote-endpoint = <&funnel_in_port0>;
129
+ };
132130 };
133131 };
134132 };
....@@ -140,9 +138,11 @@
140138 cpu = <&cpu1>;
141139 clocks = <&clk26mhz>;
142140 clock-names = "apb_pclk";
143
- port {
144
- etm1_out: endpoint {
145
- remote-endpoint = <&funnel_in_port1>;
141
+ out-ports {
142
+ port {
143
+ etm1_out: endpoint {
144
+ remote-endpoint = <&funnel_in_port1>;
145
+ };
146146 };
147147 };
148148 };
....@@ -154,9 +154,11 @@
154154 cpu = <&cpu2>;
155155 clocks = <&clk26mhz>;
156156 clock-names = "apb_pclk";
157
- port {
158
- etm2_out: endpoint {
159
- remote-endpoint = <&funnel_in_port2>;
157
+ out-ports {
158
+ port {
159
+ etm2_out: endpoint {
160
+ remote-endpoint = <&funnel_in_port2>;
161
+ };
160162 };
161163 };
162164 };
....@@ -168,9 +170,11 @@
168170 cpu = <&cpu3>;
169171 clocks = <&clk26mhz>;
170172 clock-names = "apb_pclk";
171
- port {
172
- etm3_out: endpoint {
173
- remote-endpoint = <&funnel_in_port3>;
173
+ out-ports {
174
+ port {
175
+ etm3_out: endpoint {
176
+ remote-endpoint = <&funnel_in_port3>;
177
+ };
174178 };
175179 };
176180 };
....@@ -182,9 +186,11 @@
182186 reg-names = "stm-base", "stm-stimulus-base";
183187 clocks = <&clk26mhz>;
184188 clock-names = "apb_pclk";
185
- port {
186
- stm_out: endpoint {
187
- remote-endpoint = <&funnel_in_port4>;
189
+ out-ports {
190
+ port {
191
+ stm_out: endpoint {
192
+ remote-endpoint = <&funnel_in_port4>;
193
+ };
188194 };
189195 };
190196 };