Commit 4cde3733 authored by Daniel Drake's avatar Daniel Drake Committed by Olof Johansson

ARM: dts: Enable PMIC interrupts on ODROID

The ODROID kernel shows that the PMIC interrupt line is hooked up
to pin GPX3-2.

This is needed for the max77686-irq driver to create the PMIC IRQ
domain, which is needed by max77686-rtc.
Signed-off-by: default avatarDaniel Drake <drake@endlessm.com>
Tested-by: default avatarTomeu Vizoso <tomeu.vizoso@collabora.com>
Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
parent 7c3a9cd8
...@@ -148,6 +148,10 @@ usb3503: usb3503@08 { ...@@ -148,6 +148,10 @@ usb3503: usb3503@08 {
max77686: pmic@09 { max77686: pmic@09 {
compatible = "maxim,max77686"; compatible = "maxim,max77686";
interrupt-parent = <&gpx3>;
interrupts = <2 0>;
pinctrl-names = "default";
pinctrl-0 = <&max77686_irq>;
reg = <0x09>; reg = <0x09>;
#clock-cells = <1>; #clock-cells = <1>;
...@@ -368,4 +372,11 @@ gpio_power_key: power_key { ...@@ -368,4 +372,11 @@ gpio_power_key: power_key {
samsung,pins = "gpx1-3"; samsung,pins = "gpx1-3";
samsung,pin-pud = <0>; samsung,pin-pud = <0>;
}; };
max77686_irq: max77686-irq {
samsung,pins = "gpx3-2";
samsung,pin-function = <0>;
samsung,pin-pud = <0>;
samsung,pin-drv = <0>;
};
}; };
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment