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 phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 4435CC4321E for ; Mon, 5 Dec 2022 13:43:04 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 2CC47855F6; Mon, 5 Dec 2022 14:42:47 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.b="MWjgfQEu"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 7C516855EA; Mon, 5 Dec 2022 14:42:40 +0100 (CET) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 506AC855FB for ; Mon, 5 Dec 2022 14:42:31 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: phobos.denx.de; spf=none smtp.mailfrom=jitloonl@ecsmtp.png.intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1670247751; x=1701783751; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=tvfgN0S19wIy4OQMbQ4qyn/TbT8u9D81EpEdtkZMR4A=; b=MWjgfQEudBD45Tg81DOT3nBvYqPl1MaqA9mXKTPE96/m07ChdiGwbVFc 9Lq4bBMyA/bVapM2NPVLvNYLI2y43hgTRX2hVmdQKw6iS4T/GwNDHGOGP lvdWjXKHxlLh/t6JRl1ox/JAH/NP+j8alnh0Hop4fYH0aqjE3OTYNusu5 vd1QCKAJjwAb3Sh/ZWf4SiVs6Y0aqBGdk6Zc36qT7hakg2u+QQeiJnBlA eh3YxE9WGL9B0xq1H2Pxl3pEFcOhOVFYXmJquNvc5rrVWHrkVMsbtLfHr 1axC3Yj0X/PZTLBmuQ/v2GCYVzkhcGqQre0o+lybGHcw+ukh/guxKmAFA g==; X-IronPort-AV: E=McAfee;i="6500,9779,10551"; a="313994861" X-IronPort-AV: E=Sophos;i="5.96,219,1665471600"; d="scan'208";a="313994861" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Dec 2022 05:42:26 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10551"; a="596199274" X-IronPort-AV: E=Sophos;i="5.96,219,1665471600"; d="scan'208";a="596199274" Received: from pglmail07.png.intel.com ([10.221.193.207]) by orsmga003.jf.intel.com with ESMTP; 05 Dec 2022 05:42:21 -0800 Received: from localhost (pgli0028.png.intel.com [10.221.84.177]) by pglmail07.png.intel.com (Postfix) with ESMTP id 20E4D482B; Mon, 5 Dec 2022 21:42:21 +0800 (+08) Received: by localhost (Postfix, from userid 12048045) id 142A7E0021A; Mon, 5 Dec 2022 21:42:21 +0800 (+08) From: Jit Loon Lim To: u-boot@lists.denx.de Cc: Jagan Teki , Vignesh R , Marek , Simon , Tien Fong , Kok Kiang , Siew Chin , Sin Hui , Raaj , Dinesh , Boon Khai , Alif , Teik Heng , Hazim , Jit Loon Lim , Sieu Mun Tang Subject: [PATCH 1/5] doc: dtbinding: Add doc for privilege regs settings Date: Mon, 5 Dec 2022 21:42:15 +0800 Message-Id: <20221205134219.28120-1-jit.loon.lim@intel.com> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.6 at phobos.denx.de X-Virus-Status: Clean From: Tien Fong Chee Add a document to describe firewall and privilege register settings binding information. Signed-off-by: Tien Fong Chee Signed-off-by: Jit Loon Lim --- .../misc/socfpga_secreg.txt | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 doc/device-tree-bindings/misc/socfpga_secreg.txt diff --git a/doc/device-tree-bindings/misc/socfpga_secreg.txt b/doc/device-tree-bindings/misc/socfpga_secreg.txt new file mode 100644 index 0000000000..66df51f613 --- /dev/null +++ b/doc/device-tree-bindings/misc/socfpga_secreg.txt @@ -0,0 +1,26 @@ +* Firewall and privilege register settings in device tree + +Required properties: +-------------------- + +- compatible: should contain "intel,socfpga-secreg" +- intel,offset-settings: 32-bit offset address of block register, and then + followed by 32-bit value settings. + +Example: +-------- + + socfpga_secreg: socfpga-secreg { + compatible = "intel,socfpga-secreg"; + #address-cells = <1>; + #size-cells = <1>; + u-boot,dm-pre-reloc; + + i_sys_mgr@ffd12000 { + reg = <0xffd12000 0x00000228>; + intel,offset-settings = + <0x00000020 0xff010000>, + <0x00000024 0xffffffff>; + u-boot,dm-pre-reloc; + }; + }; -- 2.26.2