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 E6AF7C4332F for ; Sun, 11 Dec 2022 13:07:00 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 04945853AF; Sun, 11 Dec 2022 14:06:57 +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="IWxPxx4a"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 9A4988512B; Sun, 11 Dec 2022 14:06:56 +0100 (CET) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) (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 024A1852C4 for ; Sun, 11 Dec 2022 14:06:53 +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=1670764014; x=1702300014; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=tvfgN0S19wIy4OQMbQ4qyn/TbT8u9D81EpEdtkZMR4A=; b=IWxPxx4amC4N90C/oa80RpKo/XzCSgas7L3xFGTsv9CLEfdnQrpZuWSx 4Iu/aRqnS7p9V3WUclIWlZG/Xx2rWaAwC0B7/Ivn10PZcNrmh4yMZzRaE 3eNaKQVkgyKl8G8dSYTwMfHE55pFFSaFPcvXKqAt25FatCoGQjvcumAu6 MFRnUX/hN5oB7zheL24HKcmAuHVEwqzfgVcNihKzX0PpGGDLuw42YO7gT ArrAOwC6SlCYipvDs3iw8pROVIairJCELEWaBDl+7pfKse+AG3PPuJWx+ ctOKGP0WKsFQkEeVoWsnOJut9Q8GviOwvJGOpZKZ79P4BFl8Kyy32SNyX A==; X-IronPort-AV: E=McAfee;i="6500,9779,10557"; a="316394329" X-IronPort-AV: E=Sophos;i="5.96,236,1665471600"; d="scan'208";a="316394329" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Dec 2022 05:06:51 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10557"; a="678625502" X-IronPort-AV: E=Sophos;i="5.96,236,1665471600"; d="scan'208";a="678625502" Received: from pglmail07.png.intel.com ([10.221.193.207]) by orsmga008.jf.intel.com with ESMTP; 11 Dec 2022 05:06:46 -0800 Received: from localhost (pgli0028.png.intel.com [10.221.84.177]) by pglmail07.png.intel.com (Postfix) with ESMTP id E086F2B0B; Sun, 11 Dec 2022 21:06:45 +0800 (+08) Received: by localhost (Postfix, from userid 12048045) id A5145E00218; Sun, 11 Dec 2022 21:06:45 +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/6] doc: dtbinding: Add doc for privilege regs settings Date: Sun, 11 Dec 2022 21:06:39 +0800 Message-Id: <20221211130644.24832-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