ARM: dts: BCM5301X: Add basic DT for Linksys EA9500
authorRafał Miłecki <rafal@milecki.pl>
Thu, 23 Feb 2017 13:06:36 +0000 (14:06 +0100)
committerFlorian Fainelli <f.fainelli@gmail.com>
Mon, 6 Mar 2017 00:59:03 +0000 (16:59 -0800)
It's tri-band wireless home router based on BCM47094 AKA BCM4709C0. It
uses 3 x BCM4366 chipsets for wireless.
Panamera seems to be board name used by Linksys.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
arch/arm/boot/dts/Makefile
arch/arm/boot/dts/bcm47094-linksys-panamera.dts [new file with mode: 0644]

index 665abb891118f23255e3c918ecea8d267fd9cb9d..57de9238e318546c53150f4a67361834e7e25ed5 100644 (file)
@@ -95,6 +95,7 @@ dtb-$(CONFIG_ARCH_BCM_5301X) += \
        bcm4709-netgear-r8000.dtb \
        bcm4709-tplink-archer-c9-v1.dtb \
        bcm47094-dlink-dir-885l.dtb \
+       bcm47094-linksys-panamera.dtb \
        bcm47094-luxul-xwr-3100.dtb \
        bcm47094-netgear-r8500.dtb \
        bcm94708.dtb \
diff --git a/arch/arm/boot/dts/bcm47094-linksys-panamera.dts b/arch/arm/boot/dts/bcm47094-linksys-panamera.dts
new file mode 100644 (file)
index 0000000..b6750f7
--- /dev/null
@@ -0,0 +1,36 @@
+/*
+ * Copyright (C) 2017 Rafał Miłecki <rafal@milecki.pl>
+ *
+ * Licensed under the ISC license.
+ */
+
+/dts-v1/;
+
+#include "bcm47094.dtsi"
+#include "bcm5301x-nand-cs0-bch8.dtsi"
+
+/ {
+       compatible = "linksys,panamera", "brcm,bcm47094", "brcm,bcm4708";
+       model = "Linksys EA9500";
+
+       chosen {
+               bootargs = "console=ttyS0,115200";
+       };
+
+       memory {
+               reg = <0x00000000 0x08000000
+                      0x88000000 0x08000000>;
+       };
+
+       gpio-keys {
+               compatible = "gpio-keys";
+               #address-cells = <1>;
+               #size-cells = <0>;
+
+               wps {
+                       label = "WPS";
+                       linux,code = <KEY_WPS_BUTTON>;
+                       gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>;
+               };
+       };
+};