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

Signed-off-by: Philippe Reynes <philippe.rey...@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@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>;
-- 
2.7.4

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot

Reply via email to