hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/arch/arm/boot/dts/exynos4210.dtsi
....@@ -8,7 +8,7 @@
88 * www.linaro.org
99 *
1010 * Samsung's Exynos4210 SoC device nodes are listed in this file. Exynos4210
11
- * based board files can include this file and provide values for board specfic
11
+ * based board files can include this file and provide values for board specific
1212 * bindings.
1313 *
1414 * Note: This file does not include device nodes for all the controllers in
....@@ -51,7 +51,7 @@
5151 #cooling-cells = <2>; /* min followed by max */
5252 };
5353
54
- cpu@901 {
54
+ cpu1: cpu@901 {
5555 device_type = "cpu";
5656 compatible = "arm,cortex-a9";
5757 reg = <0x901>;
....@@ -72,60 +72,53 @@
7272 };
7373
7474 soc: soc {
75
- sysram: sysram@2020000 {
75
+ sysram: sram@2020000 {
7676 compatible = "mmio-sram";
7777 reg = <0x02020000 0x20000>;
7878 #address-cells = <1>;
7979 #size-cells = <1>;
8080 ranges = <0 0x02020000 0x20000>;
8181
82
- smp-sysram@0 {
82
+ smp-sram@0 {
8383 compatible = "samsung,exynos4210-sysram";
8484 reg = <0x0 0x1000>;
8585 };
8686
87
- smp-sysram@1f000 {
87
+ smp-sram@1f000 {
8888 compatible = "samsung,exynos4210-sysram-ns";
8989 reg = <0x1f000 0x1000>;
9090 };
9191 };
9292
93
- pd_lcd1: lcd1-power-domain@10023ca0 {
93
+ pd_lcd1: power-domain@10023ca0 {
9494 compatible = "samsung,exynos4210-pd";
9595 reg = <0x10023CA0 0x20>;
9696 #power-domain-cells = <0>;
9797 label = "LCD1";
9898 };
9999
100
- l2c: l2-cache-controller@10502000 {
100
+ l2c: cache-controller@10502000 {
101101 compatible = "arm,pl310-cache";
102102 reg = <0x10502000 0x1000>;
103103 cache-unified;
104104 cache-level = <2>;
105
+ prefetch-data = <1>;
106
+ prefetch-instr = <1>;
105107 arm,tag-latency = <2 2 1>;
106108 arm,data-latency = <2 2 1>;
107109 };
108110
109
- mct: mct@10050000 {
111
+ mct: timer@10050000 {
110112 compatible = "samsung,exynos4210-mct";
111113 reg = <0x10050000 0x800>;
112
- interrupt-parent = <&mct_map>;
113
- interrupts = <0>, <1>, <2>, <3>, <4>, <5>;
114114 clocks = <&clock CLK_FIN_PLL>, <&clock CLK_MCT>;
115115 clock-names = "fin_pll", "mct";
116
-
117
- mct_map: mct-map {
118
- #interrupt-cells = <1>;
119
- #address-cells = <0>;
120
- #size-cells = <0>;
121
- interrupt-map =
122
- <0 &gic 0 57 IRQ_TYPE_LEVEL_HIGH>,
123
- <1 &gic 0 69 IRQ_TYPE_LEVEL_HIGH>,
124
- <2 &combiner 12 6>,
125
- <3 &combiner 12 7>,
126
- <4 &gic 0 42 IRQ_TYPE_LEVEL_HIGH>,
127
- <5 &gic 0 48 IRQ_TYPE_LEVEL_HIGH>;
128
- };
116
+ interrupts-extended = <&gic GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>,
117
+ <&gic GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>,
118
+ <&combiner 12 6>,
119
+ <&combiner 12 7>,
120
+ <&gic GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>,
121
+ <&gic GIC_SPI 48 IRQ_TYPE_LEVEL_HIGH>;
129122 };
130123
131124 watchdog: watchdog@10060000 {
....@@ -298,6 +291,7 @@
298291 opp-400000000 {
299292 opp-hz = /bits/ 64 <400000000>;
300293 opp-microvolt = <1150000>;
294
+ opp-suspend;
301295 };
302296 };
303297
....@@ -367,29 +361,28 @@
367361 };
368362 opp-200000000 {
369363 opp-hz = /bits/ 64 <200000000>;
364
+ opp-suspend;
370365 };
371366 };
372367 };
368
+};
373369
374
- thermal-zones {
375
- cpu_thermal: cpu-thermal {
376
- polling-delay-passive = <0>;
377
- polling-delay = <0>;
378
- thermal-sensors = <&tmu 0>;
370
+&cpu_alert0 {
371
+ temperature = <85000>; /* millicelsius */
372
+};
379373
380
- trips {
381
- cpu_alert0: cpu-alert-0 {
382
- temperature = <85000>; /* millicelsius */
383
- };
384
- cpu_alert1: cpu-alert-1 {
385
- temperature = <100000>; /* millicelsius */
386
- };
387
- cpu_alert2: cpu-alert-2 {
388
- temperature = <110000>; /* millicelsius */
389
- };
390
- };
391
- };
392
- };
374
+&cpu_alert1 {
375
+ temperature = <100000>; /* millicelsius */
376
+};
377
+
378
+&cpu_alert2 {
379
+ temperature = <110000>; /* millicelsius */
380
+};
381
+
382
+&cpu_thermal {
383
+ polling-delay-passive = <0>;
384
+ polling-delay = <0>;
385
+ thermal-sensors = <&tmu 0>;
393386 };
394387
395388 &gic {
....@@ -447,6 +440,43 @@
447440 samsung,lcd-wb;
448441 };
449442
443
+&gpu {
444
+ interrupts = <GIC_SPI 127 IRQ_TYPE_LEVEL_HIGH>,
445
+ <GIC_SPI 122 IRQ_TYPE_LEVEL_HIGH>,
446
+ <GIC_SPI 123 IRQ_TYPE_LEVEL_HIGH>,
447
+ <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>,
448
+ <GIC_SPI 124 IRQ_TYPE_LEVEL_HIGH>,
449
+ <GIC_SPI 119 IRQ_TYPE_LEVEL_HIGH>,
450
+ <GIC_SPI 125 IRQ_TYPE_LEVEL_HIGH>,
451
+ <GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>,
452
+ <GIC_SPI 126 IRQ_TYPE_LEVEL_HIGH>,
453
+ <GIC_SPI 121 IRQ_TYPE_LEVEL_HIGH>;
454
+ interrupt-names = "gp",
455
+ "gpmmu",
456
+ "pp0",
457
+ "ppmmu0",
458
+ "pp1",
459
+ "ppmmu1",
460
+ "pp2",
461
+ "ppmmu2",
462
+ "pp3",
463
+ "ppmmu3";
464
+ operating-points-v2 = <&gpu_opp_table>;
465
+
466
+ gpu_opp_table: opp_table {
467
+ compatible = "operating-points-v2";
468
+
469
+ opp-160000000 {
470
+ opp-hz = /bits/ 64 <160000000>;
471
+ opp-microvolt = <950000>;
472
+ };
473
+ opp-267000000 {
474
+ opp-hz = /bits/ 64 <267000000>;
475
+ opp-microvolt = <1050000>;
476
+ };
477
+ };
478
+};
479
+
450480 &mdma1 {
451481 power-domains = <&pd_lcd0>;
452482 };
....@@ -459,6 +489,12 @@
459489 <&clock CLK_MOUT_MIXER>, <&clock CLK_SCLK_MIXER>;
460490 };
461491
492
+&pmu {
493
+ interrupts = <2 2>, <3 2>;
494
+ interrupt-affinity = <&cpu0>, <&cpu1>;
495
+ status = "okay";
496
+};
497
+
462498 &pmu_system_controller {
463499 clock-names = "clkout0", "clkout1", "clkout2", "clkout3",
464500 "clkout4", "clkout8", "clkout9";