aboutsummaryrefslogtreecommitdiff
path: root/arch/arm
diff options
context:
space:
mode:
authorJorge Ramirez-Ortiz <jorge.ramirez-ortiz@linaro.org>2018-01-10 11:33:51 +0100
committerTom Rini <trini@konsulko.com>2018-01-15 16:29:02 -0500
commite0cc0b6c6d84de8f36b85c5c324ea74d338068ca (patch)
tree239157a529565db0e200779fd5c918338c85503b /arch/arm
parent4b684a6b82572654b7398d871aa138398c2b18c7 (diff)
downloadu-boot-e0cc0b6c6d84de8f36b85c5c324ea74d338068ca.zip
u-boot-e0cc0b6c6d84de8f36b85c5c324ea74d338068ca.tar.gz
u-boot-e0cc0b6c6d84de8f36b85c5c324ea74d338068ca.tar.bz2
db820c: enable pmic gpios for pm8994
Signed-off-by: Jorge Ramirez-Ortiz <jorge.ramirez-ortiz@linaro.org>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/dts/dragonboard820c.dts43
1 files changed, 43 insertions, 0 deletions
diff --git a/arch/arm/dts/dragonboard820c.dts b/arch/arm/dts/dragonboard820c.dts
index 2d49830..6424944 100644
--- a/arch/arm/dts/dragonboard820c.dts
+++ b/arch/arm/dts/dragonboard820c.dts
@@ -61,5 +61,48 @@
clock = <&gcc 0>;
clock-frequency = <200000000>;
};
+
+ spmi@400f000 {
+ compatible = "qcom,spmi-pmic-arb";
+ reg = <0x400f800 0x200>,
+ <0x4400000 0x400000>,
+ <0x4c00000 0x400000>;
+ #address-cells = <0x1>;
+ #size-cells = <0x1>;
+
+ pmic0: pm8994@0 {
+ compatible = "qcom,spmi-pmic";
+ reg = <0x0 0x1>;
+ #address-cells = <0x1>;
+ #size-cells = <0x1>;
+
+ pm8994_pon: pm8994_pon@800 {
+ compatible = "qcom,pm8994-pwrkey";
+ reg = <0x800 0x96>;
+ #gpio-cells = <2>;
+ gpio-controller;
+ gpio-bank-name="pm8994_key.";
+ };
+
+ pm8994_gpios: pm8994_gpios@c000 {
+ compatible = "qcom,pm8994-gpio";
+ reg = <0xc000 0x400>;
+ gpio-controller;
+ gpio-count = <24>;
+ #gpio-cells = <2>;
+ gpio-bank-name="pm8994.";
+ };
+ };
+
+ pmic1: pm8994@1 {
+ compatible = "qcom,spmi-pmic";
+ reg = <0x1 0x1>;
+ #address-cells = <0x1>;
+ #size-cells = <0x1>;
+ };
+ };
};
+
};
+
+#include "dragonboard820c-uboot.dtsi"