]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
dt: bcm6838: add pinctrl
authorPhilippe Reynes <philippe.reynes@softathome.com>
Mon, 13 Aug 2018 12:23:08 +0000 (14:23 +0200)
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
Sat, 22 Sep 2018 18:49:59 +0000 (20:49 +0200)
Add pinctrl node and related syscon node for broadcom bcm6838 SoC.

Signed-off-by: Philippe Reynes <philippe.reynes@softathome.com>
arch/mips/dts/brcm,bcm6838.dtsi

index d365d0f2cea628cc1f32954fb42f21ae4a73aeac..1018f9ee49582de2a65f2e87a83410d3083b5000 100644 (file)
                        u-boot,dm-pre-reloc;
                };
 
+               gpio_test_port: syscon@14e00294 {
+                       compatible = "syscon";
+                       reg = <0x14e00294 0x1c>;
+               };
+
+               pinctrl: pinctrl {
+                       compatible = "brcm,bcm6838-pinctrl";
+                       regmap = <&gpio_test_port>;
+                       brcm,pins-count = <74>;
+                       brcm,functions-count = <8>;
+               };
+
                uart0: serial@14e00500 {
                        compatible = "brcm,bcm6345-uart";
                        reg = <0x14e00500 0x18>;