[U-Boot,2/3] dt: bcm6838: add pinctrl

Message ID 1533920793-1120-2-git-send-email-philippe.reynes@softathome.com
State Superseded
Delegated to: Daniel Schwierzeck
Headers show
Series
  • [U-Boot,1/3] pinctrl: bcm6838: add pinctrl support
Related show

Commit Message

Philippe Reynes Aug. 10, 2018, 5:06 p.m.
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 | 12 ++++++++++++
 1 file changed, 12 insertions(+)

Patch

diff --git a/arch/mips/dts/brcm,bcm6838.dtsi b/arch/mips/dts/brcm,bcm6838.dtsi
index d365d0f..f276a6a 100644
--- a/arch/mips/dts/brcm,bcm6838.dtsi
+++ b/arch/mips/dts/brcm,bcm6838.dtsi
@@ -55,6 +55,18 @@ 
 			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>;
+			pins-count = <74>;
+			functions-count = <8>;
+		};
+
 		uart0: serial@14e00500 {
 			compatible = "brcm,bcm6345-uart";
 			reg = <0x14e00500 0x18>;