hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/arch/arm/boot/dts/exynos4412-origen.dts
....@@ -11,6 +11,7 @@
1111
1212 /dts-v1/;
1313 #include "exynos4412.dtsi"
14
+#include <dt-bindings/clock/samsung,s2mps11.h>
1415 #include <dt-bindings/gpio/gpio.h>
1516 #include <dt-bindings/input/input.h>
1617 #include "exynos-mfc-reserved-memory.dtsi"
....@@ -25,8 +26,7 @@
2526 };
2627
2728 chosen {
28
- bootargs ="console=ttySAC2,115200";
29
- stdout-path = &serial_2;
29
+ stdout-path = "serial2:115200n8";
3030 };
3131
3232 firmware@203f000 {
....@@ -34,20 +34,13 @@
3434 reg = <0x0203F000 0x1000>;
3535 };
3636
37
- regulators {
38
- compatible = "simple-bus";
39
- #address-cells = <1>;
40
- #size-cells = <0>;
41
-
42
- mmc_reg: regulator@0 {
43
- compatible = "regulator-fixed";
44
- reg = <0>;
45
- regulator-name = "VMEM_VDD_2.8V";
46
- regulator-min-microvolt = <2800000>;
47
- regulator-max-microvolt = <2800000>;
48
- gpio = <&gpx1 1 GPIO_ACTIVE_HIGH>;
49
- enable-active-high;
50
- };
37
+ mmc_reg: regulator-0 {
38
+ compatible = "regulator-fixed";
39
+ regulator-name = "VMEM_VDD_2.8V";
40
+ regulator-min-microvolt = <2800000>;
41
+ regulator-max-microvolt = <2800000>;
42
+ gpio = <&gpx1 1 GPIO_ACTIVE_HIGH>;
43
+ enable-active-high;
5144 };
5245
5346 display-timings {
....@@ -82,20 +75,30 @@
8275 cpu0-supply = <&buck2_reg>;
8376 };
8477
78
+&cpu_thermal {
79
+ cooling-maps {
80
+ cooling_map0: map0 {
81
+ /* Corresponds to 800MHz at freq_table */
82
+ cooling-device = <&cpu0 7 7>, <&cpu1 7 7>,
83
+ <&cpu2 7 7>, <&cpu3 7 7>;
84
+ };
85
+ cooling_map1: map1 {
86
+ /* Corresponds to 200MHz at freq_table */
87
+ cooling-device = <&cpu0 13 13>, <&cpu1 13 13>,
88
+ <&cpu2 13 13>, <&cpu3 13 13>;
89
+ };
90
+ };
91
+};
92
+
8593 &exynos_usbphy {
8694 status = "okay";
8795 };
8896
8997 &ehci {
90
- samsung,vbus-gpio = <&gpx3 5 1>;
98
+ samsung,vbus-gpio = <&gpx3 5 GPIO_ACTIVE_HIGH>;
9199 status = "okay";
92
-
93
- port@1 {
94
- status = "okay";
95
- };
96
- port@2 {
97
- status = "okay";
98
- };
100
+ phys = <&exynos_usbphy 2>, <&exynos_usbphy 3>;
101
+ phy-names = "hsic0", "hsic1";
99102 };
100103
101104 &fimd {
....@@ -141,6 +144,13 @@
141144 <1200000>, <1200000>,
142145 <1200000>, <1200000>,
143146 <1200000>, <1200000>;
147
+
148
+ s5m8767_osc: clocks {
149
+ compatible = "samsung,s5m8767-clk";
150
+ #clock-cells = <1>;
151
+ clock-output-names = "s5m8767_ap", "s5m8767_cp",
152
+ "s5m8767_bt";
153
+ };
144154
145155 regulators {
146156 ldo1_reg: LDO1 {
....@@ -369,7 +379,7 @@
369379 };
370380
371381 buck1_reg: BUCK1 {
372
- regulator-name = "vdd_mif";
382
+ regulator-name = "VDD_MIF";
373383 regulator-min-microvolt = <950000>;
374384 regulator-max-microvolt = <1100000>;
375385 regulator-always-on;
....@@ -378,7 +388,7 @@
378388 };
379389
380390 buck2_reg: BUCK2 {
381
- regulator-name = "vdd_arm";
391
+ regulator-name = "VDD_ARM";
382392 regulator-min-microvolt = <900000>;
383393 regulator-max-microvolt = <1350000>;
384394 regulator-always-on;
....@@ -387,7 +397,7 @@
387397 };
388398
389399 buck3_reg: BUCK3 {
390
- regulator-name = "vdd_int";
400
+ regulator-name = "VDD_INT";
391401 regulator-min-microvolt = <900000>;
392402 regulator-max-microvolt = <1200000>;
393403 regulator-always-on;
....@@ -396,7 +406,7 @@
396406 };
397407
398408 buck4_reg: BUCK4 {
399
- regulator-name = "vdd_g3d";
409
+ regulator-name = "VDD_G3D";
400410 regulator-min-microvolt = <750000>;
401411 regulator-max-microvolt = <1500000>;
402412 regulator-always-on;
....@@ -405,7 +415,7 @@
405415 };
406416
407417 buck5_reg: BUCK5 {
408
- regulator-name = "vdd_m12";
418
+ regulator-name = "VDD_M12";
409419 regulator-min-microvolt = <750000>;
410420 regulator-max-microvolt = <1500000>;
411421 regulator-always-on;
....@@ -414,7 +424,7 @@
414424 };
415425
416426 buck6_reg: BUCK6 {
417
- regulator-name = "vdd12_5m";
427
+ regulator-name = "VDD12_5M";
418428 regulator-min-microvolt = <750000>;
419429 regulator-max-microvolt = <1500000>;
420430 regulator-always-on;
....@@ -423,7 +433,7 @@
423433 };
424434
425435 buck9_reg: BUCK9 {
426
- regulator-name = "vddf28_emmc";
436
+ regulator-name = "VDDF28_EMMC";
427437 regulator-min-microvolt = <750000>;
428438 regulator-max-microvolt = <3000000>;
429439 regulator-always-on;
....@@ -512,6 +522,8 @@
512522
513523 &rtc {
514524 status = "okay";
525
+ clocks = <&clock CLK_RTC>, <&s5m8767_osc S2MPS11_CLK_AP>;
526
+ clock-names = "rtc", "rtc_src";
515527 };
516528
517529 &sdhci_2 {