summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorPhilippe Reynes <philippe.reynes@softathome.com>2018-08-13 14:23:08 +0200
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>2018-09-22 20:49:59 +0200
commite98a260eb5aac0b647391766700bb5af52be53da (patch)
tree5b24096e686aabf5057699ca1eda3f2c0b089b60 /arch
parentb3f8e88f3c07f6c72db55faffaaa25990d316c6f (diff)
dt: bcm6838: add pinctrl
Add pinctrl node and related syscon node for broadcom bcm6838 SoC. Signed-off-by: Philippe Reynes <philippe.reynes@softathome.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/mips/dts/brcm,bcm6838.dtsi12
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/mips/dts/brcm,bcm6838.dtsi b/arch/mips/dts/brcm,bcm6838.dtsi
index d365d0f2ce..1018f9ee49 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>;