aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm63xx/dts/bcm96318ref.dts
diff options
context:
space:
mode:
authorJonas Gorski <jogo@openwrt.org>2015-03-30 20:21:07 +0000
committerJonas Gorski <jogo@openwrt.org>2015-03-30 20:21:07 +0000
commitf77b44605157d5eafcc9a4328a052cbccef240a5 (patch)
tree03b7560966912234aab9f39850814095407aa8b1 /target/linux/brcm63xx/dts/bcm96318ref.dts
parentf644c1581ad2f48a38b497836f182bc46c7534ca (diff)
downloadupstream-f77b44605157d5eafcc9a4328a052cbccef240a5.tar.gz
upstream-f77b44605157d5eafcc9a4328a052cbccef240a5.tar.bz2
upstream-f77b44605157d5eafcc9a4328a052cbccef240a5.zip
brcm63xx: move bcm6318 reference boards to DT
Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 45167
Diffstat (limited to 'target/linux/brcm63xx/dts/bcm96318ref.dts')
-rw-r--r--target/linux/brcm63xx/dts/bcm96318ref.dts47
1 files changed, 47 insertions, 0 deletions
diff --git a/target/linux/brcm63xx/dts/bcm96318ref.dts b/target/linux/brcm63xx/dts/bcm96318ref.dts
new file mode 100644
index 0000000000..84b33362c9
--- /dev/null
+++ b/target/linux/brcm63xx/dts/bcm96318ref.dts
@@ -0,0 +1,47 @@
+/dts-v1/;
+
+/include/ "bcm6318.dtsi"
+
+/ {
+ model = "Broadcom BCM96318REF reference board";
+ compatible = "brcm,bcm96318ref", "brcm,bcm6318";
+
+ gpio-keys-polled {
+ compatible = "gpio-keys-polled";
+ #address-cells = <1>;
+ #size-cells = <0>;
+ poll-interval = <20>;
+ debounce-interval = <60>;
+
+ wps {
+ label = "wps";
+ gpios = <&gpio1 1 1>;
+ linux,code = <0x211>;
+ };
+
+ reset {
+ label = "reset";
+ gpios = <&gpio1 2 1>;
+ linux,code = <0x198>;
+ };
+ };
+
+ gpio-leds {
+ compatible = "gpio-leds";
+
+ inet {
+ label = "96318REF:green:inet";
+ gpios = <&gpio0 8 1>;
+ };
+
+ inet_fail {
+ label = "96318REF:red:inet-fail";
+ gpios = <&gpio0 9 1>;
+ };
+
+ post_failed {
+ label = "96318REF:red:post-failed";
+ gpios = <&gpio0 11 1>;
+ };
+ };
+};