From patchwork Fri Jul 8 18:49:28 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Florian Fainelli X-Patchwork-Id: 9221727 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 4ABB1607D9 for ; Fri, 8 Jul 2016 18:51:38 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3F6C128330 for ; Fri, 8 Jul 2016 18:51:38 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 33BC128400; Fri, 8 Jul 2016 18:51:38 +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_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, 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 EC88528330 for ; Fri, 8 Jul 2016 18:51:37 +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 1bLar7-0006c0-Ks; Fri, 08 Jul 2016 18:50:29 +0000 Received: from mail-pa0-x243.google.com ([2607:f8b0:400e:c03::243]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bLaqY-0004p2-6r for linux-arm-kernel@lists.infradead.org; Fri, 08 Jul 2016 18:49:55 +0000 Received: by mail-pa0-x243.google.com with SMTP id us13so8634380pab.1 for ; Fri, 08 Jul 2016 11:49:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=QoA9e8gviaGQP8fR2Ybg9pQXAOupwvMlRjsz2VQlwlg=; b=k5W84mBLlCQCXRhjiusZbohONy5wRzpYXFAmn7Xehr3tteLfY3HAP0PiQtFUSzbG0x GiBpnNbmOnHmxjrz5tcqzqVI8V7GD7nuEo+5vreE6lyZMqyx2zcRHRdSoUpfiEfjJZXT wtbDGnV8vauj8aU2Gsp5Tybr9QcOCi6sRw3iF9HKYEr04oVegqYHykdB2fggPop2bMHP aRVnotHPqQCJUG3NehVRd8F3AEo+zNpO+vxJuIqWRIUrhGTx6tKDsBpTu3VKq9c3pyl0 ICv0EJ2ZN8Gy0D1zMnQcOxu0hlxKzybY/gr2yGn72MKXmCSNBE0bCVcJn8WZX8cIhmRK T5bw== 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=QoA9e8gviaGQP8fR2Ybg9pQXAOupwvMlRjsz2VQlwlg=; b=PDM0bA/vbR0wpmqXZQH5GPkyIU3fh96wxVJqnk0fQ1n64vSjQGZ1cp96Ogs11YI/t+ HZMeERa99EnRw53UllYs9Pf17GpXxEsDVzIzaEZkpThfRj84FbZEYshW3zp5Qv+jg2jP s+B3TaJgzeop79Ym+R41l+grj8xpZOBpJfz3IYsCMlFFbkDDnONYLfsvtDbk/GE985BJ b8xoxj9AAJ7mqo+AXAHUwucQSinCmSubjojeyoDDuljDFdCEjYeihipKQfVFMutwHlA8 mY1nMZjv0A4HaQfdd6sYr97XVfu3E6lBSMz9aoUzkDHBUwSevQoi133vgrUO4k58rnXn iT3Q== X-Gm-Message-State: ALyK8tKLskB1J5v9422C8xGXva8y8ofHOrEwLliCC1OjJzp9lop0kPiYQ+zW3Ib3eABzoA== X-Received: by 10.66.149.99 with SMTP id tz3mr12517321pab.128.1468003773392; Fri, 08 Jul 2016 11:49:33 -0700 (PDT) Received: from fainelli-desktop.broadcom.com (5520-maca-inet1-outside.broadcom.com. [216.31.211.11]) by smtp.gmail.com with ESMTPSA id a85sm6176689pfj.42.2016.07.08.11.49.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 08 Jul 2016 11:49:32 -0700 (PDT) From: Florian Fainelli To: netdev@vger.kernel.org Subject: [PATCH 1/2] ARM: dts: NSP: Add Switch Register Access Block node Date: Fri, 8 Jul 2016 11:49:28 -0700 Message-Id: <1468003769-26959-2-git-send-email-f.fainelli@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1468003769-26959-1-git-send-email-f.fainelli@gmail.com> References: <1468003769-26959-1-git-send-email-f.fainelli@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160708_114954_367297_3F795E84 X-CRM114-Status: GOOD ( 10.39 ) 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: andrew@lunn.ch, Florian Fainelli , devicetree@vger.kernel.org, vivien.didelot@savoirfairelinux.com, jon.mason@broadcom.com, bcm-kernel-feedback-list@broadcom.com, 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 Switch Register Access Block node, this peripheral is identical to the BCM5301x Northstar SoC, but we utilize the SoC-wide "brcm,nsp-srab" compatible string to illustrate the integration difference here. Signed-off-by: Florian Fainelli --- arch/arm/boot/dts/bcm-nsp.dtsi | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/arch/arm/boot/dts/bcm-nsp.dtsi b/arch/arm/boot/dts/bcm-nsp.dtsi index 8d7b35a4b5f1..983fdba905e3 100644 --- a/arch/arm/boot/dts/bcm-nsp.dtsi +++ b/arch/arm/boot/dts/bcm-nsp.dtsi @@ -241,6 +241,17 @@ clock-names = "apb_pclk"; }; + srab: srab@36000 { + compatible = "brcm,nsp-srab"; + reg = <0x36000 0x1000>; + #address-cells = <1>; + #size-cells = <0>; + + status = "disabled"; + + /* ports are defined in board DTS */ + }; + i2c0: i2c@38000 { compatible = "brcm,iproc-i2c"; reg = <0x38000 0x50>;