hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/arch/arm/boot/dts/exynos4210-origen.dts
....@@ -30,8 +30,8 @@
3030 };
3131
3232 chosen {
33
- bootargs ="root=/dev/ram0 rw ramdisk=8192 initrd=0x41000000,8M console=ttySAC2,115200 init=/linuxrc";
34
- stdout-path = &serial_2;
33
+ bootargs = "root=/dev/ram0 rw ramdisk=8192 initrd=0x41000000,8M init=/linuxrc";
34
+ stdout-path = "serial2:115200n8";
3535 };
3636
3737 mmc_reg: voltage-regulator {
....@@ -100,6 +100,13 @@
100100 compatible = "samsung,clock-xusbxti";
101101 clock-frequency = <24000000>;
102102 };
103
+
104
+ pmic_ap_clk: pmic-ap-clk {
105
+ /* Workaround for missing clock on max8997 PMIC */
106
+ compatible = "fixed-clock";
107
+ #clock-cells = <0>;
108
+ clock-frequency = <32768>;
109
+ };
103110 };
104111
105112 display-timings {
....@@ -122,6 +129,19 @@
122129 cpu0-supply = <&buck1_reg>;
123130 };
124131
132
+&cpu_thermal {
133
+ cooling-maps {
134
+ map0 {
135
+ /* Corresponds to 800MHz */
136
+ cooling-device = <&cpu0 2 2>;
137
+ };
138
+ map1 {
139
+ /* Corresponds to 200MHz */
140
+ cooling-device = <&cpu0 4 4>;
141
+ };
142
+ };
143
+};
144
+
125145 &exynos_usbphy {
126146 status = "okay";
127147 };
....@@ -129,6 +149,11 @@
129149 &fimd {
130150 pinctrl-0 = <&lcd_en &lcd_clk &lcd_data24 &pwm0_out>;
131151 pinctrl-names = "default";
152
+ status = "okay";
153
+};
154
+
155
+&gpu {
156
+ mali-supply = <&buck3_reg>;
132157 status = "okay";
133158 };
134159
....@@ -246,12 +271,7 @@
246271 };
247272
248273 buck1_reg: BUCK1 {
249
- /*
250
- * HACK: The real name is VDD_ARM_1.2V,
251
- * but exynos-cpufreq does not support
252
- * DT-based regulator lookup yet.
253
- */
254
- regulator-name = "vdd_arm";
274
+ regulator-name = "VDD_ARM_1.2V";
255275 regulator-min-microvolt = <950000>;
256276 regulator-max-microvolt = <1350000>;
257277 regulator-always-on;
....@@ -284,6 +304,11 @@
284304 regulator-min-microvolt = <3300000>;
285305 regulator-max-microvolt = <3300000>;
286306 regulator-boot-on;
307
+ regulator-always-on;
308
+ };
309
+
310
+ EN32KHZ_AP {
311
+ regulator-name = "EN32KHZ_AP";
287312 regulator-always-on;
288313 };
289314 };
....@@ -331,6 +356,8 @@
331356
332357 &rtc {
333358 status = "okay";
359
+ clocks = <&clock CLK_RTC>, <&pmic_ap_clk>;
360
+ clock-names = "rtc", "rtc_src";
334361 };
335362
336363 &tmu {