From patchwork Sun Jan 29 01:56:41 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Icenowy Zheng X-Patchwork-Id: 9543803 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 79F746046A for ; Sun, 29 Jan 2017 01:58:45 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 66FA127F85 for ; Sun, 29 Jan 2017 01:58:45 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5964B28179; Sun, 29 Jan 2017 01:58:45 +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=-1.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, T_DKIM_INVALID autolearn=no 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 EDF9427F85 for ; Sun, 29 Jan 2017 01:58:44 +0000 (UTC) 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 1cXelP-0000bY-20; Sun, 29 Jan 2017 01:58:43 +0000 Received: from forward13o.cmail.yandex.net ([37.9.109.182]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cXelD-0000Pb-QI for linux-arm-kernel@lists.infradead.org; Sun, 29 Jan 2017 01:58:33 +0000 Received: from smtp1o.mail.yandex.net (smtp1o.mail.yandex.net [37.140.190.26]) by forward13o.cmail.yandex.net (Yandex) with ESMTP id 01BB121EDC; Sun, 29 Jan 2017 04:57:37 +0300 (MSK) Received: from smtp1o.mail.yandex.net (localhost.localdomain [127.0.0.1]) by smtp1o.mail.yandex.net (Yandex) with ESMTP id 94D251300DD6; Sun, 29 Jan 2017 04:57:29 +0300 (MSK) Received: by smtp1o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id DOegxZHf9I-vNl0PVfA; Sun, 29 Jan 2017 04:57:27 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client certificate not present) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aosc.xyz; s=mail; t=1485655048; bh=pkvX0mmEQ69IcGW1BrgBbiVQgKIJBPA3JRZLRrxY1bg=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References; b=SFi0QJMYFalyZweRzo4qHMV3OffvLYgi8EYyMJylJsGME26E6bJHDFLmWEV/nMV/H aubB9aU61V6ZrlQ7w0r1KN4c30EabvRAoAJQ9aMuOoAkvYi8aYzS6Mzf5CSZCoV36O nPqyAbIzQyOeqjyxv+wAyqpMjMpU4IwAh1Sbx9dc= Authentication-Results: smtp1o.mail.yandex.net; dkim=pass header.i=@aosc.xyz X-Yandex-ForeignMX: US X-Yandex-Suid-Status: 1 0,1 0,1 0,1 0,1 0,1 0,1 0,1 0,1 1130000036118848 From: Icenowy Zheng To: Srinivas Kandagatla , Maxime Ripard , Chen-Yu Tsai , Rob Herring Subject: [PATCH v2 2/2] ARM: dts: sun8i: enable SID on Allwinner H3 SoC Date: Sun, 29 Jan 2017 09:56:41 +0800 Message-Id: <20170129015641.54281-2-icenowy@aosc.xyz> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170129015641.54281-1-icenowy@aosc.xyz> References: <20170129015641.54281-1-icenowy@aosc.xyz> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170128_175832_062451_A231B1FA X-CRM114-Status: UNSURE ( 8.09 ) X-CRM114-Notice: Please train this message. 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: devicetree@vger.kernel.org, linux-sunxi@googlegroups.com, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Icenowy Zheng 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 As we have already made sunxi_sid driver support the SID controller on H3, enable it. Signed-off-by: Icenowy Zheng --- Changes in v2: - Use 0x400 as the size of SID block, as described in "4.1. Memory Mapping" in Allwinner H3 Datasheet V1.2. arch/arm/boot/dts/sun8i-h3.dtsi | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/sun8i-h3.dtsi b/arch/arm/boot/dts/sun8i-h3.dtsi index 08fd0860bb6b..0a7a38a75ee4 100644 --- a/arch/arm/boot/dts/sun8i-h3.dtsi +++ b/arch/arm/boot/dts/sun8i-h3.dtsi @@ -206,6 +206,11 @@ #size-cells = <0>; }; + sid: eeprom@01c14000 { + compatible = "allwinner,sun8i-h3-sid"; + reg = <0x01c14000 0x400>; + }; + usbphy: phy@01c19400 { compatible = "allwinner,sun8i-h3-usb-phy"; reg = <0x01c19400 0x2c>,