]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
dt: bcm6838: add gpio controller
authorPhilippe Reynes <philippe.reynes@softathome.com>
Thu, 7 Mar 2019 10:36:32 +0000 (11:36 +0100)
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
Fri, 12 Apr 2019 15:32:51 +0000 (17:32 +0200)
Add gpio controllers in bcm6838 device tree.

Signed-off-by: Philippe Reynes <philippe.reynes@softathome.com>
Reviewed-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
arch/mips/dts/brcm,bcm6838.dtsi

index b6f95591476d8ac32901d4ad258dc92948130300..c060802e8a450bf0085ad75610b67a02c0b2e8c1 100644 (file)
 
                        status = "disabled";
                };
+
+               gpio_lo: gpio-controller@14e00100 {
+                       compatible = "brcm,bcm6345-gpio";
+                       reg = <0x14e00100 0x4>, <0x14e0012c 0x4>;
+                       gpio-controller;
+                       #gpio-cells = <2>;
+
+                       status = "disabled";
+               };
+
+               gpio_mid0: gpio-controller@14e00104 {
+                       compatible = "brcm,bcm6345-gpio";
+                       reg = <0x14e00104 0x4>, <0x14e00130 0x4>;
+                       gpio-controller;
+                       #gpio-cells = <2>;
+
+                       status = "disabled";
+               };
+
+               gpio_mid1: gpio-controller@14e00108 {
+                       compatible = "brcm,bcm6345-gpio";
+                       reg = <0x14e00108 0x4>, <0x14e00134 0x4>;
+                       gpio-controller;
+                       #gpio-cells = <2>;
+
+                       status = "disabled";
+               };
        };
 };