Received: by 2002:a05:6358:5282:b0:b5:90e7:25cb with SMTP id g2csp2753035rwa; Mon, 22 Aug 2022 13:06:21 -0700 (PDT) X-Google-Smtp-Source: AA6agR6UafpNw9n+Hjf8zf5lUVxI1BhyjqjwHmENNPTJO/82Lp9w/JgLdqsRwY7w3tYt+76gNkXx X-Received: by 2002:a17:902:b413:b0:172:a628:7915 with SMTP id x19-20020a170902b41300b00172a6287915mr22000062plr.99.1661198781204; Mon, 22 Aug 2022 13:06:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661198781; cv=none; d=google.com; s=arc-20160816; b=kEdX3eotJT8QfrQJ2zPxobCVnUrb4jWt9OYLTbm6/4TGcp6QOzG7hLRqgAnzDCAjml 9GgUgjiWpR8qTeq54jk/CvC5oDzYN2A1fFmm9uXxKHdssrLPq13gQ05GpFzJ7xuoYEWf kwqswAD98/EwVkbvukxO/JpkxSpABgv0C14FLplQnr0sZxlVl4+USNvtTpqY4akvrnMC eYZ8xM4YvHCljKUzYy8+ZToU8N0X6KBE7jeAFSLZgpfU/M6LWGB8zzI0mgQbgEP5xzgf qqyeJ1yG4hUVZYHcebId4FJyOwsXnCdHYo6jLsZ3orTIRM9RDlNfXZdR4Q/7VvgwzlBn 2Qiw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature:dkim-filter; bh=UXtmUueoPfsyifWmupyxIMk+T8NNS2o323E8H+1gKCc=; b=V0GDMvDBAT8eeF32biAvh53AkQTSB/psACCcbAMjjuBc6UGH0i/NoiAE55vN9dDeR5 5l5CYS8eUcaDseD3E0gKtC3J8Swuri5QkU+YhQa9P/QLgN9vQWVirdP359tUal0ASMjq sPHpLD/7RAnsYn37XO/X/TGoIlQbRK/yKIuEZzTb2TFCUjJNwv9cJK/nzGAVdbSlzMmm WdQqKA9lWCextrWZSICQ/L3Dy2FOSpuixuKMO1ptcPBErxst8ZKGg8dZKjlvMLz1csLO bg3iXfocXnL8zDSl1tduM/qZvzLlUff/fYaRjoK3CZdWw3qgIMvP1CmCLKgCmMcUtKNJ FxHQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baikalelectronics.ru header.s=mail header.b=COpRbn+q; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=baikalelectronics.ru Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d9-20020a170902aa8900b0016d4e5ca5fbsi12136606plr.308.2022.08.22.13.06.09; Mon, 22 Aug 2022 13:06:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@baikalelectronics.ru header.s=mail header.b=COpRbn+q; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=baikalelectronics.ru Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238503AbiHVTVl (ORCPT + 99 others); Mon, 22 Aug 2022 15:21:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47382 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238689AbiHVTUz (ORCPT ); Mon, 22 Aug 2022 15:20:55 -0400 Received: from mail.baikalelectronics.com (mail.baikalelectronics.com [87.245.175.230]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 69FA113CD1; Mon, 22 Aug 2022 12:20:19 -0700 (PDT) Received: from mail (mail.baikal.int [192.168.51.25]) by mail.baikalelectronics.com (Postfix) with ESMTP id 4C5A9DA4; Mon, 22 Aug 2022 22:23:29 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 mail.baikalelectronics.com 4C5A9DA4 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baikalelectronics.ru; s=mail; t=1661196209; bh=UXtmUueoPfsyifWmupyxIMk+T8NNS2o323E8H+1gKCc=; h=From:To:CC:Subject:Date:In-Reply-To:References:From; b=COpRbn+qAGFp6dbdqJbofrTsGYWMZroBQQbUDTNegCMkQIiutLOqB9en9y1baus4T t1OlOwAi99jg2zy1IWxPeyJs3259zHegdK6Vz3LVlDWO1jERiRCd9NmxYnNO9ywx64 xRqCMy7mxQriFl4cSytl9M6rkUJ03bYP7noDVAgE= Received: from localhost (192.168.168.10) by mail (192.168.51.25) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Mon, 22 Aug 2022 22:20:15 +0300 From: Serge Semin To: Michal Simek , Borislav Petkov , Mauro Carvalho Chehab , Tony Luck , Krzysztof Kozlowski , Rob Herring , Manish Narani CC: Serge Semin , Serge Semin , Alexey Malahov , Michail Ivanov , Pavel Parkhomenko , Punnaiah Choudary Kalluri , Dinh Nguyen , James Morse , Robert Richter , Krzysztof Kozlowski , , , , , Krzysztof Kozlowski Subject: [PATCH 02/13] dt-bindings: memory: snps: Add Baikal-T1 DDRC support Date: Mon, 22 Aug 2022 22:19:45 +0300 Message-ID: <20220822191957.28546-3-Sergey.Semin@baikalelectronics.ru> In-Reply-To: <20220822191957.28546-1-Sergey.Semin@baikalelectronics.ru> References: <20220822191957.28546-1-Sergey.Semin@baikalelectronics.ru> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: MAIL.baikal.int (192.168.51.25) To mail (192.168.51.25) X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS, T_SCC_BODY_TEXT_LINE,T_SPF_PERMERROR autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Baikal-T1 DDR controller is based on the DW uMCTL2 DDRC IP-core v2.51a with up to DDR3 protocol capability and 32-bit data bus + 8-bit ECC. There are individual IRQs for each ECC and DFI events.The dedicated scrubber clock source is absent since it's fully synchronous to the core clock. In addition to that the DFI-DDR PHY CSRs can be accessed via a separate registers space. Signed-off-by: Serge Semin --- .../memory-controllers/snps,dw-umctl2-ddrc.yaml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/memory-controllers/snps,dw-umctl2-ddrc.yaml b/Documentation/devicetree/bindings/memory-controllers/snps,dw-umctl2-ddrc.yaml index 8db92210cfe1..899a6c5f9806 100644 --- a/Documentation/devicetree/bindings/memory-controllers/snps,dw-umctl2-ddrc.yaml +++ b/Documentation/devicetree/bindings/memory-controllers/snps,dw-umctl2-ddrc.yaml @@ -26,6 +26,7 @@ properties: enum: - snps,ddrc-3.80a - xlnx,zynqmp-ddrc-2.40a + - baikal,bt1-ddrc interrupts: description: @@ -49,7 +50,14 @@ properties: enum: [ ecc_ce, ecc_ue, ecc_ap, ecc_sbr, dfi_e ] reg: - maxItems: 1 + minItems: 1 + maxItems: 2 + + reg-names: + minItems: 1 + items: + - const: umctl2 + - const: phy clocks: description: -- 2.35.1