hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/arch/arm/boot/dts/exynos4412.dtsi
....@@ -45,7 +45,7 @@
4545 #cooling-cells = <2>; /* min followed by max */
4646 };
4747
48
- cpu@a01 {
48
+ cpu1: cpu@a01 {
4949 device_type = "cpu";
5050 compatible = "arm,cortex-a9";
5151 reg = <0xA01>;
....@@ -55,7 +55,7 @@
5555 #cooling-cells = <2>; /* min followed by max */
5656 };
5757
58
- cpu@a02 {
58
+ cpu2: cpu@a02 {
5959 device_type = "cpu";
6060 compatible = "arm,cortex-a9";
6161 reg = <0xA02>;
....@@ -65,7 +65,7 @@
6565 #cooling-cells = <2>; /* min followed by max */
6666 };
6767
68
- cpu@a03 {
68
+ cpu3: cpu@a03 {
6969 device_type = "cpu";
7070 compatible = "arm,cortex-a9";
7171 reg = <0xA03>;
....@@ -76,7 +76,7 @@
7676 };
7777 };
7878
79
- cpu0_opp_table: opp_table0 {
79
+ cpu0_opp_table: opp-table0 {
8080 compatible = "operating-points-v2";
8181 opp-shared;
8282
....@@ -188,36 +188,38 @@
188188 interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>;
189189 };
190190
191
- sysram@2020000 {
191
+ sram@2020000 {
192192 compatible = "mmio-sram";
193193 reg = <0x02020000 0x40000>;
194194 #address-cells = <1>;
195195 #size-cells = <1>;
196196 ranges = <0 0x02020000 0x40000>;
197197
198
- smp-sysram@0 {
198
+ smp-sram@0 {
199199 compatible = "samsung,exynos4210-sysram";
200200 reg = <0x0 0x1000>;
201201 };
202202
203
- smp-sysram@2f000 {
203
+ smp-sram@2f000 {
204204 compatible = "samsung,exynos4210-sysram-ns";
205205 reg = <0x2f000 0x1000>;
206206 };
207207 };
208208
209
- pd_isp: isp-power-domain@10023ca0 {
209
+ pd_isp: power-domain@10023ca0 {
210210 compatible = "samsung,exynos4210-pd";
211211 reg = <0x10023CA0 0x20>;
212212 #power-domain-cells = <0>;
213213 label = "ISP";
214214 };
215215
216
- l2c: l2-cache-controller@10502000 {
216
+ l2c: cache-controller@10502000 {
217217 compatible = "arm,pl310-cache";
218218 reg = <0x10502000 0x1000>;
219219 cache-unified;
220220 cache-level = <2>;
221
+ prefetch-data = <1>;
222
+ prefetch-instr = <1>;
221223 arm,tag-latency = <2 2 1>;
222224 arm,data-latency = <3 2 1>;
223225 arm,double-linefill = <1>;
....@@ -243,25 +245,16 @@
243245 clock-names = "aclk200", "aclk400_mcuisp";
244246 };
245247
246
- mct@10050000 {
248
+ timer@10050000 {
247249 compatible = "samsung,exynos4412-mct";
248250 reg = <0x10050000 0x800>;
249
- interrupt-parent = <&mct_map>;
250
- interrupts = <0>, <1>, <2>, <3>, <4>;
251251 clocks = <&clock CLK_FIN_PLL>, <&clock CLK_MCT>;
252252 clock-names = "fin_pll", "mct";
253
-
254
- mct_map: mct-map {
255
- #interrupt-cells = <1>;
256
- #address-cells = <0>;
257
- #size-cells = <0>;
258
- interrupt-map =
259
- <0 &gic 0 57 IRQ_TYPE_LEVEL_HIGH>,
260
- <1 &combiner 12 5>,
261
- <2 &combiner 12 6>,
262
- <3 &combiner 12 7>,
263
- <4 &gic 1 12 IRQ_TYPE_LEVEL_HIGH>;
264
- };
253
+ interrupts-extended = <&gic GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>,
254
+ <&combiner 12 5>,
255
+ <&combiner 12 6>,
256
+ <&combiner 12 7>,
257
+ <&gic GIC_PPI 12 IRQ_TYPE_LEVEL_HIGH>;
265258 };
266259
267260 watchdog: watchdog@10060000 {
....@@ -274,7 +267,7 @@
274267 };
275268
276269 adc: adc@126c0000 {
277
- compatible = "samsung,exynos-adc-v1";
270
+ compatible = "samsung,exynos4212-adc";
278271 reg = <0x126C0000 0x100>;
279272 interrupt-parent = <&combiner>;
280273 interrupts = <10 3>;
....@@ -409,7 +402,7 @@
409402 status = "disabled";
410403 };
411404
412
- bus_dmc_opp_table: opp_table1 {
405
+ bus_dmc_opp_table: opp-table1 {
413406 compatible = "operating-points-v2";
414407 opp-shared;
415408
....@@ -432,10 +425,11 @@
432425 opp-400000000 {
433426 opp-hz = /bits/ 64 <400000000>;
434427 opp-microvolt = <1050000>;
428
+ opp-suspend;
435429 };
436430 };
437431
438
- bus_acp_opp_table: opp_table2 {
432
+ bus_acp_opp_table: opp-table2 {
439433 compatible = "operating-points-v2";
440434 opp-shared;
441435
....@@ -501,7 +495,7 @@
501495 status = "disabled";
502496 };
503497
504
- bus_leftbus_opp_table: opp_table3 {
498
+ bus_leftbus_opp_table: opp-table3 {
505499 compatible = "operating-points-v2";
506500 opp-shared;
507501
....@@ -520,10 +514,11 @@
520514 opp-200000000 {
521515 opp-hz = /bits/ 64 <200000000>;
522516 opp-microvolt = <1000000>;
517
+ opp-suspend;
523518 };
524519 };
525520
526
- bus_display_opp_table: opp_table4 {
521
+ bus_display_opp_table: opp-table4 {
527522 compatible = "operating-points-v2";
528523 opp-shared;
529524
....@@ -535,7 +530,7 @@
535530 };
536531 };
537532
538
- bus_fsys_opp_table: opp_table5 {
533
+ bus_fsys_opp_table: opp-table5 {
539534 compatible = "operating-points-v2";
540535 opp-shared;
541536
....@@ -547,7 +542,7 @@
547542 };
548543 };
549544
550
- bus_peri_opp_table: opp_table6 {
545
+ bus_peri_opp_table: opp-table6 {
551546 compatible = "operating-points-v2";
552547 opp-shared;
553548
....@@ -714,6 +709,53 @@
714709 cpu-offset = <0x4000>;
715710 };
716711
712
+&gpu {
713
+ interrupts = <GIC_SPI 127 IRQ_TYPE_LEVEL_HIGH>,
714
+ <GIC_SPI 122 IRQ_TYPE_LEVEL_HIGH>,
715
+ <GIC_SPI 123 IRQ_TYPE_LEVEL_HIGH>,
716
+ <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>,
717
+ <GIC_SPI 124 IRQ_TYPE_LEVEL_HIGH>,
718
+ <GIC_SPI 119 IRQ_TYPE_LEVEL_HIGH>,
719
+ <GIC_SPI 125 IRQ_TYPE_LEVEL_HIGH>,
720
+ <GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>,
721
+ <GIC_SPI 126 IRQ_TYPE_LEVEL_HIGH>,
722
+ <GIC_SPI 121 IRQ_TYPE_LEVEL_HIGH>,
723
+ <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>;
724
+ interrupt-names = "gp",
725
+ "gpmmu",
726
+ "pp0",
727
+ "ppmmu0",
728
+ "pp1",
729
+ "ppmmu1",
730
+ "pp2",
731
+ "ppmmu2",
732
+ "pp3",
733
+ "ppmmu3",
734
+ "pmu";
735
+ operating-points-v2 = <&gpu_opp_table>;
736
+
737
+ gpu_opp_table: opp-table {
738
+ compatible = "operating-points-v2";
739
+
740
+ opp-160000000 {
741
+ opp-hz = /bits/ 64 <160000000>;
742
+ opp-microvolt = <875000>;
743
+ };
744
+ opp-267000000 {
745
+ opp-hz = /bits/ 64 <267000000>;
746
+ opp-microvolt = <900000>;
747
+ };
748
+ opp-350000000 {
749
+ opp-hz = /bits/ 64 <350000000>;
750
+ opp-microvolt = <950000>;
751
+ };
752
+ opp-440000000 {
753
+ opp-hz = /bits/ 64 <440000000>;
754
+ opp-microvolt = <1025000>;
755
+ };
756
+ };
757
+};
758
+
717759 &hdmi {
718760 compatible = "samsung,exynos4212-hdmi";
719761 };
....@@ -735,6 +777,8 @@
735777
736778 &pmu {
737779 interrupts = <2 2>, <3 2>, <18 2>, <19 2>;
780
+ interrupt-affinity = <&cpu0>, <&cpu1>, <&cpu2>, <&cpu3>;
781
+ status = "okay";
738782 };
739783
740784 &pmu_system_controller {