1 From e27a09ae9369e10bc589ef4d720ecf4abcbcec50 Mon Sep 17 00:00:00 2001
2 From: Dan Haab <dhaab@luxul.com>
3 Date: Mon, 19 Jan 2015 12:45:37 -0700
4 Subject: [PATCH] ARM: BCM5301X: Add DT for Luxul XWC-1000
6 Luxul XWC-1000 is a controller device based on BCM4708 SoC. The only
7 unusual thing in its DTS file is "ubi" partition on NAND flash.
9 Signed-off-by: Dan Haab <dhaab@luxul.com>
10 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
12 arch/arm/boot/dts/Makefile | 1 +
13 arch/arm/boot/dts/bcm4708-luxul-xwc-1000.dts | 60 ++++++++++++++++++++++++++++
14 2 files changed, 61 insertions(+)
15 create mode 100644 arch/arm/boot/dts/bcm4708-luxul-xwc-1000.dts
17 --- a/arch/arm/boot/dts/Makefile
18 +++ b/arch/arm/boot/dts/Makefile
19 @@ -56,6 +56,7 @@ dtb-$(CONFIG_ARCH_AXXIA) += axm5516-amar
20 dtb-$(CONFIG_ARCH_BCM2835) += bcm2835-rpi-b.dtb
21 dtb-$(CONFIG_ARCH_BCM_5301X) += \
22 bcm4708-buffalo-wzr-1750dhp.dtb \
23 + bcm4708-luxul-xwc-1000.dtb \
24 bcm4708-netgear-r6250.dtb \
25 bcm4708-netgear-r6300-v2.dtb \
26 bcm47081-asus-rt-n18u.dtb \
28 +++ b/arch/arm/boot/dts/bcm4708-luxul-xwc-1000.dts
31 + * Broadcom BCM470X / BCM5301X ARM platform code.
32 + * DTS for Luxul XWC-1000
34 + * Copyright 2014 Luxul Inc.
36 + * Licensed under the GNU/GPL. See COPYING for details.
41 +#include "bcm4708.dtsi"
44 + compatible = "luxul,xwc-1000", "brcm,bcm4708";
45 + model = "Luxul XWC-1000 (BCM4708)";
48 + bootargs = "console=ttyS0,115200";
52 + reg = <0x00000000 0x08000000>;
57 + reg = <0x00028000 0x1000>;
58 + #address-cells = <1>;
63 + reg = <0x00000000 0x08000000>;
69 + compatible = "gpio-leds";
72 + label = "bcm53xx:green:status";
73 + gpios = <&chipcommon 0 GPIO_ACTIVE_HIGH>;
74 + linux,default-trigger = "timer";
79 + compatible = "gpio-keys";
80 + #address-cells = <1>;
85 + linux,code = <KEY_RESTART>;
86 + gpios = <&chipcommon 7 GPIO_ACTIVE_LOW>;