From patchwork Tue Dec 13 18:13:48 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jon Mason X-Patchwork-Id: 9472963 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 4CEE0607EE for ; Tue, 13 Dec 2016 18:17:05 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4038C285FD for ; Tue, 13 Dec 2016 18:17:05 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 352EC2864C; Tue, 13 Dec 2016 18:17:05 +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.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,T_DKIM_INVALID autolearn=ham version=3.3.1 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.wl.linuxfoundation.org (Postfix) with ESMTPS id 38A0D285FD for ; Tue, 13 Dec 2016 18:17:04 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1cGrby-0002HE-8c; Tue, 13 Dec 2016 18:15:34 +0000 Received: from mail-pg0-x235.google.com ([2607:f8b0:400e:c05::235]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1cGrav-0000lF-E9 for linux-arm-kernel@lists.infradead.org; Tue, 13 Dec 2016 18:14:31 +0000 Received: by mail-pg0-x235.google.com with SMTP id p66so50118729pga.2 for ; Tue, 13 Dec 2016 10:14:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=FCPUJj2ttFMdJVxMsmji73a1BL1X5564yRoltA7EMo8=; b=BDqXvzImIODDcoXrzwUWED/tYhhNN5yz5ToCDvJA0SjQ6Ts0QhE0bRZDcfFqkGUXam sk0CLwIIWKZ7NrIt0Xn4Q4Eigp1NHrQufqnfGN72WcfGAoZy2EIaOk9ghJRn7HI3sOuV mhycp6k2uhjFEpL6bWGF+2kn8vZE6RcYbjkgs= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=FCPUJj2ttFMdJVxMsmji73a1BL1X5564yRoltA7EMo8=; b=Km2700Cn5DWZcWNLOn7rvCRG3LL3aZ3DJQiFmknZKwwZ9DFOL52iQJSC50uSQSY2np 4uhHQaM1KjdNnn0k0PIElCY8zlpx8ARNKJdJVlwilqdEeo5GSlz5nFHOD+S2nRyoRPXq o4l+JgHFdDk6GVv9mVK/RKLOpHaJHeJOjj7+bFnmpLa4ibntYny8VLUelO5IypotGGfW y0QvhzSq8xHXtMo4inZzwXdG1abwxszH9zzeLWGFVD62II91+8ZlbufOdOrcl8WyAiIL MBln8wBQpDEmwX5+nmkFd5Akj7ZlUD3JQnsUSO5yoec3IsVZvjO6bJALKb5D9xUcQoIu 2xRA== X-Gm-Message-State: AKaTC03DjimXoKIN/0Uq0y50cvVEX8OXxEq9DFVxFBVX4YhnC547WOwe0lMhd1BDpmTthYw8 X-Received: by 10.99.111.201 with SMTP id k192mr178499311pgc.176.1481652848301; Tue, 13 Dec 2016 10:14:08 -0800 (PST) Received: from venom.rtp.broadcom.com ([216.31.219.19]) by smtp.gmail.com with ESMTPSA id y189sm81552101pfy.32.2016.12.13.10.14.06 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 13 Dec 2016 10:14:07 -0800 (PST) From: Jon Mason To: Rob Herring , Mark Rutland , Florian Fainelli Subject: [PATCH 4/7] ARM: dts: NSP: Add BCM958625K switch ports Date: Tue, 13 Dec 2016 13:13:48 -0500 Message-Id: <1481652831-2744-5-git-send-email-jon.mason@broadcom.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1481652831-2744-1-git-send-email-jon.mason@broadcom.com> References: <1481652831-2744-1-git-send-email-jon.mason@broadcom.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20161213_101429_659351_879F04CF X-CRM114-Status: GOOD ( 10.51 ) 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: devicetree@vger.kernel.org, bcm-kernel-feedback-list@broadcom.com, linux-kernel@vger.kernel.org, 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 Add the layout of the switch ports found on the BCM958625K reference board. The CPU port is hooked up to the AMAC0 Ethernet controller adapter. Signed-off-by: Jon Mason --- arch/arm/boot/dts/bcm958625k.dts | 45 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/arch/arm/boot/dts/bcm958625k.dts b/arch/arm/boot/dts/bcm958625k.dts index dc24056..7aa86c7 100644 --- a/arch/arm/boot/dts/bcm958625k.dts +++ b/arch/arm/boot/dts/bcm958625k.dts @@ -120,6 +120,51 @@ }; }; +&srab { + compatible = "brcm,bcm58625-srab", "brcm,nsp-srab"; + status = "okay"; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + label = "port0"; + reg = <0>; + }; + + port@1 { + label = "port1"; + reg = <1>; + }; + + port@2 { + label = "port2"; + reg = <2>; + }; + + port@3 { + label = "port3"; + reg = <3>; + }; + + port@4 { + label = "port4"; + reg = <4>; + }; + + port@5 { + ethernet = <&amac0>; + label = "cpu"; + reg = <5>; + fixed-link { + speed = <1000>; + full-duplex; + }; + }; + }; +}; + &qspi { bspi-sel = <0>; flash: m25p80@0 {