| .. | .. |
|---|
| 3 | 3 | |
|---|
| 4 | 4 | #include <dt-bindings/input/input.h> |
|---|
| 5 | 5 | #include "tegra20.dtsi" |
|---|
| 6 | +#include "tegra20-cpu-opp.dtsi" |
|---|
| 6 | 7 | |
|---|
| 7 | 8 | / { |
|---|
| 8 | 9 | model = "NVIDIA Tegra20 Ventana evaluation board"; |
|---|
| .. | .. |
|---|
| 554 | 555 | status = "okay"; |
|---|
| 555 | 556 | }; |
|---|
| 556 | 557 | |
|---|
| 557 | | - sdhci@c8000000 { |
|---|
| 558 | + mmc@c8000000 { |
|---|
| 558 | 559 | status = "okay"; |
|---|
| 559 | 560 | power-gpios = <&gpio TEGRA_GPIO(K, 6) GPIO_ACTIVE_HIGH>; |
|---|
| 560 | 561 | bus-width = <4>; |
|---|
| 561 | 562 | keep-power-in-suspend; |
|---|
| 562 | 563 | }; |
|---|
| 563 | 564 | |
|---|
| 564 | | - sdhci@c8000400 { |
|---|
| 565 | + mmc@c8000400 { |
|---|
| 565 | 566 | status = "okay"; |
|---|
| 566 | 567 | cd-gpios = <&gpio TEGRA_GPIO(I, 5) GPIO_ACTIVE_LOW>; |
|---|
| 567 | 568 | wp-gpios = <&gpio TEGRA_GPIO(H, 1) GPIO_ACTIVE_HIGH>; |
|---|
| .. | .. |
|---|
| 569 | 570 | bus-width = <4>; |
|---|
| 570 | 571 | }; |
|---|
| 571 | 572 | |
|---|
| 572 | | - sdhci@c8000600 { |
|---|
| 573 | + mmc@c8000600 { |
|---|
| 573 | 574 | status = "okay"; |
|---|
| 574 | 575 | bus-width = <8>; |
|---|
| 575 | 576 | non-removable; |
|---|
| .. | .. |
|---|
| 586 | 587 | default-brightness-level = <6>; |
|---|
| 587 | 588 | }; |
|---|
| 588 | 589 | |
|---|
| 589 | | - clocks { |
|---|
| 590 | | - compatible = "simple-bus"; |
|---|
| 591 | | - #address-cells = <1>; |
|---|
| 592 | | - #size-cells = <0>; |
|---|
| 590 | + clk32k_in: clock@0 { |
|---|
| 591 | + compatible = "fixed-clock"; |
|---|
| 592 | + clock-frequency = <32768>; |
|---|
| 593 | + #clock-cells = <0>; |
|---|
| 594 | + }; |
|---|
| 593 | 595 | |
|---|
| 594 | | - clk32k_in: clock@0 { |
|---|
| 595 | | - compatible = "fixed-clock"; |
|---|
| 596 | | - reg = <0>; |
|---|
| 597 | | - #clock-cells = <0>; |
|---|
| 598 | | - clock-frequency = <32768>; |
|---|
| 596 | + cpus { |
|---|
| 597 | + cpu0: cpu@0 { |
|---|
| 598 | + operating-points-v2 = <&cpu0_opp_table>; |
|---|
| 599 | + }; |
|---|
| 600 | + |
|---|
| 601 | + cpu@1 { |
|---|
| 602 | + operating-points-v2 = <&cpu0_opp_table>; |
|---|
| 599 | 603 | }; |
|---|
| 600 | 604 | }; |
|---|
| 601 | 605 | |
|---|
| .. | .. |
|---|
| 611 | 615 | }; |
|---|
| 612 | 616 | |
|---|
| 613 | 617 | panel: panel { |
|---|
| 614 | | - compatible = "chunghwa,claa101wa01a", "simple-panel"; |
|---|
| 618 | + compatible = "chunghwa,claa101wa01a"; |
|---|
| 615 | 619 | |
|---|
| 616 | 620 | power-supply = <&vdd_pnl_reg>; |
|---|
| 617 | 621 | enable-gpios = <&gpio TEGRA_GPIO(B, 2) GPIO_ACTIVE_HIGH>; |
|---|
| .. | .. |
|---|
| 620 | 624 | ddc-i2c-bus = <&lvds_ddc>; |
|---|
| 621 | 625 | }; |
|---|
| 622 | 626 | |
|---|
| 623 | | - regulators { |
|---|
| 624 | | - compatible = "simple-bus"; |
|---|
| 625 | | - #address-cells = <1>; |
|---|
| 626 | | - #size-cells = <0>; |
|---|
| 627 | + vdd_5v0_reg: regulator@0 { |
|---|
| 628 | + compatible = "regulator-fixed"; |
|---|
| 629 | + regulator-name = "vdd_5v0"; |
|---|
| 630 | + regulator-min-microvolt = <5000000>; |
|---|
| 631 | + regulator-max-microvolt = <5000000>; |
|---|
| 632 | + regulator-always-on; |
|---|
| 633 | + }; |
|---|
| 627 | 634 | |
|---|
| 628 | | - vdd_5v0_reg: regulator@0 { |
|---|
| 629 | | - compatible = "regulator-fixed"; |
|---|
| 630 | | - reg = <0>; |
|---|
| 631 | | - regulator-name = "vdd_5v0"; |
|---|
| 632 | | - regulator-min-microvolt = <5000000>; |
|---|
| 633 | | - regulator-max-microvolt = <5000000>; |
|---|
| 634 | | - regulator-always-on; |
|---|
| 635 | | - }; |
|---|
| 635 | + regulator@1 { |
|---|
| 636 | + compatible = "regulator-fixed"; |
|---|
| 637 | + regulator-name = "vdd_1v5"; |
|---|
| 638 | + regulator-min-microvolt = <1500000>; |
|---|
| 639 | + regulator-max-microvolt = <1500000>; |
|---|
| 640 | + gpio = <&pmic 0 GPIO_ACTIVE_HIGH>; |
|---|
| 641 | + }; |
|---|
| 636 | 642 | |
|---|
| 637 | | - regulator@1 { |
|---|
| 638 | | - compatible = "regulator-fixed"; |
|---|
| 639 | | - reg = <1>; |
|---|
| 640 | | - regulator-name = "vdd_1v5"; |
|---|
| 641 | | - regulator-min-microvolt = <1500000>; |
|---|
| 642 | | - regulator-max-microvolt = <1500000>; |
|---|
| 643 | | - gpio = <&pmic 0 GPIO_ACTIVE_HIGH>; |
|---|
| 644 | | - }; |
|---|
| 643 | + regulator@2 { |
|---|
| 644 | + compatible = "regulator-fixed"; |
|---|
| 645 | + regulator-name = "vdd_1v2"; |
|---|
| 646 | + regulator-min-microvolt = <1200000>; |
|---|
| 647 | + regulator-max-microvolt = <1200000>; |
|---|
| 648 | + gpio = <&pmic 1 GPIO_ACTIVE_HIGH>; |
|---|
| 649 | + enable-active-high; |
|---|
| 650 | + }; |
|---|
| 645 | 651 | |
|---|
| 646 | | - regulator@2 { |
|---|
| 647 | | - compatible = "regulator-fixed"; |
|---|
| 648 | | - reg = <2>; |
|---|
| 649 | | - regulator-name = "vdd_1v2"; |
|---|
| 650 | | - regulator-min-microvolt = <1200000>; |
|---|
| 651 | | - regulator-max-microvolt = <1200000>; |
|---|
| 652 | | - gpio = <&pmic 1 GPIO_ACTIVE_HIGH>; |
|---|
| 653 | | - enable-active-high; |
|---|
| 654 | | - }; |
|---|
| 652 | + vdd_pnl_reg: regulator@3 { |
|---|
| 653 | + compatible = "regulator-fixed"; |
|---|
| 654 | + regulator-name = "vdd_pnl"; |
|---|
| 655 | + regulator-min-microvolt = <2800000>; |
|---|
| 656 | + regulator-max-microvolt = <2800000>; |
|---|
| 657 | + gpio = <&gpio TEGRA_GPIO(C, 6) GPIO_ACTIVE_HIGH>; |
|---|
| 658 | + enable-active-high; |
|---|
| 659 | + }; |
|---|
| 655 | 660 | |
|---|
| 656 | | - vdd_pnl_reg: regulator@3 { |
|---|
| 657 | | - compatible = "regulator-fixed"; |
|---|
| 658 | | - reg = <3>; |
|---|
| 659 | | - regulator-name = "vdd_pnl"; |
|---|
| 660 | | - regulator-min-microvolt = <2800000>; |
|---|
| 661 | | - regulator-max-microvolt = <2800000>; |
|---|
| 662 | | - gpio = <&gpio TEGRA_GPIO(C, 6) GPIO_ACTIVE_HIGH>; |
|---|
| 663 | | - enable-active-high; |
|---|
| 664 | | - }; |
|---|
| 665 | | - |
|---|
| 666 | | - vdd_bl_reg: regulator@4 { |
|---|
| 667 | | - compatible = "regulator-fixed"; |
|---|
| 668 | | - reg = <4>; |
|---|
| 669 | | - regulator-name = "vdd_bl"; |
|---|
| 670 | | - regulator-min-microvolt = <2800000>; |
|---|
| 671 | | - regulator-max-microvolt = <2800000>; |
|---|
| 672 | | - gpio = <&gpio TEGRA_GPIO(W, 0) GPIO_ACTIVE_HIGH>; |
|---|
| 673 | | - enable-active-high; |
|---|
| 674 | | - }; |
|---|
| 661 | + vdd_bl_reg: regulator@4 { |
|---|
| 662 | + compatible = "regulator-fixed"; |
|---|
| 663 | + regulator-name = "vdd_bl"; |
|---|
| 664 | + regulator-min-microvolt = <2800000>; |
|---|
| 665 | + regulator-max-microvolt = <2800000>; |
|---|
| 666 | + gpio = <&gpio TEGRA_GPIO(W, 0) GPIO_ACTIVE_HIGH>; |
|---|
| 667 | + enable-active-high; |
|---|
| 675 | 668 | }; |
|---|
| 676 | 669 | |
|---|
| 677 | 670 | sound { |
|---|
| .. | .. |
|---|
| 693 | 686 | nvidia,audio-codec = <&wm8903>; |
|---|
| 694 | 687 | |
|---|
| 695 | 688 | nvidia,spkr-en-gpios = <&wm8903 2 GPIO_ACTIVE_HIGH>; |
|---|
| 696 | | - nvidia,hp-det-gpios = <&gpio TEGRA_GPIO(W, 2) GPIO_ACTIVE_HIGH>; |
|---|
| 689 | + nvidia,hp-det-gpios = <&gpio TEGRA_GPIO(W, 2) GPIO_ACTIVE_LOW>; |
|---|
| 697 | 690 | nvidia,int-mic-en-gpios = <&gpio TEGRA_GPIO(X, 0) |
|---|
| 698 | 691 | GPIO_ACTIVE_HIGH>; |
|---|
| 699 | 692 | nvidia,ext-mic-en-gpios = <&gpio TEGRA_GPIO(X, 1) |
|---|