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

Philippe Reynes philippe.reynes at softathome.com
Mon Aug 13 12:23:08 UTC 2018


Add pinctrl node and related syscon node for broadcom bcm6838 SoC.

Signed-off-by: Philippe Reynes <philippe.reynes at softathome.com>
---
Changelog:
v2:
- rename property pins-count to brcm,pins-count (feedback Daniel Schwierzeck)
- rename property functions-count to brcm,functions-count (feedback Daniel Schwierzeck)

 arch/mips/dts/brcm,bcm6838.dtsi | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/arch/mips/dts/brcm,bcm6838.dtsi b/arch/mips/dts/brcm,bcm6838.dtsi
index d365d0f..1018f9e 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 at 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 at 14e00500 {
 			compatible = "brcm,bcm6345-uart";
 			reg = <0x14e00500 0x18>;
-- 
2.7.4



More information about the U-Boot mailing list