aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLaxman Dewangan <ldewangan@nvidia.com>2013-07-18 22:13:11 -0400
committerStephen Warren <swarren@nvidia.com>2013-07-19 11:30:05 -0400
commitc321d968ab77bf10dcde71ceb56f7eaf738f6ed8 (patch)
treec6dac7cc6d771b0e685605b5408ca354e51b60d4
parenteb2cabd7cfa25c0ec4a099bf632ad9bae3be79f1 (diff)
ARM: tegra: enable palmas device for dalmore
Make the entry of Dalmore Power Management Unit device TPS65913 in dalmore DTS file. The Palma driver support this device. Enable following submodule of the TPS65913: - GPIO driver - RTC driver. - Power regulator driver. Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> [swarren, fixed indentation and DT node sort order] Signed-off-by: Stephen Warren <swarren@nvidia.com>
-rw-r--r--arch/arm/boot/dts/tegra114-dalmore.dts186
1 files changed, 185 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/tegra114-dalmore.dts b/arch/arm/boot/dts/tegra114-dalmore.dts
index a42bfa4211a9..bf9223ed2d65 100644
--- a/arch/arm/boot/dts/tegra114-dalmore.dts
+++ b/arch/arm/boot/dts/tegra114-dalmore.dts
@@ -791,7 +791,7 @@
791 regulator-boot-on; 791 regulator-boot-on;
792 }; 792 };
793 793
794 dcdc3 { 794 tps65090_dcdc3_reg: dcdc3 {
795 regulator-name = "vdd-ao"; 795 regulator-name = "vdd-ao";
796 regulator-always-on; 796 regulator-always-on;
797 regulator-boot-on; 797 regulator-boot-on;
@@ -836,6 +836,180 @@
836 }; 836 };
837 }; 837 };
838 }; 838 };
839
840 palmas: tps65913 {
841 compatible = "ti,palmas";
842 reg = <0x58>;
843 interrupts = <0 86 0x4>;
844
845 #interrupt-cells = <2>;
846 interrupt-controller;
847
848 palmas_gpio: gpio {
849 compatible = "ti,palmas-gpio";
850 gpio-controller;
851 #gpio-cells = <2>;
852 };
853
854 pmic {
855 compatible = "ti,tps65913-pmic", "ti,palmas-pmic";
856 smps1-in-supply = <&tps65090_dcdc3_reg>;
857 smps3-in-supply = <&tps65090_dcdc3_reg>;
858 smps4-in-supply = <&tps65090_dcdc2_reg>;
859 smps7-in-supply = <&tps65090_dcdc2_reg>;
860 smps8-in-supply = <&tps65090_dcdc2_reg>;
861 smps9-in-supply = <&tps65090_dcdc2_reg>;
862 ldo1-in-supply = <&tps65090_dcdc2_reg>;
863 ldo2-in-supply = <&tps65090_dcdc2_reg>;
864 ldo3-in-supply = <&palmas_smps3_reg>;
865 ldo4-in-supply = <&tps65090_dcdc2_reg>;
866 ldo5-in-supply = <&vdd_ac_bat_reg>;
867 ldo6-in-supply = <&tps65090_dcdc2_reg>;
868 ldo7-in-supply = <&tps65090_dcdc2_reg>;
869 ldo8-in-supply = <&tps65090_dcdc3_reg>;
870 ldo9-in-supply = <&palmas_smps9_reg>;
871 ldoln-in-supply = <&tps65090_dcdc1_reg>;
872 ldousb-in-supply = <&tps65090_dcdc1_reg>;
873
874 regulators {
875 smps12 {
876 regulator-name = "vddio-ddr";
877 regulator-min-microvolt = <1350000>;
878 regulator-max-microvolt = <1350000>;
879 regulator-always-on;
880 regulator-boot-on;
881 };
882
883 palmas_smps3_reg: smps3 {
884 regulator-name = "vddio-1v8";
885 regulator-min-microvolt = <1800000>;
886 regulator-max-microvolt = <1800000>;
887 regulator-always-on;
888 regulator-boot-on;
889 };
890
891 smps45 {
892 regulator-name = "vdd-core";
893 regulator-min-microvolt = <900000>;
894 regulator-max-microvolt = <1400000>;
895 regulator-always-on;
896 regulator-boot-on;
897 };
898
899 smps457 {
900 regulator-name = "vdd-core";
901 regulator-min-microvolt = <900000>;
902 regulator-max-microvolt = <1400000>;
903 regulator-always-on;
904 regulator-boot-on;
905 };
906
907 smps8 {
908 regulator-name = "avdd-pll";
909 regulator-min-microvolt = <1050000>;
910 regulator-max-microvolt = <1050000>;
911 regulator-always-on;
912 regulator-boot-on;
913 };
914
915 palmas_smps9_reg: smps9 {
916 regulator-name = "sdhci-vdd-sd-slot";
917 regulator-min-microvolt = <2800000>;
918 regulator-max-microvolt = <2800000>;
919 regulator-always-on;
920 };
921
922 ldo1 {
923 regulator-name = "avdd-cam1";
924 regulator-min-microvolt = <2800000>;
925 regulator-max-microvolt = <2800000>;
926 };
927
928 ldo2 {
929 regulator-name = "avdd-cam2";
930 regulator-min-microvolt = <2800000>;
931 regulator-max-microvolt = <2800000>;
932 };
933
934 ldo3 {
935 regulator-name = "avdd-dsi-csi";
936 regulator-min-microvolt = <1200000>;
937 regulator-max-microvolt = <1200000>;
938 regulator-always-on;
939 regulator-boot-on;
940 };
941
942 ldo4 {
943 regulator-name = "vpp-fuse";
944 regulator-min-microvolt = <1800000>;
945 regulator-max-microvolt = <1800000>;
946 };
947
948 ldo6 {
949 regulator-name = "vdd-sensor-2v85";
950 regulator-min-microvolt = <2850000>;
951 regulator-max-microvolt = <2850000>;
952 };
953
954 ldo7 {
955 regulator-name = "vdd-af-cam1";
956 regulator-min-microvolt = <2800000>;
957 regulator-max-microvolt = <2800000>;
958 };
959
960 ldo8 {
961 regulator-name = "vdd-rtc";
962 regulator-min-microvolt = <900000>;
963 regulator-max-microvolt = <900000>;
964 regulator-always-on;
965 regulator-boot-on;
966 ti,enable-ldo8-tracking;
967 };
968
969 ldo9 {
970 regulator-name = "vddio-sdmmc-2";
971 regulator-min-microvolt = <1800000>;
972 regulator-max-microvolt = <3300000>;
973 regulator-always-on;
974 regulator-boot-on;
975 };
976
977 ldoln {
978 regulator-name = "hvdd-usb";
979 regulator-min-microvolt = <3300000>;
980 regulator-max-microvolt = <3300000>;
981 };
982
983 ldousb {
984 regulator-name = "avdd-usb";
985 regulator-min-microvolt = <3300000>;
986 regulator-max-microvolt = <3300000>;
987 regulator-always-on;
988 regulator-boot-on;
989 };
990
991 regen1 {
992 regulator-name = "rail-3v3";
993 regulator-max-microvolt = <3300000>;
994 regulator-always-on;
995 regulator-boot-on;
996 };
997
998 regen2 {
999 regulator-name = "rail-5v0";
1000 regulator-max-microvolt = <5000000>;
1001 regulator-always-on;
1002 regulator-boot-on;
1003 };
1004 };
1005 };
1006
1007 rtc {
1008 compatible = "ti,palmas-rtc";
1009 interrupt-parent = <&palmas>;
1010 interrupts = <8 0>;
1011 };
1012 };
839 }; 1013 };
840 1014
841 spi@7000da00 { 1015 spi@7000da00 {
@@ -980,6 +1154,16 @@
980 gpio = <&gpio TEGRA_GPIO(K, 1) GPIO_ACTIVE_HIGH>; 1154 gpio = <&gpio TEGRA_GPIO(K, 1) GPIO_ACTIVE_HIGH>;
981 vin-supply = <&tps65090_dcdc1_reg>; 1155 vin-supply = <&tps65090_dcdc1_reg>;
982 }; 1156 };
1157
1158 vdd_cam_1v8_reg: regulator@6 {
1159 compatible = "regulator-fixed";
1160 reg = <6>;
1161 regulator-name = "vdd_cam_1v8_reg";
1162 regulator-min-microvolt = <1800000>;
1163 regulator-max-microvolt = <1800000>;
1164 enable-active-high;
1165 gpio = <&palmas_gpio 6 0>;
1166 };
983 }; 1167 };
984 1168
985 sound { 1169 sound {