| .. | .. |
|---|
| 30 | 30 | }; |
|---|
| 31 | 31 | |
|---|
| 32 | 32 | 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"; |
|---|
| 35 | 35 | }; |
|---|
| 36 | 36 | |
|---|
| 37 | 37 | mmc_reg: voltage-regulator { |
|---|
| .. | .. |
|---|
| 100 | 100 | compatible = "samsung,clock-xusbxti"; |
|---|
| 101 | 101 | clock-frequency = <24000000>; |
|---|
| 102 | 102 | }; |
|---|
| 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 | + }; |
|---|
| 103 | 110 | }; |
|---|
| 104 | 111 | |
|---|
| 105 | 112 | display-timings { |
|---|
| .. | .. |
|---|
| 122 | 129 | cpu0-supply = <&buck1_reg>; |
|---|
| 123 | 130 | }; |
|---|
| 124 | 131 | |
|---|
| 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 | + |
|---|
| 125 | 145 | &exynos_usbphy { |
|---|
| 126 | 146 | status = "okay"; |
|---|
| 127 | 147 | }; |
|---|
| .. | .. |
|---|
| 129 | 149 | &fimd { |
|---|
| 130 | 150 | pinctrl-0 = <&lcd_en &lcd_clk &lcd_data24 &pwm0_out>; |
|---|
| 131 | 151 | pinctrl-names = "default"; |
|---|
| 152 | + status = "okay"; |
|---|
| 153 | +}; |
|---|
| 154 | + |
|---|
| 155 | +&gpu { |
|---|
| 156 | + mali-supply = <&buck3_reg>; |
|---|
| 132 | 157 | status = "okay"; |
|---|
| 133 | 158 | }; |
|---|
| 134 | 159 | |
|---|
| .. | .. |
|---|
| 246 | 271 | }; |
|---|
| 247 | 272 | |
|---|
| 248 | 273 | 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"; |
|---|
| 255 | 275 | regulator-min-microvolt = <950000>; |
|---|
| 256 | 276 | regulator-max-microvolt = <1350000>; |
|---|
| 257 | 277 | regulator-always-on; |
|---|
| .. | .. |
|---|
| 284 | 304 | regulator-min-microvolt = <3300000>; |
|---|
| 285 | 305 | regulator-max-microvolt = <3300000>; |
|---|
| 286 | 306 | regulator-boot-on; |
|---|
| 307 | + regulator-always-on; |
|---|
| 308 | + }; |
|---|
| 309 | + |
|---|
| 310 | + EN32KHZ_AP { |
|---|
| 311 | + regulator-name = "EN32KHZ_AP"; |
|---|
| 287 | 312 | regulator-always-on; |
|---|
| 288 | 313 | }; |
|---|
| 289 | 314 | }; |
|---|
| .. | .. |
|---|
| 331 | 356 | |
|---|
| 332 | 357 | &rtc { |
|---|
| 333 | 358 | status = "okay"; |
|---|
| 359 | + clocks = <&clock CLK_RTC>, <&pmic_ap_clk>; |
|---|
| 360 | + clock-names = "rtc", "rtc_src"; |
|---|
| 334 | 361 | }; |
|---|
| 335 | 362 | |
|---|
| 336 | 363 | &tmu { |
|---|