x86: som-db5800-som-6867: fix SERIRQ on reset
authorGeorge McCollister <george.mccollister@gmail.com>
Thu, 28 Jul 2016 14:49:37 +0000 (09:49 -0500)
committerBin Meng <bmeng.cn@gmail.com>
Tue, 16 Aug 2016 03:44:09 +0000 (11:44 +0800)
Explicitly enable ILB_SERIRQ function 1 in
cfio_regs_pad_ilb_serirq_PCONF0.

Pad configuration for SERIRQ is not set to enable the SERIRQ function
after a reset though strangely, it is on initial boot.

Rebooting from Linux, reset command in u-boot and even pushing the reset
button on the development board all lead to the SERIRQ function being
disabled (address 0xfed0c560 with value of 0x2003cc80).

Signed-off-by: George McCollister <george.mccollister@gmail.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
arch/x86/dts/baytrail_som-db5800-som-6867.dts

index 64e2e52..e1d81a7 100644 (file)
                        pad-offset = <0x270>;
                        mode-func = <2>;
                };
+
+               /* SERIRQ */
+               soc_gpio_s0_50@0 {
+                       pad-offset = <0x560>;
+                       mode-func = <1>;
+               };
        };
 
        chosen {