From patchwork Sat Feb 26 13:57:24 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Wunderlich X-Patchwork-Id: 546526 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id D442AC433F5 for ; Sat, 26 Feb 2022 13:57:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230012AbiBZN6V (ORCPT ); Sat, 26 Feb 2022 08:58:21 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56874 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229878AbiBZN6V (ORCPT ); Sat, 26 Feb 2022 08:58:21 -0500 Received: from mxout1.routing.net (mxout1.routing.net [IPv6:2a03:2900:1:a::a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BE9995F8F5; Sat, 26 Feb 2022 05:57:43 -0800 (PST) Received: from mxbox4.masterlogin.de (unknown [192.168.10.79]) by mxout1.routing.net (Postfix) with ESMTP id 85F8E3FC87; Sat, 26 Feb 2022 13:57:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailerdienst.de; s=20200217; t=1645883861; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=bVy4jm/0n6LtIGvvpekwTvwzXdFxC3XUkQ0plnn+i6c=; b=YCr2TYbKjg67OIHcCrrw8dQnGhePpz/gnforAMYtmCV0AekiZz9HcGlwdNbFuIavVBpHR2 qTkRpo8WaIpB+7RhUiV94eibXH6EbmlZLYcLUsj/6pXSaSdTxdc7zLXrg+zNo3HCE1yWIP 5jVD+HhUIZbVGVClBT73kTX55blDlzw= Received: from localhost.localdomain (fttx-pool-80.245.79.12.bambit.de [80.245.79.12]) by mxbox4.masterlogin.de (Postfix) with ESMTPSA id A6C008059A; Sat, 26 Feb 2022 13:57:40 +0000 (UTC) From: Frank Wunderlich To: linux-rockchip@lists.infradead.org Cc: Frank Wunderlich , Rob Herring , Krzysztof Kozlowski , Heiko Stuebner , Peter Geis , Michael Riesch , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v1] arm64: dts: rockchip: Add sata2 node to rk356x Date: Sat, 26 Feb 2022 14:57:24 +0100 Message-Id: <20220226135724.61516-1-linux@fw-web.de> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-Mail-ID: 83e05a4e-de96-4b8f-a355-cdcf1bc5b4d7 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org From: Frank Wunderlich RK356x supports up to 3 sata controllers which were compatible with the existing snps,dwc-ahci binding. My board has only sata2 connected to combphy2 so only add this one. Signed-off-by: Frank Wunderlich --- arch/arm64/boot/dts/rockchip/rk356x.dtsi | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk356x.dtsi b/arch/arm64/boot/dts/rockchip/rk356x.dtsi index 7cdef800cb3c..7b6c8a0c8b84 100644 --- a/arch/arm64/boot/dts/rockchip/rk356x.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk356x.dtsi @@ -230,6 +230,21 @@ scmi_shmem: sram@0 { }; }; + sata2: sata@fc800000 { + compatible = "snps,dwc-ahci"; + reg = <0 0xfc800000 0 0x1000>; + clocks = <&cru ACLK_SATA2>, <&cru CLK_SATA2_PMALIVE>, + <&cru CLK_SATA2_RXOOB>; + clock-names = "sata", "pmalive", "rxoob"; + interrupts = ; + interrupt-names = "hostc"; + phys = <&combphy2 PHY_TYPE_SATA>; + phy-names = "sata-phy"; + ports-implemented = <0x1>; + power-domains = <&power RK3568_PD_PIPE>; + status = "disabled"; + }; + gic: interrupt-controller@fd400000 { compatible = "arm,gic-v3"; reg = <0x0 0xfd400000 0 0x10000>, /* GICD */