forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-01-31 f9004dbfff8a3fbbd7e2a88c8a4327c7f2f8e5b2
kernel/arch/arm/boot/dts/exynos4412-odroid-common.dtsi
....@@ -66,21 +66,6 @@
6666 clock-frequency = <24000000>;
6767 };
6868 };
69
-
70
- thermal-zones {
71
- cpu_thermal: cpu-thermal {
72
- cooling-maps {
73
- cooling_map0: map0 {
74
- /* Corresponds to 800MHz at freq_table */
75
- cooling-device = <&cpu0 7 7>;
76
- };
77
- cooling_map1: map1 {
78
- /* Corresponds to 200MHz at freq_table */
79
- cooling-device = <&cpu0 13 13>;
80
- };
81
- };
82
- };
83
- };
8469 };
8570
8671 &bus_dmc {
....@@ -161,6 +146,30 @@
161146 cpu0-supply = <&buck2_reg>;
162147 };
163148
149
+&cpu0_opp_table {
150
+ opp-1000000000 {
151
+ opp-suspend;
152
+ };
153
+ opp-800000000 {
154
+ /delete-property/opp-suspend;
155
+ };
156
+};
157
+
158
+&cpu_thermal {
159
+ cooling-maps {
160
+ cooling_map0: map0 {
161
+ /* Corresponds to 800MHz at freq_table */
162
+ cooling-device = <&cpu0 7 7>, <&cpu1 7 7>,
163
+ <&cpu2 7 7>, <&cpu3 7 7>;
164
+ };
165
+ cooling_map1: map1 {
166
+ /* Corresponds to 200MHz at freq_table */
167
+ cooling-device = <&cpu0 13 13>, <&cpu1 13 13>,
168
+ <&cpu2 13 13>, <&cpu3 13 13>;
169
+ };
170
+ };
171
+};
172
+
164173 &pinctrl_1 {
165174 gpio_power_key: power_key {
166175 samsung,pins = "gpx1-3";
....@@ -225,6 +234,11 @@
225234 assigned-clock-rates = <0>, <176000000>;
226235 };
227236
237
+&gpu {
238
+ mali-supply = <&buck4_reg>;
239
+ status = "okay";
240
+};
241
+
228242 &hdmi {
229243 hpd-gpios = <&gpx3 7 GPIO_ACTIVE_HIGH>;
230244 pinctrl-names = "default";
....@@ -258,7 +272,7 @@
258272
259273 intn-gpios = <&gpx3 0 GPIO_ACTIVE_HIGH>;
260274 connect-gpios = <&gpx3 4 GPIO_ACTIVE_HIGH>;
261
- reset-gpios = <&gpx3 5 GPIO_ACTIVE_HIGH>;
275
+ reset-gpios = <&gpx3 5 GPIO_ACTIVE_LOW>;
262276 initial-mode = <1>;
263277 };
264278
....@@ -385,7 +399,6 @@
385399 regulator-name = "LDO20_1.8V";
386400 regulator-min-microvolt = <1800000>;
387401 regulator-max-microvolt = <1800000>;
388
- regulator-boot-on;
389402 };
390403
391404 ldo21_reg: LDO21 {
....@@ -413,7 +426,7 @@
413426 };
414427
415428 buck1_reg: BUCK1 {
416
- regulator-name = "vdd_mif";
429
+ regulator-name = "VDD_MIF";
417430 regulator-min-microvolt = <900000>;
418431 regulator-max-microvolt = <1100000>;
419432 regulator-always-on;
....@@ -421,7 +434,7 @@
421434 };
422435
423436 buck2_reg: BUCK2 {
424
- regulator-name = "vdd_arm";
437
+ regulator-name = "VDD_ARM";
425438 regulator-min-microvolt = <900000>;
426439 regulator-max-microvolt = <1350000>;
427440 regulator-always-on;
....@@ -429,7 +442,7 @@
429442 };
430443
431444 buck3_reg: BUCK3 {
432
- regulator-name = "vdd_int";
445
+ regulator-name = "VDD_INT";
433446 regulator-min-microvolt = <900000>;
434447 regulator-max-microvolt = <1050000>;
435448 regulator-always-on;
....@@ -437,7 +450,7 @@
437450 };
438451
439452 buck4_reg: BUCK4 {
440
- regulator-name = "vdd_g3d";
453
+ regulator-name = "VDD_G3D";
441454 regulator-min-microvolt = <900000>;
442455 regulator-max-microvolt = <1100000>;
443456 regulator-microvolt-offset = <50000>;
....@@ -538,8 +551,7 @@
538551 pinctrl-names = "default";
539552 vmmc-supply = <&ldo21_reg>;
540553 vqmmc-supply = <&ldo4_reg>;
541
- cd-gpios = <&gpk2 2 GPIO_ACTIVE_HIGH>;
542
- cd-inverted;
554
+ cd-gpios = <&gpk2 2 GPIO_ACTIVE_LOW>;
543555 status = "okay";
544556 };
545557