From patchwork Tue May 3 17:28:16 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dan Haab X-Patchwork-Id: 9006411 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 8F4FC9F1D3 for ; Tue, 3 May 2016 17:30:20 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id D895B202C8 for ; Tue, 3 May 2016 17:30:14 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id E32C1202A1 for ; Tue, 3 May 2016 17:30:13 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1axe7r-0007nT-Iw; Tue, 03 May 2016 17:28:47 +0000 Received: from s15-gw103.mycloudmailbox.com ([207.126.101.40]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1axe7o-0007g6-MY for linux-arm-kernel@lists.infradead.org; Tue, 03 May 2016 17:28:45 +0000 Received: from relay301.mycloudmailbox.com (unknown [207.126.101.249]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by S15-GW103.mycloudmailbox.com (Postfix) with ESMTPS id 3qzp6L399VzN1nFc; Tue, 3 May 2016 13:28:10 -0400 (EDT) Received: from S12-MBX11-14.S12.local (10.40.128.43) by S15-MBX101.S15.local (10.40.140.13) with Microsoft SMTP Server (TLS) id 15.1.396.30; Tue, 3 May 2016 13:28:10 -0400 Received: from localhost.localdomain (10.40.130.234) by S12-MBX11-14.S12.local (10.40.128.43) with Microsoft SMTP Server (TLS) id 15.0.1156.6; Tue, 3 May 2016 13:28:09 -0400 From: Dan Haab To: Florian Fainelli Subject: [PATCH] ARM: BCM5301X: Add DT for Luxul XAP-1510 Date: Tue, 3 May 2016 11:28:16 -0600 Message-ID: <1462296501-5209-1-git-send-email-dhaab@luxul.com> X-Mailer: git-send-email 1.7.9.5 MIME-Version: 1.0 X-Originating-IP: [10.40.130.234] X-ClientProxiedBy: S12-CAS102.S12.local (10.40.128.91) To S12-MBX11-14.S12.local (10.40.128.43) X-RoutingAgent: Treated X-CrossPremisesHeadersFilteredBySendConnector: S15-MBX101.S15.local X-OrganizationHeadersPreserved: S15-MBX101.S15.local X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160503_102844_824959_28BBEAB6 X-CRM114-Status: GOOD ( 14.44 ) X-Spam-Score: -1.9 (-) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , "moderated list:ARM PORT" , Dan Haab , open list Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-5.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Luxul XAP-1510 is an AP device based on BCM4708 SoC. It uses flash memory connected to the SPI controller. Signed-off-by: Dan Haab --- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/bcm4708-luxul-xap-1510.dts | 67 ++++++++++++++++++++++++++ 2 files changed, 68 insertions(+) create mode 100644 arch/arm/boot/dts/bcm4708-luxul-xap-1510.dts diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index 95c1923..c499d09 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile @@ -71,6 +71,7 @@ dtb-$(CONFIG_ARCH_BCM_5301X) += \ bcm4708-asus-rt-ac56u.dtb \ bcm4708-asus-rt-ac68u.dtb \ bcm4708-buffalo-wzr-1750dhp.dtb \ + bcm4708-luxul-xap-1510.dtb \ bcm4708-luxul-xwc-1000.dtb \ bcm4708-netgear-r6250.dtb \ bcm4708-netgear-r6300-v2.dtb \ diff --git a/arch/arm/boot/dts/bcm4708-luxul-xap-1510.dts b/arch/arm/boot/dts/bcm4708-luxul-xap-1510.dts new file mode 100644 index 0000000..f4460b5 --- /dev/null +++ b/arch/arm/boot/dts/bcm4708-luxul-xap-1510.dts @@ -0,0 +1,67 @@ +/* + * Broadcom BCM470X / BCM5301X ARM platform code. + * DTS for Luxul XAP-1510 + * + * Copyright 2015 Luxul Inc. + * + * Licensed under the GNU/GPL. See COPYING for details. + */ + +/dts-v1/; + +#include "bcm4708.dtsi" + +/ { + compatible = "luxul,xap-1510v1", "brcm,bcm4708"; + model = "Luxul XAP-1510 V1"; + + chosen { + bootargs = "console=ttyS0,115200 earlycon"; + }; + + memory { + reg = <0x00000000 0x08000000>; + }; + + leds { + compatible = "gpio-leds"; + + 5ghz { + label = "bcm53xx:blue:5ghz"; + gpios = <&chipcommon 13 GPIO_ACTIVE_LOW>; + linux,default-trigger = "none"; + }; + + 2ghz { + label = "bcm53xx:blue:2ghz"; + gpios = <&chipcommon 14 GPIO_ACTIVE_LOW>; + linux,default-trigger = "none"; + }; + + status { + label = "bcm53xx:green:status"; + gpios = <&chipcommon 15 GPIO_ACTIVE_LOW>; + linux,default-trigger = "timer"; + }; + }; + + gpio-keys { + compatible = "gpio-keys"; + #address-cells = <1>; + #size-cells = <0>; + + restart { + label = "Reset"; + linux,code = ; + gpios = <&chipcommon 11 GPIO_ACTIVE_LOW>; + }; + }; +}; + +&uart0 { + status = "okay"; +}; + +&spi_nor { + status = "okay"; +};