From patchwork Fri May 4 16:08:44 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Dan Haab X-Patchwork-Id: 10381039 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 1E60D6038F for ; Fri, 4 May 2018 16:20:01 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 06358294D9 for ; Fri, 4 May 2018 16:20:01 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id ECAE429453; Fri, 4 May 2018 16:20:00 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, DKIM_VALID, FREEMAIL_FROM, MAILING_LIST_MULTI autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id C740529453 for ; Fri, 4 May 2018 16:19:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=djpOuuK84Ou8/voY6lnbPSJ0n5bTfk/PRxAVZdRe5pA=; b=ctZa+kdXO4mc7c3TXSQaQY1kvo S9J14WN9f3kNc+vX6x7sLi8dZjB1REV01eb4Ej/DYJ5yKRMIUiCWS0YwhMliS/uVh3TKhDFdRX5lG lxydZOESrhvX72KAs/nrTsJC0AxlJZ5sSrwK+cLhtaG9J+nZl2pXxZoB2v0ihdbT4uONRNJpBt6zR tONkF+R6aDoqxlYe1Q+tbGcND+sOzvfRJ1F30bpUHgND53MDrJi67nzNgUcJYAhtFcnw1FbjasYhW ZA1EJ/u4DovjOginKwvWPWQ1F5U80v7cBxAYLlA01GYrWkSPMWvBEmU+EtOscnEZPsw+wN2zFdLQc +06P/AWg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fEdR0-0000wN-Hk; Fri, 04 May 2018 16:19:50 +0000 Received: from mail-pf0-f196.google.com ([209.85.192.196]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fEdGn-0002EG-Hg for linux-arm-kernel@lists.infradead.org; Fri, 04 May 2018 16:09:35 +0000 Received: by mail-pf0-f196.google.com with SMTP id j5so17797556pfh.2 for ; Fri, 04 May 2018 09:09:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=qd9G9kKumNUO/zRcfHWZlhlL7i2lHzc0ufJcR/gBeNU=; b=pL91xnX27pNNEoUeZETvzu787mBGKn54oGmDdKFqCbV+KSG+wHquKTPlm750jHYK9z q89CT20GUp8/n0jfD/rXqNWGQ9DJdjykcGIQID8DnFqcIobjRsmHo6YInjzcEi5utCV3 EworIuF5dS1sBbWIYN3FcUylnbTqxmNHQnVWZxkIxt0PTsQ5Ghoc0RUE6lYjXYEIrhxY ZkaaF9BGKjKD2PWTr7an5SdZTtbsxHejMWon7nAFbsqBRgNBNrTfPWPBSI+u73+UiLeE P/cLZgsdW4h0OPb6HaFvMtGdmoQORYhuh2ayHYmnPoMydzV1ar7Nmvn6VKIWaT6LR04X zfXA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=qd9G9kKumNUO/zRcfHWZlhlL7i2lHzc0ufJcR/gBeNU=; b=ET2xuZzBKQQMLrbWkt+kyhz84w7CniB3Vpc1/NX0/+7VTdNoy1jJmCeqdnTe/anjil JHquzqSlr5xuIwU6Kb7qENGk8IuDo7fJlwkEZYHHTv7JvNk502zrw8Kp/N/EbZm9X0HI KenHGsQHr8UIGIWW2GrkRIl5wtptudfZej3m4h4djp6t1aWYnk8Zrz7qJygkise6xo4L DLnG+yvNo6JbhP5cvGdBr8CG1OAERO8pqzOD08tmIJ33ugSx8MnwtblJcmWg6eBvbkaZ +ePaO2nZiIlvDIvkChFunT/64UMJW6lfSh8IkmBmrHe4RExmH3udO339kNd5JARk58si y5fQ== X-Gm-Message-State: ALQs6tB6TVcaalR6XpsjwOA4g4TcRMneIKu6jVWWZRGJz9u87RFNRA+q t9/ehpfqj7nlNm2pKky981k= X-Google-Smtp-Source: AB8JxZq2FEyqP3J0y0vDBs97cjqTLdmUSz4gr/247APW640MWGNTidxK460EZteD7HqjtGXVUw5L4Q== X-Received: by 2002:a63:18c:: with SMTP id 134-v6mr9044653pgb.138.1525450145888; Fri, 04 May 2018 09:09:05 -0700 (PDT) Received: from localhost.localdomain ([67.139.187.132]) by smtp.gmail.com with ESMTPSA id t80-v6sm25511046pgb.36.2018.05.04.09.09.04 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 04 May 2018 09:09:05 -0700 (PDT) From: Dan Haab X-Google-Original-From: Dan Haab To: Florian Fainelli Subject: [PATCH 2/2] ARM: dts: BCM5301X: Add DT for Luxul XAP-1610 Date: Fri, 4 May 2018 10:08:44 -0600 Message-Id: <1525450124-21665-2-git-send-email-dan.haab@luxul.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1525450124-21665-1-git-send-email-dan.haab@luxul.com> References: <1525450124-21665-1-git-send-email-dan.haab@luxul.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180504_090917_776887_6720E5A8 X-CRM114-Status: GOOD ( 16.78 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , devicetree@vger.kernel.org, Jon Mason , Hauke Mehrtens , Rob Herring , bcm-kernel-feedback-list@broadcom.com, =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= , Dan Haab , linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP It's an access point based on BCM47094 SoC with two BCM4366E wireless chipsets. Signed-off-by: Dan Haab Acked-by: Rafał Miłecki --- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/bcm47094-luxul-xap-1610.dts | 57 +++++++++++++++++++++++++++ 2 files changed, 58 insertions(+) create mode 100644 arch/arm/boot/dts/bcm47094-luxul-xap-1610.dts diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index a00b279..d041508 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile @@ -102,6 +102,7 @@ dtb-$(CONFIG_ARCH_BCM_5301X) += \ bcm47094-dlink-dir-885l.dtb \ bcm47094-linksys-panamera.dtb \ bcm47094-luxul-abr-4500.dtb \ + bcm47094-luxul-xap-1610.dtb \ bcm47094-luxul-xbr-4500.dtb \ bcm47094-luxul-xwr-3100.dtb \ bcm47094-luxul-xwr-3150-v1.dtb \ diff --git a/arch/arm/boot/dts/bcm47094-luxul-xap-1610.dts b/arch/arm/boot/dts/bcm47094-luxul-xap-1610.dts new file mode 100644 index 0000000..7fd8547 --- /dev/null +++ b/arch/arm/boot/dts/bcm47094-luxul-xap-1610.dts @@ -0,0 +1,57 @@ +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT +/* + * Copyright 2018 Luxul Inc. + */ + +/dts-v1/; + +#include "bcm47094.dtsi" + +/ { + compatible = "luxul,xap-1610-v1", "brcm,bcm47094", "brcm,bcm4708"; + model = "Luxul XAP-1610 V1"; + + chosen { + bootargs = "earlycon"; + }; + + memory { + reg = <0x00000000 0x08000000>; + }; + + leds { + compatible = "gpio-leds"; + + status { + label = "bcm53xx:green:status"; + gpios = <&chipcommon 0 GPIO_ACTIVE_LOW>; + linux,default-trigger = "timer"; + }; + + 2ghz { + label = "bcm53xx:blue:2ghz"; + gpios = <&chipcommon 13 GPIO_ACTIVE_LOW>; + }; + + 5ghz { + label = "bcm53xx:blue:5ghz"; + gpios = <&chipcommon 14 GPIO_ACTIVE_LOW>; + }; + }; + + gpio-keys { + compatible = "gpio-keys"; + #address-cells = <1>; + #size-cells = <0>; + + restart { + label = "Reset"; + linux,code = ; + gpios = <&chipcommon 17 GPIO_ACTIVE_LOW>; + }; + }; +}; + +&spi_nor { + status = "okay"; +};