From patchwork Mon Oct 9 15:46:23 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Dan Haab X-Patchwork-Id: 9993737 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 47A8A60216 for ; Mon, 9 Oct 2017 15:47:22 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 385C028767 for ; Mon, 9 Oct 2017 15:47:22 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2CED028806; Mon, 9 Oct 2017 15:47:22 +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 C5DC628767 for ; Mon, 9 Oct 2017 15:47:21 +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=jAdbn87w+DH1BdAY7G5HQ2hZ1A6yIwDW7bhk99FRJu8=; b=n4bT4tJQluCFVNUO8KOm1kx8On jLTNJDmRo3A35+7mVYrUUIeSISZSIZ7QDwo6ztLd93rc7NPGT0jd7Frkkbar6fZRlI0Z8w/HOs6W6 Mj6VmUKlVeqDzcbAKcks/m4rVaNELjCIfF47NoWBgKJHz4pCHrFOGxqaCJs0ZVW+szZvanK3TtB/U t6EpZ7RZSRsHGWLy4xq5qDRkeBbUH/jMgyZZ6DaDLoTigV7IJX5NGXlTGNRxPOly91urAOSVqmbFk +4MsSKMy59WLd1YfrVxGEFjT/oFxDNocrz5pfvvEIarQyd7zPfKOnjLcyF+973KdKFOZM24zmyv16 urSJrmwg==; 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 1e1aGl-0007Uh-BT; Mon, 09 Oct 2017 15:47:03 +0000 Received: from mail-pf0-x243.google.com ([2607:f8b0:400e:c00::243]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1e1aGW-0007ET-6F for linux-arm-kernel@lists.infradead.org; Mon, 09 Oct 2017 15:46:52 +0000 Received: by mail-pf0-x243.google.com with SMTP id b85so8248119pfj.1 for ; Mon, 09 Oct 2017 08:46:28 -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=yWRU/pcv+q/NqsgrVl7ezEgUk75zANa2Uyz5VdE5ed4=; b=qpmW4iXFsYx7u7oGbG1lzRVA9l2RaXBkJOhiONqIjuZRDrf4RY3/NKnZQLXg8XqOgX rpRHJPxIKr+f0IoQZTpOlfkaqsr+DwxZ8tMPNkUmpyTCeqk8IEPPVMJS6NxDc8dYFN8Q 1hhKNU9YZzLrO1jT2kC6t0hN/w1fwQgD7e9xwvH1s4/1gVSSGQ6/JFvI189HdjwfGfmQ r1jA3H9cyI+zNslZHTCBgcpQBBDGd3Hi9uOpDccSl5ZL90FCXc3h+nQSmeDrsVIxkMRm pZLqtv5mtozuseFOmRqw8ucXUgniozHB36VWcpkDGXn8aKm6fq4rpFOskQVG99sJGTln m5BA== 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=yWRU/pcv+q/NqsgrVl7ezEgUk75zANa2Uyz5VdE5ed4=; b=R3ogkzcmh+wkqrZRmlSLNqjLdLOQF1NXnPbI0iEKndGxp3acUFJy5I5Z3JKxLShVeC Yz47zCRmdSRotWA3BsoYkpB+TApbVCYfcD3JVIZLK2tPbwqZf2otuZWhk56Uzvonpmyl LqIZSoTrDwMk+CQOxnJ+crJdroxb4NmIbwgNsz/wTITWFAzqnuNsIFoDswNcx6ASO6lw F4FAxElsw0Tx/QrPihgPUmrlvRZUN/mJrX/ljBArBE+tJpLSK+LTFSFom1uzA9Pu/68h XKNnaT6RwtdfsYMn+4m88SYqEc9pzPN6loSJxZlsht4Rz3RpaoIy4GETtGdCO3aR4bko /deA== X-Gm-Message-State: AMCzsaXK8rn+DLUVZeYhhhO4MhCIGsVDgRLvE5qNgaOkpP5uKkYP6WJ3 7cVewz/eFcbwZN9C2KkGT8U= X-Google-Smtp-Source: AOwi7QBzj1l+R2UHi8UwtedRxInptSB7hGD5RmeNFvT3/rQEVq6FZ56NoMJ4v/Q9oktzfwj9I/JrRw== X-Received: by 10.84.133.193 with SMTP id f59mr9603369plf.332.1507563987587; Mon, 09 Oct 2017 08:46:27 -0700 (PDT) Received: from localhost.localdomain ([67.139.187.132]) by smtp.gmail.com with ESMTPSA id s3sm5555624pfk.7.2017.10.09.08.46.26 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 09 Oct 2017 08:46:27 -0700 (PDT) From: Dan Haab To: Florian Fainelli Subject: [PATCH 2/2] ARM: dts: BCM5301X: Add DT for Luxul ABR-4500 Date: Mon, 9 Oct 2017 09:46:23 -0600 Message-Id: <1507563983-7354-2-git-send-email-riproute@gmail.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1507563983-7354-1-git-send-email-riproute@gmail.com> References: <1507563983-7354-1-git-send-email-riproute@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20171009_084648_645548_15B546CB X-CRM114-Status: GOOD ( 15.91 ) 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 rear-facing ports board design. Signed-off-by: Dan Haab Acked-by: Rafał Miłecki --- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/bcm47094-luxul-abr-4500.dts | 63 +++++++++++++++++++++++++++ 2 files changed, 64 insertions(+) create mode 100644 arch/arm/boot/dts/bcm47094-luxul-abr-4500.dts diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index 563f8a4..2d964c9 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-abr-4500.dtb \ bcm47094-luxul-xbr-4500.dtb \ bcm47094-luxul-xwr-3100.dtb \ bcm47094-netgear-r8500.dtb \ diff --git a/arch/arm/boot/dts/bcm47094-luxul-abr-4500.dts b/arch/arm/boot/dts/bcm47094-luxul-abr-4500.dts new file mode 100644 index 0000000..ecd22a2 --- /dev/null +++ b/arch/arm/boot/dts/bcm47094-luxul-abr-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,abr-4500-v1", "brcm,bcm47094", "brcm,bcm4708"; + model = "Luxul ABR-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_LOW>; + linux,default-trigger = "timer"; + }; + + usb3 { + label = "bcm53xx:green:usb3"; + gpios = <&chipcommon 19 GPIO_ACTIVE_LOW>; + 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"; +};