From patchwork Mon Oct 9 15:46:22 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Dan Haab X-Patchwork-Id: 9993735 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 D0DEB60216 for ; Mon, 9 Oct 2017 15:46:50 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C2A2228767 for ; Mon, 9 Oct 2017 15:46:50 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B717428806; Mon, 9 Oct 2017 15:46:50 +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=-4.2 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, DKIM_VALID, FREEMAIL_FROM, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.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 4681428767 for ; Mon, 9 Oct 2017 15:46:49 +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: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:In-Reply-To: References:List-Owner; bh=lonVLP77saV6o6jgE0D2fwpaJsUUZAEkH7oujmpcBFg=; b=AoC HdqEJ9ClZh7Q/MEozapFlwboKU2Y2ANm7ZCxAoN607+4IOz5cbtCnnHQpsmr3V15ECh4gkEQMkqV3 wqOXsyeMvgXmtheVQr4gEoKJb6EUu7kHEZg1Lt+P9R9Skar9FLiqTZCsjxCy4kZVLQNI28p5pVPgy bCXuq6t/cZhxXzS3H5v7z18kOUpF1X8c6bzkBr2t5Tq/HPRVv6S8/nQy9kynk0+Jy7RQo0luz7FSG cBOhZ8euSiXO1ug2GiNHvXj4Y4g5O69I/qKKO3BeO0V/fc0PnmxWPp6FRorg8hDhE5gwRIgjLwaxC EEAXjp5T5GWuksIM9tTWl/sll7cWRjQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1e1aGV-0007HI-QX; Mon, 09 Oct 2017 15:46:47 +0000 Received: from mail-pf0-x242.google.com ([2607:f8b0:400e:c00::242]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1e1aGO-0007DI-0z for linux-arm-kernel@lists.infradead.org; Mon, 09 Oct 2017 15:46:45 +0000 Received: by mail-pf0-x242.google.com with SMTP id z80so10069938pff.4 for ; Mon, 09 Oct 2017 08:46:18 -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; bh=M1Obt2fPeOaiUpc51d+nUhNJDCPNZbU6eJQ1dsPd3U8=; b=WuGXlcCzgJo/fpFG7RFSD6x3MF9ymBw3XubcxikhN+9Q2/rO3r/GMuEhMlroN3nhML MUKKc+Hio+VTyHUWWDIdjqavve7cPi1AR9I0rIRDEgcLbcdlw+2E0freyIhZqeo2FQD1 3MqTo3wlzUcS7Hhyod3wfxSulRL52RCwHgkSWBm0JOrPRwv/ARMy2gfTpiMv7iE6gYD5 vI9mbgZqPIcjBNT4F9yoKVtxY7bkZdeC6mq/8+ginM+MhZTiRWJFP3OsuMqqMxtEjUnX iG2BzB/JpGfTCVWBMc6HGiZ/dhuluzEwvArCg0WXZ1qA3nso1Pu6JOBAB4gtDeRwdEQx QhHg== 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; bh=M1Obt2fPeOaiUpc51d+nUhNJDCPNZbU6eJQ1dsPd3U8=; b=iw4fPNKcVoNX2jDh9TNLO89nWKSTA6lMCoaw0yqzDWx6XU/xw1jnGWzC6VtxZ4CIUH ovYHl+PqAf1EmrHREixuyWvlCn4xyuKvcfOsAmzAuEdZNcmdlU9LIYxtf524dHoX6dAp /Np5PTpxpU2b7+4F4+Z85oyO99E8EhNg8I/iTiEmPHVeVgd5fJUde6iYdzp5tQzYr0vA V488EGj2gG9LAK4QTM1javqEldEvoVLPObmgvpS/tAYT31fcfLfL7+gWRWudcmUn2fQQ LL5JtCMYy6ZL5E5DQWmsd8MK9dr7ii1U6dpGT/jc0KCxQSfMz4ZszT8Z+ZgV8HkjDbnv xsyw== X-Gm-Message-State: AMCzsaXrTQlS0usOvjXXeUtAPc0mzgbG+6r0w88OsK0gPBOrRYuCKzxT JULJBj8Wb3u1lJEmGa+GSkw= X-Google-Smtp-Source: AOwi7QBIVULRhNPzeogse5Y3eRl4Ce2AT6hsoqxwiHObAcYfDmD0uG05AC3+WAYA/OnTegDsidsPRw== X-Received: by 10.98.99.2 with SMTP id x2mr10341295pfb.310.1507563977707; Mon, 09 Oct 2017 08:46:17 -0700 (PDT) Received: from localhost.localdomain ([67.139.187.132]) by smtp.gmail.com with ESMTPSA id s3sm5555624pfk.7.2017.10.09.08.46.15 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 09 Oct 2017 08:46:16 -0700 (PDT) From: Dan Haab To: Florian Fainelli Subject: [PATCH 1/2] ARM: dts: BCM5301X: Add DT for Luxul XBR-4500 Date: Mon, 9 Oct 2017 09:46:22 -0600 Message-Id: <1507563983-7354-1-git-send-email-riproute@gmail.com> X-Mailer: git-send-email 1.9.1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20171009_084640_119196_4457C554 X-CRM114-Status: GOOD ( 15.50 ) 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 , =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= , Russell King , Rob Herring , bcm-kernel-feedback-list@broadcom.com, 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 From: Dan Haab This is BCM47094 (AKA BCM4709C0) based router with ports-on-the-front board design. Signed-off-by: Dan Haab Acked-by: Rafał Miłecki --- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/bcm47094-luxul-xbr-4500.dts | 63 +++++++++++++++++++++++++++ 2 files changed, 64 insertions(+) create mode 100644 arch/arm/boot/dts/bcm47094-luxul-xbr-4500.dts diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index faf46ab..563f8a4 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile @@ -100,6 +100,7 @@ dtb-$(CONFIG_ARCH_BCM_5301X) += \ bcm4709-tplink-archer-c9-v1.dtb \ bcm47094-dlink-dir-885l.dtb \ bcm47094-linksys-panamera.dtb \ + bcm47094-luxul-xbr-4500.dtb \ bcm47094-luxul-xwr-3100.dtb \ bcm47094-netgear-r8500.dtb \ bcm94708.dtb \ diff --git a/arch/arm/boot/dts/bcm47094-luxul-xbr-4500.dts b/arch/arm/boot/dts/bcm47094-luxul-xbr-4500.dts new file mode 100644 index 0000000..15ffb1a --- /dev/null +++ b/arch/arm/boot/dts/bcm47094-luxul-xbr-4500.dts @@ -0,0 +1,63 @@ +/* + * Copyright (C) 2017 Luxul Inc. + * + * Licensed under the ISC license. + */ + +/dts-v1/; + +#include "bcm4708.dtsi" +#include "bcm5301x-nand-cs0-bch8.dtsi" + +/ { + compatible = "luxul,xbr-4500-v1", "brcm,bcm47094", "brcm,bcm4708"; + model = "Luxul XBR-4500 V1"; + + chosen { + bootargs = "earlycon"; + }; + + memory { + reg = <0x00000000 0x08000000 + 0x88000000 0x18000000>; + }; + + leds { + compatible = "gpio-leds"; + + status { + label = "bcm53xx:green:status"; + gpios = <&chipcommon 20 GPIO_ACTIVE_HIGH>; + linux,default-trigger = "timer"; + }; + + usb3 { + label = "bcm53xx:green:usb3"; + gpios = <&chipcommon 19 GPIO_ACTIVE_HIGH>; + trigger-sources = <&ohci_port1>, <&ehci_port1>, + <&xhci_port1>; + linux,default-trigger = "usbport"; + }; + + }; + + gpio-keys { + compatible = "gpio-keys"; + #address-cells = <1>; + #size-cells = <0>; + + restart { + label = "Reset"; + linux,code = ; + gpios = <&chipcommon 17 GPIO_ACTIVE_LOW>; + }; + }; +}; + +&usb3 { + vcc-gpio = <&chipcommon 18 GPIO_ACTIVE_HIGH>; +}; + +&spi_nor { + status = "okay"; +};