]> git.sur5r.net Git - u-boot/commitdiff
mips: bmips: add bcm6345-gpio driver support for BCM6328
authorÁlvaro Fernández Rojas <noltari@gmail.com>
Sun, 7 May 2017 18:09:32 +0000 (20:09 +0200)
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
Wed, 10 May 2017 14:16:09 +0000 (16:16 +0200)
This SoC has one gpio bank with a total of 32 GPIOs.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
arch/mips/dts/brcm,bcm6328.dtsi

index b2872399673377a93601015dcbbf8595140b1cb3..30c2ee8b18c43b7b21ee4c16403679c24b58ec18 100644 (file)
                        mask = <0x1>;
                };
 
+               gpio: gpio-controller@10000084 {
+                       compatible = "brcm,bcm6345-gpio";
+                       reg = <0x10000084 0x4>, <0x1000008c 0x4>;
+                       gpio-controller;
+                       #gpio-cells = <2>;
+
+                       status = "disabled";
+               };
+
                uart0: serial@10000100 {
                        compatible = "brcm,bcm6345-uart";
                        reg = <0x10000100 0x18>;