]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
x86: galileo: Add GPIO support
authorBin Meng <bmeng.cn@gmail.com>
Wed, 4 Feb 2015 08:26:10 +0000 (16:26 +0800)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 1 Sep 2015 10:59:12 +0000 (12:59 +0200)
Quark SoC has a legacy GPIO block in the legacy bridge (D0:F31),
which is just the same one found in other x86 chipset. Since we
programmed the GPIO register block base address, we should be
able to enable the GPIO support on Intel Galileo board.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Acked-by: Simon Glass <sjg@chromium.org>
arch/x86/dts/galileo.dts

index d462221a9dec9f4afc2292ef41594765cc0daf46..2f60aeb82d4dd6366c1565511edbb6cb089fcd46 100644 (file)
                };
        };
 
+       gpioa {
+               compatible = "intel,ich6-gpio";
+               u-boot,dm-pre-reloc;
+               reg = <0 0x20>;
+               bank-name = "A";
+       };
+
+       gpiob {
+               compatible = "intel,ich6-gpio";
+               u-boot,dm-pre-reloc;
+               reg = <0x20 0x20>;
+               bank-name = "B";
+       };
+
 };