aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm63xx/dts/bcm6338.dtsi
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/brcm63xx/dts/bcm6338.dtsi')
-rw-r--r--target/linux/brcm63xx/dts/bcm6338.dtsi11
1 files changed, 11 insertions, 0 deletions
diff --git a/target/linux/brcm63xx/dts/bcm6338.dtsi b/target/linux/brcm63xx/dts/bcm6338.dtsi
index c1980f4036..d578a5b59b 100644
--- a/target/linux/brcm63xx/dts/bcm6338.dtsi
+++ b/target/linux/brcm63xx/dts/bcm6338.dtsi
@@ -5,6 +5,7 @@
aliases {
pflash = &pflash;
+ gpio0 = &gpio0;
};
cpus {
@@ -65,5 +66,15 @@
interrupt-parent = <&cpu_intc>;
interrupts = <3>, <4>, <5>, <6>;
};
+
+ gpio0: gpio-controller@fffe0404 {
+ compatible = "brcm,bcm6345-gpio";
+ reg = <0xfffe0404 4>, <0xfffe040c 4>;
+
+ gpio-controller;
+ #gpio-cells = <2>;
+
+ ngpios = <8>;
+ };
};
};