ARM: dts: imx6: phyFLEX: Set correct interrupt for pmic
authorChristian Hemp <c.hemp@phytec.de>
Fri, 14 Nov 2014 13:32:24 +0000 (14:32 +0100)
committerShawn Guo <shawn.guo@linaro.org>
Sun, 23 Nov 2014 07:08:14 +0000 (15:08 +0800)
The PMIC interrupt was changed from modul revision 1 to 2. Revision 1 was
declared as a prototype and is not in series by any customers.

Signed-off-by: Christian Hemp <c.hemp@phytec.de>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
arch/arm/boot/dts/imx6qdl-phytec-pfla02.dtsi

index af30653369693c073b51bd5d3816f9a53fcbaa59..8d718b55a07f55097de665232015e6fa5b118b33 100644 (file)
        pmic@58 {
                compatible = "dlg,da9063";
                reg = <0x58>;
-               interrupt-parent = <&gpio4>;
-               interrupts = <17 0x8>; /* active-low GPIO4_17 */
+               interrupt-parent = <&gpio2>;
+               interrupts = <9 0x8>; /* active-low GPIO2_9 */
 
                regulators {
                        vddcore_reg: bcore1 {
                        fsl,pins = <
                                MX6QDL_PAD_EIM_D23__GPIO3_IO23 0x80000000
                                MX6QDL_PAD_DISP0_DAT3__GPIO4_IO24 0x80000000 /* SPI NOR chipselect */
-                               MX6QDL_PAD_DI0_PIN15__GPIO4_IO17  0x80000000 /* PMIC interrupt */
+                               MX6QDL_PAD_SD4_DAT1__GPIO2_IO09  0x80000000 /* PMIC interrupt */
                                MX6QDL_PAD_ENET_TXD0__GPIO1_IO30 0x80000000 /* Green LED */
                                MX6QDL_PAD_EIM_EB3__GPIO2_IO31 0x80000000 /* Red LED */
                        >;