.. | .. |
---|
24 | 24 | }; |
---|
25 | 25 | |
---|
26 | 26 | chosen { |
---|
27 | | - bootargs = "console=ttySAC2,115200N8 root=/dev/mmcblk0p5 rw rootwait earlyprintk panic=5 maxcpus=1"; |
---|
28 | | - stdout-path = &serial_2; |
---|
| 27 | + bootargs = "root=/dev/mmcblk0p5 rw rootwait earlyprintk panic=5 maxcpus=1"; |
---|
| 28 | + stdout-path = "serial2:115200n8"; |
---|
29 | 29 | }; |
---|
30 | 30 | |
---|
31 | 31 | |
---|
.. | .. |
---|
39 | 39 | compatible = "samsung,clock-xusbxti"; |
---|
40 | 40 | clock-frequency = <24000000>; |
---|
41 | 41 | }; |
---|
| 42 | + |
---|
| 43 | + pmic_ap_clk: pmic-ap-clk { |
---|
| 44 | + /* Workaround for missing clock on PMIC */ |
---|
| 45 | + compatible = "fixed-clock"; |
---|
| 46 | + #clock-cells = <0>; |
---|
| 47 | + clock-frequency = <32768>; |
---|
| 48 | + }; |
---|
42 | 49 | }; |
---|
43 | 50 | |
---|
44 | 51 | vemmc_reg: voltage-regulator { |
---|
45 | | - compatible = "regulator-fixed"; |
---|
| 52 | + compatible = "regulator-fixed"; |
---|
46 | 53 | regulator-name = "VMEM_VDD_2_8V"; |
---|
47 | 54 | regulator-min-microvolt = <2800000>; |
---|
48 | 55 | regulator-max-microvolt = <2800000>; |
---|
49 | 56 | gpio = <&gpe1 3 GPIO_ACTIVE_HIGH>; |
---|
50 | 57 | enable-active-high; |
---|
| 58 | + }; |
---|
| 59 | + |
---|
| 60 | + wlan_pwrseq: sdhci3-pwrseq { |
---|
| 61 | + compatible = "mmc-pwrseq-simple"; |
---|
| 62 | + reset-gpios = <&gpe3 1 GPIO_ACTIVE_LOW>; |
---|
51 | 63 | }; |
---|
52 | 64 | |
---|
53 | 65 | gpio-keys { |
---|
.. | .. |
---|
99 | 111 | }; |
---|
100 | 112 | |
---|
101 | 113 | tsp_reg: voltage-regulator { |
---|
102 | | - compatible = "regulator-fixed"; |
---|
| 114 | + compatible = "regulator-fixed"; |
---|
103 | 115 | regulator-name = "TSP_2_8V"; |
---|
104 | 116 | regulator-min-microvolt = <2800000>; |
---|
105 | 117 | regulator-max-microvolt = <2800000>; |
---|
.. | .. |
---|
107 | 119 | enable-active-high; |
---|
108 | 120 | }; |
---|
109 | 121 | |
---|
110 | | - spi-lcd { |
---|
| 122 | + spi-3 { |
---|
111 | 123 | compatible = "spi-gpio"; |
---|
112 | 124 | #address-cells = <1>; |
---|
113 | 125 | #size-cells = <0>; |
---|
114 | 126 | |
---|
115 | | - gpio-sck = <&gpy3 1 GPIO_ACTIVE_HIGH>; |
---|
116 | | - gpio-mosi = <&gpy3 3 GPIO_ACTIVE_HIGH>; |
---|
| 127 | + sck-gpios = <&gpy3 1 GPIO_ACTIVE_HIGH>; |
---|
| 128 | + mosi-gpios = <&gpy3 3 GPIO_ACTIVE_HIGH>; |
---|
117 | 129 | num-chipselects = <1>; |
---|
118 | | - cs-gpios = <&gpy4 3 GPIO_ACTIVE_HIGH>; |
---|
| 130 | + cs-gpios = <&gpy4 3 GPIO_ACTIVE_LOW>; |
---|
119 | 131 | |
---|
120 | 132 | lcd@0 { |
---|
121 | 133 | compatible = "samsung,ld9040"; |
---|
.. | .. |
---|
124 | 136 | vci-supply = <&ldo17_reg>; |
---|
125 | 137 | reset-gpios = <&gpy4 5 GPIO_ACTIVE_HIGH>; |
---|
126 | 138 | spi-max-frequency = <1200000>; |
---|
127 | | - spi-cpol; |
---|
128 | | - spi-cpha; |
---|
129 | 139 | power-on-delay = <10>; |
---|
130 | 140 | reset-delay = <10>; |
---|
131 | 141 | panel-width-mm = <90>; |
---|
.. | .. |
---|
166 | 176 | |
---|
167 | 177 | hdmi_ddc: i2c-ddc { |
---|
168 | 178 | compatible = "i2c-gpio"; |
---|
169 | | - gpios = <&gpe4 2 GPIO_ACTIVE_HIGH &gpe4 3 GPIO_ACTIVE_HIGH>; |
---|
| 179 | + sda-gpios = <&gpe4 2 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; |
---|
| 180 | + scl-gpios = <&gpe4 3 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; |
---|
170 | 181 | i2c-gpio,delay-us = <100>; |
---|
171 | 182 | #address-cells = <1>; |
---|
172 | 183 | #size-cells = <0>; |
---|
.. | .. |
---|
188 | 199 | cpu0-supply = <&vdd_arm_reg>; |
---|
189 | 200 | }; |
---|
190 | 201 | |
---|
| 202 | +&cpu_thermal { |
---|
| 203 | + cooling-maps { |
---|
| 204 | + map0 { |
---|
| 205 | + /* Corresponds to 800MHz */ |
---|
| 206 | + cooling-device = <&cpu0 2 2>; |
---|
| 207 | + }; |
---|
| 208 | + map1 { |
---|
| 209 | + /* Corresponds to 200MHz */ |
---|
| 210 | + cooling-device = <&cpu0 4 4>; |
---|
| 211 | + }; |
---|
| 212 | + }; |
---|
| 213 | +}; |
---|
| 214 | + |
---|
191 | 215 | &ehci { |
---|
192 | 216 | status = "okay"; |
---|
193 | | - port@0 { |
---|
194 | | - status = "okay"; |
---|
195 | | - }; |
---|
| 217 | + phys = <&exynos_usbphy 1>; |
---|
| 218 | + phy-names = "host"; |
---|
196 | 219 | }; |
---|
197 | 220 | |
---|
198 | 221 | &exynos_usbphy { |
---|
.. | .. |
---|
248 | 271 | }; |
---|
249 | 272 | }; |
---|
250 | 273 | |
---|
| 274 | +&gpu { |
---|
| 275 | + mali-supply = <&buck2_reg>; |
---|
| 276 | + status = "okay"; |
---|
| 277 | +}; |
---|
| 278 | + |
---|
251 | 279 | &hdmi { |
---|
252 | 280 | hpd-gpios = <&gpx3 7 GPIO_ACTIVE_HIGH>; |
---|
253 | 281 | pinctrl-names = "default"; |
---|
.. | .. |
---|
301 | 329 | max8952,sync-freq = <0>; |
---|
302 | 330 | max8952,ramp-speed = <0>; |
---|
303 | 331 | |
---|
304 | | - regulator-name = "vdd_arm"; |
---|
| 332 | + regulator-name = "VARM_1.2V_C210"; |
---|
305 | 333 | regulator-min-microvolt = <770000>; |
---|
306 | 334 | regulator-max-microvolt = <1400000>; |
---|
307 | 335 | regulator-always-on; |
---|
.. | .. |
---|
310 | 338 | |
---|
311 | 339 | pmic@66 { |
---|
312 | 340 | compatible = "national,lp3974"; |
---|
| 341 | + interrupts-extended = <&gpx0 7 0>, <&gpx2 7 0>; |
---|
| 342 | + pinctrl-names = "default"; |
---|
| 343 | + pinctrl-0 = <&lp3974_irq>; |
---|
313 | 344 | reg = <0x66>; |
---|
314 | 345 | |
---|
315 | 346 | max8998,pmic-buck1-default-dvs-idx = <0>; |
---|
.. | .. |
---|
488 | 519 | }; |
---|
489 | 520 | |
---|
490 | 521 | &mdma1 { |
---|
491 | | - reg = <0x12840000 0x1000>; |
---|
| 522 | + /* Use the secure mdma0 */ |
---|
| 523 | + status = "disabled"; |
---|
492 | 524 | }; |
---|
493 | 525 | |
---|
494 | 526 | &mixer { |
---|
.. | .. |
---|
497 | 529 | |
---|
498 | 530 | &ohci { |
---|
499 | 531 | status = "okay"; |
---|
500 | | - port@0 { |
---|
501 | | - status = "okay"; |
---|
502 | | - }; |
---|
503 | 532 | }; |
---|
504 | 533 | |
---|
505 | 534 | &pinctrl_1 { |
---|
| 535 | + lp3974_irq: lp3974-irq { |
---|
| 536 | + samsung,pins = "gpx0-7", "gpx2-7"; |
---|
| 537 | + samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; |
---|
| 538 | + }; |
---|
| 539 | + |
---|
506 | 540 | hdmi_hpd: hdmi-hpd { |
---|
507 | 541 | samsung,pins = "gpx3-7"; |
---|
508 | 542 | samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; |
---|
.. | .. |
---|
523 | 557 | status = "okay"; |
---|
524 | 558 | }; |
---|
525 | 559 | |
---|
| 560 | +&rtc { |
---|
| 561 | + status = "okay"; |
---|
| 562 | + clocks = <&clock CLK_RTC>, <&pmic_ap_clk>; |
---|
| 563 | + clock-names = "rtc", "rtc_src"; |
---|
| 564 | +}; |
---|
| 565 | + |
---|
526 | 566 | &sdhci_0 { |
---|
527 | 567 | bus-width = <8>; |
---|
528 | 568 | non-removable; |
---|
.. | .. |
---|
537 | 577 | pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_bus4>; |
---|
538 | 578 | pinctrl-names = "default"; |
---|
539 | 579 | vmmc-supply = <&ldo5_reg>; |
---|
540 | | - cd-gpios = <&gpx3 4 GPIO_ACTIVE_HIGH>; |
---|
541 | | - cd-inverted; |
---|
| 580 | + cd-gpios = <&gpx3 4 GPIO_ACTIVE_LOW>; |
---|
542 | 581 | status = "okay"; |
---|
| 582 | +}; |
---|
| 583 | + |
---|
| 584 | +&sdhci_3 { |
---|
| 585 | + status = "okay"; |
---|
| 586 | + |
---|
| 587 | + #address-cells = <1>; |
---|
| 588 | + #size-cells = <0>; |
---|
| 589 | + |
---|
| 590 | + non-removable; |
---|
| 591 | + bus-width = <4>; |
---|
| 592 | + mmc-pwrseq = <&wlan_pwrseq>; |
---|
| 593 | + vmmc-supply = <&ldo5_reg>; |
---|
| 594 | + |
---|
| 595 | + pinctrl-names = "default"; |
---|
| 596 | + pinctrl-0 = <&sd3_clk>, <&sd3_cmd>, <&sd3_bus4>; |
---|
| 597 | + |
---|
| 598 | + brcmf: wifi@1 { |
---|
| 599 | + compatible = "brcm,bcm4330-fmac"; |
---|
| 600 | + reg = <1>; |
---|
| 601 | + interrupt-parent = <&gpx2>; |
---|
| 602 | + interrupts = <5 IRQ_TYPE_LEVEL_HIGH>; |
---|
| 603 | + interrupt-names = "host-wake"; |
---|
| 604 | + }; |
---|
543 | 605 | }; |
---|
544 | 606 | |
---|
545 | 607 | &serial_0 { |
---|
.. | .. |
---|
566 | 628 | /delete-property/dma-names; |
---|
567 | 629 | }; |
---|
568 | 630 | |
---|
| 631 | +&soc { |
---|
| 632 | + mdma0: mdma@12840000 { |
---|
| 633 | + compatible = "arm,pl330", "arm,primecell"; |
---|
| 634 | + reg = <0x12840000 0x1000>; |
---|
| 635 | + interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>; |
---|
| 636 | + clocks = <&clock CLK_MDMA>; |
---|
| 637 | + clock-names = "apb_pclk"; |
---|
| 638 | + #dma-cells = <1>; |
---|
| 639 | + #dma-channels = <8>; |
---|
| 640 | + #dma-requests = <1>; |
---|
| 641 | + power-domains = <&pd_lcd0>; |
---|
| 642 | + }; |
---|
| 643 | +}; |
---|
| 644 | + |
---|
569 | 645 | &sysram { |
---|
570 | | - smp-sysram@0 { |
---|
| 646 | + smp-sram@0 { |
---|
571 | 647 | status = "disabled"; |
---|
572 | 648 | }; |
---|
573 | 649 | |
---|
574 | | - smp-sysram@5000 { |
---|
| 650 | + smp-sram@5000 { |
---|
575 | 651 | compatible = "samsung,exynos4210-sysram"; |
---|
576 | 652 | reg = <0x5000 0x1000>; |
---|
577 | 653 | }; |
---|
578 | 654 | |
---|
579 | | - smp-sysram@1f000 { |
---|
| 655 | + smp-sram@1f000 { |
---|
580 | 656 | status = "disabled"; |
---|
581 | 657 | }; |
---|
582 | 658 | }; |
---|