summaryrefslogtreecommitdiffstats
path: root/sys/boot/fdt
diff options
context:
space:
mode:
authorganbold <ganbold@FreeBSD.org>2013-02-05 02:25:13 +0000
committerganbold <ganbold@FreeBSD.org>2013-02-05 02:25:13 +0000
commit5e7c84227ace667264813a5d2055b26b85057778 (patch)
tree44d8b4e73dd0c08045c4a6829bb6f3dfd7b3a792 /sys/boot/fdt
parent4bfa972e11dfe356bbcfbfc980440a356bdb39a9 (diff)
downloadFreeBSD-src-5e7c84227ace667264813a5d2055b26b85057778.zip
FreeBSD-src-5e7c84227ace667264813a5d2055b26b85057778.tar.gz
Add gpio driver and update dts and kernel config accordingly.
Approved by: gonzo@
Diffstat (limited to 'sys/boot/fdt')
-rw-r--r--sys/boot/fdt/dts/cubieboard.dts9
1 files changed, 9 insertions, 0 deletions
diff --git a/sys/boot/fdt/dts/cubieboard.dts b/sys/boot/fdt/dts/cubieboard.dts
index c4dd2a8..2d90720 100644
--- a/sys/boot/fdt/dts/cubieboard.dts
+++ b/sys/boot/fdt/dts/cubieboard.dts
@@ -76,6 +76,15 @@
clock-frequency = < 24000000 >;
};
+ GPIO: gpio@01c20800 {
+ #gpio-cells = <3>;
+ compatible = "allwinner,sun4i-gpio";
+ gpio-controller;
+ reg =< 0x01c20800 0x400 >;
+ interrupts = < 28 >;
+ interrupt-parent = <&AINTC>;
+ };
+
usb1: usb@01c1c000 {
compatible = "allwinner,usb-ehci", "usb-ehci";
reg = <0x01c1c000 0x1000>;
OpenPOWER on IntegriCloud