| .. | .. |
|---|
| 394 | 394 | #size-cells = <0>; |
|---|
| 395 | 395 | |
|---|
| 396 | 396 | smart-battery@b { |
|---|
| 397 | | - compatible = "ti,bq20z75", "smart-battery-1.1"; |
|---|
| 397 | + compatible = "ti,bq20z75", "sbs,sbs-battery"; |
|---|
| 398 | 398 | reg = <0xb>; |
|---|
| 399 | | - ti,i2c-retry-count = <2>; |
|---|
| 400 | | - ti,poll-retry-count = <10>; |
|---|
| 399 | + sbs,i2c-retry-count = <2>; |
|---|
| 400 | + sbs,poll-retry-count = <10>; |
|---|
| 401 | 401 | }; |
|---|
| 402 | 402 | }; |
|---|
| 403 | 403 | }; |
|---|
| .. | .. |
|---|
| 760 | 760 | status = "okay"; |
|---|
| 761 | 761 | }; |
|---|
| 762 | 762 | |
|---|
| 763 | | - sdhci@c8000000 { |
|---|
| 763 | + mmc@c8000000 { |
|---|
| 764 | 764 | status = "okay"; |
|---|
| 765 | 765 | power-gpios = <&gpio TEGRA_GPIO(K, 6) GPIO_ACTIVE_HIGH>; |
|---|
| 766 | 766 | bus-width = <4>; |
|---|
| 767 | 767 | keep-power-in-suspend; |
|---|
| 768 | 768 | }; |
|---|
| 769 | 769 | |
|---|
| 770 | | - sdhci@c8000400 { |
|---|
| 770 | + mmc@c8000400 { |
|---|
| 771 | 771 | status = "okay"; |
|---|
| 772 | 772 | cd-gpios = <&gpio TEGRA_GPIO(I, 5) GPIO_ACTIVE_LOW>; |
|---|
| 773 | 773 | wp-gpios = <&gpio TEGRA_GPIO(H, 1) GPIO_ACTIVE_HIGH>; |
|---|
| .. | .. |
|---|
| 775 | 775 | bus-width = <4>; |
|---|
| 776 | 776 | }; |
|---|
| 777 | 777 | |
|---|
| 778 | | - sdhci@c8000600 { |
|---|
| 778 | + mmc@c8000600 { |
|---|
| 779 | 779 | status = "okay"; |
|---|
| 780 | 780 | bus-width = <8>; |
|---|
| 781 | 781 | non-removable; |
|---|
| .. | .. |
|---|
| 792 | 792 | default-brightness-level = <6>; |
|---|
| 793 | 793 | }; |
|---|
| 794 | 794 | |
|---|
| 795 | | - clocks { |
|---|
| 796 | | - compatible = "simple-bus"; |
|---|
| 797 | | - #address-cells = <1>; |
|---|
| 798 | | - #size-cells = <0>; |
|---|
| 799 | | - |
|---|
| 800 | | - clk32k_in: clock@0 { |
|---|
| 801 | | - compatible = "fixed-clock"; |
|---|
| 802 | | - reg = <0>; |
|---|
| 803 | | - #clock-cells = <0>; |
|---|
| 804 | | - clock-frequency = <32768>; |
|---|
| 805 | | - }; |
|---|
| 795 | + clk32k_in: clock@0 { |
|---|
| 796 | + compatible = "fixed-clock"; |
|---|
| 797 | + clock-frequency = <32768>; |
|---|
| 798 | + #clock-cells = <0>; |
|---|
| 806 | 799 | }; |
|---|
| 807 | 800 | |
|---|
| 808 | 801 | gpio-keys { |
|---|
| .. | .. |
|---|
| 826 | 819 | }; |
|---|
| 827 | 820 | |
|---|
| 828 | 821 | panel: panel { |
|---|
| 829 | | - compatible = "chunghwa,claa101wa01a", "simple-panel"; |
|---|
| 822 | + compatible = "chunghwa,claa101wa01a"; |
|---|
| 830 | 823 | |
|---|
| 831 | 824 | power-supply = <&vdd_pnl_reg>; |
|---|
| 832 | 825 | enable-gpios = <&gpio TEGRA_GPIO(B, 2) GPIO_ACTIVE_HIGH>; |
|---|
| .. | .. |
|---|
| 835 | 828 | ddc-i2c-bus = <&lvds_ddc>; |
|---|
| 836 | 829 | }; |
|---|
| 837 | 830 | |
|---|
| 838 | | - regulators { |
|---|
| 839 | | - compatible = "simple-bus"; |
|---|
| 840 | | - #address-cells = <1>; |
|---|
| 841 | | - #size-cells = <0>; |
|---|
| 831 | + vdd_5v0_reg: regulator@0 { |
|---|
| 832 | + compatible = "regulator-fixed"; |
|---|
| 833 | + regulator-name = "vdd_5v0"; |
|---|
| 834 | + regulator-min-microvolt = <5000000>; |
|---|
| 835 | + regulator-max-microvolt = <5000000>; |
|---|
| 836 | + regulator-always-on; |
|---|
| 837 | + }; |
|---|
| 842 | 838 | |
|---|
| 843 | | - vdd_5v0_reg: regulator@0 { |
|---|
| 844 | | - compatible = "regulator-fixed"; |
|---|
| 845 | | - reg = <0>; |
|---|
| 846 | | - regulator-name = "vdd_5v0"; |
|---|
| 847 | | - regulator-min-microvolt = <5000000>; |
|---|
| 848 | | - regulator-max-microvolt = <5000000>; |
|---|
| 849 | | - regulator-always-on; |
|---|
| 850 | | - }; |
|---|
| 839 | + regulator@1 { |
|---|
| 840 | + compatible = "regulator-fixed"; |
|---|
| 841 | + regulator-name = "vdd_1v5"; |
|---|
| 842 | + regulator-min-microvolt = <1500000>; |
|---|
| 843 | + regulator-max-microvolt = <1500000>; |
|---|
| 844 | + gpio = <&pmic 0 GPIO_ACTIVE_HIGH>; |
|---|
| 845 | + }; |
|---|
| 851 | 846 | |
|---|
| 852 | | - regulator@1 { |
|---|
| 853 | | - compatible = "regulator-fixed"; |
|---|
| 854 | | - reg = <1>; |
|---|
| 855 | | - regulator-name = "vdd_1v5"; |
|---|
| 856 | | - regulator-min-microvolt = <1500000>; |
|---|
| 857 | | - regulator-max-microvolt = <1500000>; |
|---|
| 858 | | - gpio = <&pmic 0 GPIO_ACTIVE_HIGH>; |
|---|
| 859 | | - }; |
|---|
| 847 | + regulator@2 { |
|---|
| 848 | + compatible = "regulator-fixed"; |
|---|
| 849 | + regulator-name = "vdd_1v2"; |
|---|
| 850 | + regulator-min-microvolt = <1200000>; |
|---|
| 851 | + regulator-max-microvolt = <1200000>; |
|---|
| 852 | + gpio = <&pmic 1 GPIO_ACTIVE_HIGH>; |
|---|
| 853 | + enable-active-high; |
|---|
| 854 | + }; |
|---|
| 860 | 855 | |
|---|
| 861 | | - regulator@2 { |
|---|
| 862 | | - compatible = "regulator-fixed"; |
|---|
| 863 | | - reg = <2>; |
|---|
| 864 | | - regulator-name = "vdd_1v2"; |
|---|
| 865 | | - regulator-min-microvolt = <1200000>; |
|---|
| 866 | | - regulator-max-microvolt = <1200000>; |
|---|
| 867 | | - gpio = <&pmic 1 GPIO_ACTIVE_HIGH>; |
|---|
| 868 | | - enable-active-high; |
|---|
| 869 | | - }; |
|---|
| 856 | + vbus_reg: regulator@3 { |
|---|
| 857 | + compatible = "regulator-fixed"; |
|---|
| 858 | + regulator-name = "vdd_vbus_wup1"; |
|---|
| 859 | + regulator-min-microvolt = <5000000>; |
|---|
| 860 | + regulator-max-microvolt = <5000000>; |
|---|
| 861 | + enable-active-high; |
|---|
| 862 | + gpio = <&gpio TEGRA_GPIO(D, 0) 0>; |
|---|
| 863 | + regulator-always-on; |
|---|
| 864 | + regulator-boot-on; |
|---|
| 865 | + }; |
|---|
| 870 | 866 | |
|---|
| 871 | | - vbus_reg: regulator@3 { |
|---|
| 872 | | - compatible = "regulator-fixed"; |
|---|
| 873 | | - reg = <3>; |
|---|
| 874 | | - regulator-name = "vdd_vbus_wup1"; |
|---|
| 875 | | - regulator-min-microvolt = <5000000>; |
|---|
| 876 | | - regulator-max-microvolt = <5000000>; |
|---|
| 877 | | - enable-active-high; |
|---|
| 878 | | - gpio = <&gpio TEGRA_GPIO(D, 0) 0>; |
|---|
| 879 | | - regulator-always-on; |
|---|
| 880 | | - regulator-boot-on; |
|---|
| 881 | | - }; |
|---|
| 867 | + vdd_pnl_reg: regulator@4 { |
|---|
| 868 | + compatible = "regulator-fixed"; |
|---|
| 869 | + regulator-name = "vdd_pnl"; |
|---|
| 870 | + regulator-min-microvolt = <2800000>; |
|---|
| 871 | + regulator-max-microvolt = <2800000>; |
|---|
| 872 | + gpio = <&gpio TEGRA_GPIO(C, 6) GPIO_ACTIVE_HIGH>; |
|---|
| 873 | + enable-active-high; |
|---|
| 874 | + }; |
|---|
| 882 | 875 | |
|---|
| 883 | | - vdd_pnl_reg: regulator@4 { |
|---|
| 884 | | - compatible = "regulator-fixed"; |
|---|
| 885 | | - reg = <4>; |
|---|
| 886 | | - regulator-name = "vdd_pnl"; |
|---|
| 887 | | - regulator-min-microvolt = <2800000>; |
|---|
| 888 | | - regulator-max-microvolt = <2800000>; |
|---|
| 889 | | - gpio = <&gpio TEGRA_GPIO(C, 6) GPIO_ACTIVE_HIGH>; |
|---|
| 890 | | - enable-active-high; |
|---|
| 891 | | - }; |
|---|
| 876 | + vdd_bl_reg: regulator@5 { |
|---|
| 877 | + compatible = "regulator-fixed"; |
|---|
| 878 | + regulator-name = "vdd_bl"; |
|---|
| 879 | + regulator-min-microvolt = <2800000>; |
|---|
| 880 | + regulator-max-microvolt = <2800000>; |
|---|
| 881 | + gpio = <&gpio TEGRA_GPIO(W, 0) GPIO_ACTIVE_HIGH>; |
|---|
| 882 | + enable-active-high; |
|---|
| 883 | + }; |
|---|
| 892 | 884 | |
|---|
| 893 | | - vdd_bl_reg: regulator@5 { |
|---|
| 894 | | - compatible = "regulator-fixed"; |
|---|
| 895 | | - reg = <5>; |
|---|
| 896 | | - regulator-name = "vdd_bl"; |
|---|
| 897 | | - regulator-min-microvolt = <2800000>; |
|---|
| 898 | | - regulator-max-microvolt = <2800000>; |
|---|
| 899 | | - gpio = <&gpio TEGRA_GPIO(W, 0) GPIO_ACTIVE_HIGH>; |
|---|
| 900 | | - enable-active-high; |
|---|
| 901 | | - }; |
|---|
| 902 | | - |
|---|
| 903 | | - vdd_hdmi: regulator@6 { |
|---|
| 904 | | - compatible = "regulator-fixed"; |
|---|
| 905 | | - reg = <6>; |
|---|
| 906 | | - regulator-name = "VDDIO_HDMI"; |
|---|
| 907 | | - regulator-min-microvolt = <5000000>; |
|---|
| 908 | | - regulator-max-microvolt = <5000000>; |
|---|
| 909 | | - gpio = <&gpio TEGRA_GPIO(V, 5) GPIO_ACTIVE_HIGH>; |
|---|
| 910 | | - enable-active-high; |
|---|
| 911 | | - vin-supply = <&vdd_5v0_reg>; |
|---|
| 912 | | - }; |
|---|
| 885 | + vdd_hdmi: regulator@6 { |
|---|
| 886 | + compatible = "regulator-fixed"; |
|---|
| 887 | + regulator-name = "VDDIO_HDMI"; |
|---|
| 888 | + regulator-min-microvolt = <5000000>; |
|---|
| 889 | + regulator-max-microvolt = <5000000>; |
|---|
| 890 | + gpio = <&gpio TEGRA_GPIO(V, 5) GPIO_ACTIVE_HIGH>; |
|---|
| 891 | + enable-active-high; |
|---|
| 892 | + vin-supply = <&vdd_5v0_reg>; |
|---|
| 913 | 893 | }; |
|---|
| 914 | 894 | |
|---|
| 915 | 895 | sound { |
|---|
| .. | .. |
|---|
| 931 | 911 | nvidia,audio-codec = <&wm8903>; |
|---|
| 932 | 912 | |
|---|
| 933 | 913 | nvidia,spkr-en-gpios = <&wm8903 2 GPIO_ACTIVE_HIGH>; |
|---|
| 934 | | - nvidia,hp-det-gpios = <&gpio TEGRA_GPIO(X, 1) GPIO_ACTIVE_HIGH>; |
|---|
| 914 | + nvidia,hp-det-gpios = <&gpio TEGRA_GPIO(X, 1) GPIO_ACTIVE_LOW>; |
|---|
| 935 | 915 | |
|---|
| 936 | 916 | clocks = <&tegra_car TEGRA20_CLK_PLL_A>, |
|---|
| 937 | 917 | <&tegra_car TEGRA20_CLK_PLL_A_OUT0>, |
|---|