From patchwork Tue Feb 5 10:14:40 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Pankaj Bansal X-Patchwork-Id: 1036593 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=devicetree-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=pass (p=none dis=none) header.from=nxp.com Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=nxp.com header.i=@nxp.com header.b="DZh6arsr"; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 43v0n33j00z9sNG for ; Tue, 5 Feb 2019 21:14:47 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728556AbfBEKOr (ORCPT ); Tue, 5 Feb 2019 05:14:47 -0500 Received: from mail-eopbgr140054.outbound.protection.outlook.com ([40.107.14.54]:40449 "EHLO EUR01-VE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728513AbfBEKOq (ORCPT ); Tue, 5 Feb 2019 05:14:46 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=TjwTns9PSUkWQ5GbgWcUqonl9TZv6OTmqVQEXAMkPzY=; b=DZh6arsrl0R0MkBi6XXN4vp+q7S4nyQ5SxSHa7xQ6VeMUskOexVEFSZnMQKrsth53pMjVVQpDoQKwNKg5kX2XbGLfijUIhoeSrFhum1UfkvtysEAksyDOdxgaBoE7n5p4Ki6IvAZMIfukjYsoskqFv3xpafBpGqOQSoV2tfKqb8= Received: from VI1PR0401MB2496.eurprd04.prod.outlook.com (10.168.65.10) by VI1PR0401MB2030.eurprd04.prod.outlook.com (10.166.141.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1601.17; Tue, 5 Feb 2019 10:14:41 +0000 Received: from VI1PR0401MB2496.eurprd04.prod.outlook.com ([fe80::208f:755e:b057:2cfe]) by VI1PR0401MB2496.eurprd04.prod.outlook.com ([fe80::208f:755e:b057:2cfe%8]) with mapi id 15.20.1580.019; Tue, 5 Feb 2019 10:14:41 +0000 From: Pankaj Bansal To: Leo Li , Rob Herring , Mark Rutland CC: "linuxppc-dev@lists.ozlabs.org" , "linux-arm-kernel@lists.infradead.org" , "open list : OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , Pankaj Bansal Subject: [PATCH v4 1/2] dt-bindings: soc: fsl: Document Qixis FPGA usage Thread-Topic: [PATCH v4 1/2] dt-bindings: soc: fsl: Document Qixis FPGA usage Thread-Index: AQHUvTubgJLDSKArS0iRP7YRYODBng== Date: Tue, 5 Feb 2019 10:14:40 +0000 Message-ID: <20190205153924.7204-2-pankaj.bansal@nxp.com> References: <20190205153924.7204-1-pankaj.bansal@nxp.com> In-Reply-To: <20190205153924.7204-1-pankaj.bansal@nxp.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: BMXPR01CA0019.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:d::29) To VI1PR0401MB2496.eurprd04.prod.outlook.com (2603:10a6:800:56::10) authentication-results: spf=none (sender IP is ) smtp.mailfrom=pankaj.bansal@nxp.com; x-ms-exchange-messagesentrepresentingtype: 1 x-mailer: git-send-email 2.17.1 x-originating-ip: [92.120.1.69] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; VI1PR0401MB2030; 6:b4+N70u3CFVBQEF9m2hE3ZiPBDBHf0CT+abwfCjFhzzL6zXDQ2JbcqpsEPfWwRvYoPZXX4mzxVrKF0GVJaLGH6sWgVLKMYRkPgFTJvJiK/0RoSkC5YWuBDlYAZidyveG1Ktdws7ll/P8eyGGSTB5iG4GJm9bopQcg5ALWd4ckx7MwzjbpVNFW/FVVSku7KVctUydb8QAz0AVZE3BgXrYudqMxwaFbepPKmjGmDQownuj9i9273ayIifmrOl74tcCWcATqjwIsgKOST9PbM/xBp86idpdrnRH/CCsWOFj6sCkG8tihFVuS3b8BLdFrLtO4LwQE0IKeXuoImbrRLucMKfzCS9KgfGtNOAzKFUuwzXPuyL3GYSkdzqqpX1kF8g6ecA3i4isg1IME4VlS1Dw7VQNWQWUpzc+SChfZr66p1kWuaQmFrjspNCwlcDjTP3pXhMsTlU8kJPy5PTCD3LaTw==; 5:KM52afWS5EpTsL+kuI5IxnN2sw3TUKj0mg4PDSbooY4qB96D3R5/E/7Gh6u0PI+FHR+DtH8zTaesO4WiF3EhV3TOi7/yf1Iud6m8CLIsl9vHmPAK8Xd70pm8chwR32XAhUKJ6xu89zMtnWIuU+Pw3cEdQqTLVLpNt3OaRB/wiIzphVXwqYGQjGklw4J5I6tmNV9s53px3mQpsr+KY7J2wA==; 7:lJaT8baSTzHrgiqrt0H4TB64MaGx9y+ZhkCfPNcpyl7qOCTGDLXwnYzv5AY6DZgY1rTVRyTPdC2rYsqQYm98aXeXRo6BxDWkCk7hdTYLBgsrZsQt5FDIwFufqTKhqIrGOEV3kE+Bh3/ifm4I1PgaJQ== x-ms-office365-filtering-correlation-id: 4abe4320-32ed-40cc-4051-08d68b52bdc9 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600110)(711020)(4605077)(4618075)(2017052603328)(7153060)(7193020); SRVR:VI1PR0401MB2030; x-ms-traffictypediagnostic: VI1PR0401MB2030: x-microsoft-antispam-prvs: x-forefront-prvs: 0939529DE2 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(39860400002)(396003)(376002)(366004)(136003)(346002)(199004)(189003)(25786009)(8676002)(2906002)(26005)(14454004)(102836004)(386003)(6506007)(99286004)(6436002)(6486002)(6512007)(4326008)(8936002)(71190400001)(81166006)(81156014)(71200400001)(256004)(105586002)(76176011)(36756003)(106356001)(52116002)(486006)(6116002)(3846002)(44832011)(446003)(7736002)(110136005)(11346002)(476003)(2616005)(68736007)(316002)(86362001)(53936002)(186003)(1076003)(50226002)(305945005)(478600001)(97736004)(54906003)(66066001); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR0401MB2030; H:VI1PR0401MB2496.eurprd04.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: 7yvEOBh9QCi3nWo69VZKn7pQkYO3rW7SdC54hELr4CL00yqz9tGkuyDulGS9c61N9vUqEEjSPfdH6iTIdscStsX3ddvDkMK3s5C8x1pN/umpCJ61lfhj7fjcEh+hl/377RIdibeXLiwJdFj6dyeobKTeQeIy4cN/CtGyJqmDX0P44/fVCFivhlCCgEvLyX6lDsWPHtaOgalSSZnfp+eTn7RJBm41ko+ruh6kd/RF5le73Pcpl+Y9iVw0Ezmft5kubBZgs44mJbVbEkQn5au6pDhTppgyflIAVlOxt3a/gwEdo2ikJyznivuDIjLhLTweRG/KmdYPcv8MTWEtlLG21Dgbslm+9vGflBq2NJuOyCku555CWPU+pSQcQD87AOYxeMoCmzdBqVgXegSJm/OLqCawRfx+iPpCmbKCgLXZWAQ= Content-ID: <31172365421942458B85A799827935AC@eurprd04.prod.outlook.com> MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 4abe4320-32ed-40cc-4051-08d68b52bdc9 X-MS-Exchange-CrossTenant-originalarrivaltime: 05 Feb 2019 10:14:39.3594 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0401MB2030 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org an FPGA-based system controller, called “Qixis”, which manages several critical system features, including: • Reset sequencing • Power supply configuration • Board configuration • hardware configuration The qixis registers are accessible over one or more system-specific interfaces, typically I2C, JTAG or an embedded processor. Signed-off-by: Pankaj Bansal --- Notes: V4: - No Change V3: - Added boardname based compatible field in bindings - Added bindings for MMIO based FPGA V2: - No change .../bindings/soc/fsl/qixis_ctrl.txt | 53 ++++++++++++++++++ 1 file changed, 53 insertions(+) diff --git a/Documentation/devicetree/bindings/soc/fsl/qixis_ctrl.txt b/Documentation/devicetree/bindings/soc/fsl/qixis_ctrl.txt new file mode 100644 index 000000000000..5d510df14be8 --- /dev/null +++ b/Documentation/devicetree/bindings/soc/fsl/qixis_ctrl.txt @@ -0,0 +1,53 @@ +* QIXIS FPGA block + +an FPGA-based system controller, called “Qixis”, which +manages several critical system features, including: +• Configuration switch monitoring +• Power on/off sequencing +• Reset sequencing +• Power supply configuration +• Board configuration +• hardware configuration +• Background power data collection (DCM) +• Fault monitoring +• RCW bypass SRAM (replace flash RCW with internal RCW) (NOR only) +• Dedicated functional validation blocks (POSt/IRS, triggered event, and so on) +• I2C master for remote board control even with no DUT available + +The qixis registers are accessible over one or more system-specific interfaces, +typically I2C, JTAG or an embedded processor. + +FPGA connected to I2C: +Required properties: + + - compatible: should be a board-specific string followed by a string + indicating the type of FPGA. Example: + "fsl,-fpga", "fsl,fpga-qixis-i2c" + - reg : i2c address of the qixis device. + +Example (LX2160A-QDS): + /* The FPGA node */ + fpga@66 { + compatible = "fsl,lx2160aqds-fpga", "fsl,fpga-qixis-i2c"; + reg = <0x66>; + #address-cells = <1>; + #size-cells = <0>; + } + +* Freescale on-board FPGA + +This is the memory-mapped registers for on board FPGA. + +Required properties: +- compatible: should be a board-specific string followed by a string + indicating the type of FPGA. Example: + "fsl,-fpga", "fsl,fpga-qixis" +- reg: should contain the address and the length of the FPGA register set. + +Example (LS2080A-RDB): + + cpld@3,0 { + compatible = "fsl,ls2080ardb-fpga", "fsl,fpga-qixis"; + reg = <0x3 0 0x10000>; + }; +