From patchwork Mon Jul 29 19:11:42 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13745619 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 08B10C3DA4A for ; Mon, 29 Jul 2024 19:12:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:MIME-Version:Content-Type: Content-Transfer-Encoding:Message-Id:Date:Subject:Cc:To:From:Reply-To: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=JCsi7YEvLI9ZylUJ9nzGtVjkEG917DqbNXG+mkLGto8=; b=kjjLS3UYG66rYqOEs7DwNHXPJ+ sdoQ4Hy6A6C8JoWkQ/fE1XOZ2n6X5KxDjdiDezptS7QoESLkArGuLK8FwHX+vDErBjVR4XPyG+aqf RyIx957mdHMIYKca3UifchJ2PeuMw9fmCF8deFhEWB1gLxkb/fiyt5Fa27zpyWC5RATTQpzVpJFKF 8WwsppY6yFXwEPNutFQLF7qfitzDh45RCuiXvgqWL7qfS+i/CFsntG9fqinN8zpcJeAYwPJfJcHQB 3pXGFlLm8roLPNgK3k7QDHWaEQcCuDiCF3iWUY/KaW+XDCzWQuS2p5hoMUHxTzwoV+ur3p1qETEJz KbINHoHA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sYVnM-0000000CSRU-4AUp; Mon, 29 Jul 2024 19:12:33 +0000 Received: from mail-northeuropeazlp170120003.outbound.protection.outlook.com ([2a01:111:f403:c200::3] helo=DU2PR03CU002.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sYVmv-0000000CSNN-0M05 for linux-arm-kernel@lists.infradead.org; Mon, 29 Jul 2024 19:12:06 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=e652HF/JEDQPW4Ssd2XH2hID1EpV3Fd8EQOioUwCAc0cuK5yWE3kfvY3B0fIvSFrV6Jy8SvEVI7emSPXeot96eoMojPpsoV3E5wbnpRwdXnND0uFma7qP3rs3mF2t6LSXI1f145/gUIaQokY4SkQXsLnMHxH6ZUOemXVjuvOVionti4tp0TpknUZQVocuUPptZklhjhUGZtyyzzSkvW7EYEd3yxeXyVpMTymwYeFI13YxdDcc+Kuo9UJ4BuHnG+tu3OBuuXbuLf1gCf9OH+4pqRYFB6rTXDRr0IVxqXOWhe36pkuaplXgBumvWkcs7SJJsHpESleMZfltx+LEOa0xQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=JCsi7YEvLI9ZylUJ9nzGtVjkEG917DqbNXG+mkLGto8=; b=fsZ0qtY9F8LPSbXpD/s3Z4BEy+HW8GdGh63x0ZWlk9cAnewbXZWA+DJnuKzwf1X82ZZMyy/XdLgicct235f8V0Pzukj3ObtpXsf+nhHyt0W+4vyMD1DUkngeJ66PLaENCUMyiEcufChmGvQDfIgVSe+JDdDDHptTZwcr8Y0Y4QoDI0N43mWXqq3HTtSvjOuUJGUrbKZ/y9jNjbg1CxCRb5GyeReHH5JaoygxJYTXCyYlzNaSgY7Iu0g4WTsF/2Mfq6HvZ2FtsGsE0rBjp8KzLYUaKLgAyZ6xiAiPlOcUAsYFkSMBGbjjIIwK7xVysY+N6t5pLI2zFmg7zLp06jlGOg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none 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=JCsi7YEvLI9ZylUJ9nzGtVjkEG917DqbNXG+mkLGto8=; b=WRbnqhgg0m05vo/2bk4gkYYouezqJuke+X9U3B0Upj7AWH2h2wnjr1A6GygcvFmaq3zG0S8ilgXHWfX9pJOUO7VCdafT0eWzDcVaWthPMqIfD4PEQtl+eZiyQiM0J15VlNvAJMSBgq0IXg8hKG9v2yLb5xRSWeWRtihkATVvbdRoJXCtfMUKCCebB3paT57Xnt8kIJPn4HmT1zi8GjFLSPrT5rvomjZUw+yxa70f+TjkSX+2bKI1s9wOssSgOU+bTbllBy0I6Ns3P2uiBDx4+WiPdsEDqjSspz9BwRXTq9Hqh4l23+U8pbcbEL0apnSj5UjBpXrXaimKksmvaurKbQ== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) by AS8PR04MB7557.eurprd04.prod.outlook.com (2603:10a6:20b:294::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7807.27; Mon, 29 Jul 2024 19:12:00 +0000 Received: from PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06]) by PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06%5]) with mapi id 15.20.7807.026; Mon, 29 Jul 2024 19:12:00 +0000 From: Frank Li To: Alexandre Belloni , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Christophe Leroy , linux-rtc@vger.kernel.org (open list:REAL TIME CLOCK (RTC) SUBSYSTEM), devicetree@vger.kernel.org (open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS), linux-kernel@vger.kernel.org (open list), linuxppc-dev@lists.ozlabs.org (open list:FREESCALE SOC DRIVERS), linux-arm-kernel@lists.infradead.org (moderated list:FREESCALE SOC DRIVERS) Cc: imx@lists.linux.dev Subject: [PATCH 1/1] dt-bindings: soc: fsl: Convert rcpm to yaml format Date: Mon, 29 Jul 2024 15:11:42 -0400 Message-Id: <20240729191143.1826125-1-Frank.Li@nxp.com> X-Mailer: git-send-email 2.34.1 X-ClientProxiedBy: BY3PR05CA0041.namprd05.prod.outlook.com (2603:10b6:a03:39b::16) To PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9642:EE_|AS8PR04MB7557:EE_ X-MS-Office365-Filtering-Correlation-Id: 5a61ad68-8192-403a-587b-08dcb0025266 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|376014|7416014|1800799024|52116014|366016|921020|38350700014; X-Microsoft-Antispam-Message-Info: BtJOyh2Suhgalp3PFNlzZd2I+X89QGuiw5iu06Sfdv1c8VvpIZbPHw2ljyXufMMSVMPe1fhAbWwQex6Xxx8Ua4/2GbECzVakUZmn6B7zfnMsax5yvOKW3TFtxp9/KUxM00xlHsFuwFUI9OkRqLCFgfCkapOwHeJqaeAmUv1oaF4Ii6ydiCGomvdccExI1yFnz3GtpQYnftQszEdUZdGdhY60Q0yFZUgsECOUZyot0vS7iybHSGeyI4qH0URxoiz0Xu4tWzslZ/iSpV2gvAEQol4pwH3CNpGtZTDRUcOiG4EpfNaSQq8zCufnUf4eKjnCmtpI+2amiViuWl7Wwl6RYjHbNngS4fezuE/LAUbB6LQvg5sL13VzRl75wN/a+MWsZlaIhdzUlRqAEWCtZhxNBEIOCHOQjLPGsYOlJ6o43fUb2e+Ey9lvMcGwlAcm/SNCyPvW1BKpnkfvQ23BwAQrcqFFYMnSaXs5kLRFy/yz/shS44kYFBbvw4yQ9BPUKGQQPnXmgXSu5pE/KfvisZ4aai3V4dyiXf1f/uBi0t0RR7HbvU3GABOAYCUXW8BA5W/whTK5mKi1JuemKzRdU3uEi7GgbCG0ThCisarr9OvIibUBJ3gpisRzWpHXpYBNUssfmr72i3x8DrNnRL2WR9K1vWA8CGbxGHi5SIHTkO+OKRtM3wGQT11ZuH+x3hyacWd1uUGCgQ6dOC4bAto4U0FaaN/Hu2AI0Qv9Z7VfYMmr8u9TmAANZMFfDArLmxQXwBXlEm19GeIGxockhGHGr/fyHDNki6/DdGb2wAOByUqMph+jLelHlliGRDobiiFLuF760PIWGC/lfxagolvTdwIMEx/FTP8Hwxp2lrEtbYnlj70gXJWCh0CmwZpVj1jUU8pCCa1RnvHYicDPWgesNRv7xeE2Em5S1UqnOnZOZriigiUapV06r56Y/wjZ/KAEIed1XqmGyQjaVFsh9jcU07mVl5YduKG0QNHj0j9ubeQluILFlV48I6mp3mGboxZiz8R+mCHn87MbUWwnizVUx5hrvnSbMWw5TkG7sbnl0KMJ6whX6JEXScrFgpk+sEqeUFUsAKtNC8GNkE1x5dLjV9lnKiUbVt/pmRtOcgYt1JJSN6OSVggsqzSP9WaoEdsTM3geo3VBLKAf7hoS2Xkkkkdsm08YuwOHFghh98UACCvytZ4HXVs8vvdOi8OZFgDtY/euB12GgCDtwMtAyPRqrzf7/6fwXHiOipIGsScNYjHyDjc6em66Kdb/wtdGZm/yoTWEq+0dYNlUu66F7vkVlsYKngzp20kGeE0I1CoxTH2DItuO6q/tdj90mYFmr0/BdR0Qup3xDp7gcUbtMkn0YSZNAFbre7COYMEDcmOZN8qu8itP47h0xNGgQJz0wHfhjEZi X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PAXPR04MB9642.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(376014)(7416014)(1800799024)(52116014)(366016)(921020)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: el+yGtakbAF7x32ItC8Bb7npe3yQ/0R8wsaeiTr01DV7gw89bWOCDynIAImcj7/3vIA0EJooKD2OrF87mLuvjBgXwf+JuyoFM06rN+lhG4w6kIhQ/5eJQp58vhVA7GegmLbCw47PIZoXii1pfzo3l0yzjgNJs3zFeMFxXrDZqJIHlKhe1P1YoLjWYbcVHcNVF7RmRKwHL+HBwEsVm+f/p7kwLgpWmPDlIaIpDrJw4ce9XSq2TGvgcx0cOjGdDuIS3Vq04lYTtiDOQ8BFSlglXOIxo4WZ1KGq6xGB/VKCwzKZOXrRhTo8V2CRcjNKPCTwKJUuxYZYe94vGK5oHLgmsNGALyHYvkbSVHAD0sIKF7yQLpF3hS47l6YIrdWndPis/ZSS4PwmdJY8bH7oMHRyOmPjk4a2tQwuukraZV9lY7TynZa3mZeZaUL923+huQ0/c11negt+laRi5NzVhCH1YqV9ZRDaEcUq9IUdedZtNbi1TuftI9+NpJSvONtTR5GicmA6lke+nK74kzL8K8jhnpgsFxq2ELKMDL3d+OFOaf3aXBunRsrpOY52WiNn/rBBAATDTJE4CssrVjDMery1uHzMWQl44ufp8w2vCFC+l703bzbcJi/5ijwwiPlELWxE4GkXS6yifIA9rjLSBdbrntGQe2/rC3HuYrqaxkATQlmXmc50XAyQQnSrWHPp+LDjNAstkqLEdt7CNS7/Dryax5T/5soeDTPP2aG3+xp/3ZBawo/17auOkhe7o9PPETF0KpVURbohGY527bSerJfvl8YDzu9YdOjPYqW5dTZY0BEHuK39BvIf9OFXecpIv6U8ia9RoKrVLhWnd1yMcn3fSNmXGA0OZfDgUkYpWwP6gK9jsodxANtRFNeJM/NCQX2TwYxN3L1wfLdGBiImo4ODuUV7tCln2POjbYGbCbPIdpwxYEcX3N6Nz5/Kx9GKDd/UHHp3vHkxlAQwTQkk0DZ64kKjBsyN8mb+UkVobMO7hORmVCWdztuaUCWIvtBqLLMOY2Djoa7eInhVP2Qxd3D07W2e/vTDcAz3OyzJRZbC2Ywx/Xwjix3kYGFYnVwbZ+1GM97vJ1LGRX2wn76TQZi2NLAoqV6l3PDObGX6uoH7m1ln4oIC4VlejmCB0erNGcl3ELTSWSQyL/oPCRwtyWzb/vnDqvDC/ENhxGr5IJkK1dmdHM9GZsqvE975DPQStu7JJZCtUapWaMQtohT455fv1NLnB+cH3ScWi9fwL4z25RybdSD0xKEkzz6d0JVVSkulykAGEuQu6LSWZ1cxHHBvyu9VZPMRfJ9Xu1J/3Rt0k4zm5SkLMFtn4PcyoRjvAxqXc1xx2EiRduuqlyjgrYLkUa7E0wqpfMkImQzFq6XNYig1z5Ae+mdZZgaBWqFwpQrZ4h/HeY27cY/sPFwn9GbIEOWb188ya/NEFyNdRHxhRUlFvuhFMMIeVpzYLoX4A5p2ODLgIezHvhK6UbW1prSFIGOMuwInQ7Lr3L8AvtKVKqeOMQXa4Wio5s5Opu0GVrl2gpNYU87dIE9axIT+vSOKNwwKrvZ7vUQHZd34f6v77Yaqp0IunkfOiYHTG82EOQGb X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5a61ad68-8192-403a-587b-08dcb0025266 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Jul 2024 19:11:59.9919 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: HyOzITQ9HYW6yMmEqniN+zvMNdTAfhW36EFJE1mls22249Z3XTFnywyuls49L0Ac5XGobZZy9/wjGknnksmHjA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB7557 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240729_121205_306129_A94F67D6 X-CRM114-Status: GOOD ( 22.21 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Convert dt-binding rcpm from txt to yaml format. Add fsl,ls1028a-rcpm compatible string. Signed-off-by: Frank Li --- .../bindings/rtc/fsl,ls-ftm-alarm.yaml | 2 +- .../devicetree/bindings/soc/fsl/fsl,rcpm.yaml | 91 +++++++++++++++++++ .../devicetree/bindings/soc/fsl/rcpm.txt | 69 -------------- 3 files changed, 92 insertions(+), 70 deletions(-) create mode 100644 Documentation/devicetree/bindings/soc/fsl/fsl,rcpm.yaml delete mode 100644 Documentation/devicetree/bindings/soc/fsl/rcpm.txt diff --git a/Documentation/devicetree/bindings/rtc/fsl,ls-ftm-alarm.yaml b/Documentation/devicetree/bindings/rtc/fsl,ls-ftm-alarm.yaml index 388102ae30cd8..3ec111f2fdc40 100644 --- a/Documentation/devicetree/bindings/rtc/fsl,ls-ftm-alarm.yaml +++ b/Documentation/devicetree/bindings/rtc/fsl,ls-ftm-alarm.yaml @@ -42,7 +42,7 @@ properties: minItems: 1 description: phandle to rcpm node, Please refer - Documentation/devicetree/bindings/soc/fsl/rcpm.txt + Documentation/devicetree/bindings/soc/fsl/fsl,rcpm.yaml big-endian: $ref: /schemas/types.yaml#/definitions/flag diff --git a/Documentation/devicetree/bindings/soc/fsl/fsl,rcpm.yaml b/Documentation/devicetree/bindings/soc/fsl/fsl,rcpm.yaml new file mode 100644 index 0000000000000..6c6cda7f2b220 --- /dev/null +++ b/Documentation/devicetree/bindings/soc/fsl/fsl,rcpm.yaml @@ -0,0 +1,91 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/soc/fsl/fsl,rcpm.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Run Control and Power Management + +description: + The RCPM performs all device-level tasks associated with device run control + and power management. + +maintainers: + - Frank Li + +properties: + compatible: + items: + - enum: + - fsl,ls1012a-rcpm + - fsl,ls1021a-rcpm + - fsl,ls1028a-rcpm + - fsl,ls1043a-rcpm + - fsl,ls1045a-rcpm + - fsl,p2041-rcpm + - fsl,p5020-rcpm + - fsl,t4240-rcpm + - enum: + - fsl,qoriq-rcpm-1.0 + - fsl,qoriq-rcpm-2.0 + - fsl,qoriq-rcpm-2.1 + - fsl,qoriq-rcpm-2.1+ + minItems: 1 + description: | + All references to "1.0" and "2.0" refer to the QorIQ chassis version to + which the chip complies. + Chassis Version Example Chips + --------------- ------------------------------- + 1.0 p4080, p5020, p5040, p2041, p3041 + 2.0 t4240, b4860, b4420 + 2.1 t1040, + 2.1+ ls1021a, ls1012a, ls1043a, ls1046a + + reg: + maxItems: 1 + + "#fsl,rcpm-wakeup-cells": + description: | + The number of IPPDEXPCR register cells in the + fsl,rcpm-wakeup property. + + Freescale RCPM Wakeup Source Device Tree Bindings + + Required fsl,rcpm-wakeup property should be added to a device node if + the device can be used as a wakeup source. + + fsl,rcpm-wakeup: Consists of a phandle to the rcpm node and the IPPDEXPCR + register cells. The number of IPPDEXPCR register cells is defined in + "#fsl,rcpm-wakeup-cells" in the rcpm node. The first register cell is + the bit mask that should be set in IPPDEXPCR0, and the second register + cell is for IPPDEXPCR1, and so on. + + Note: IPPDEXPCR(IP Powerdown Exception Control Register) provides a + mechanism for keeping certain blocks awake during STANDBY and MEM, in + order to use them as wake-up sources. + + little-endian: + $ref: /schemas/types.yaml#/definitions/flag + description: + RCPM register block is Little Endian. Without it RCPM + will be Big Endian (default case). + +additionalProperties: false + +examples: + - | + #include + rcpm: global-utilities@e2000 { + compatible = "fsl,t4240-rcpm", "fsl,qoriq-rcpm-2.0"; + reg = <0xe2000 0x1000>; + #fsl,rcpm-wakeup-cells = <2>; + }; + + serial@2950000 { + compatible = "fsl,ls1021a-lpuart"; + reg = <0x2950000 0x1000>; + interrupts = ; + clocks = <&sysclk>; + clock-names = "ipg"; + fsl,rcpm-wakeup = <&rcpm 0x0 0x40000000>; + }; diff --git a/Documentation/devicetree/bindings/soc/fsl/rcpm.txt b/Documentation/devicetree/bindings/soc/fsl/rcpm.txt deleted file mode 100644 index 5a33619d881d0..0000000000000 --- a/Documentation/devicetree/bindings/soc/fsl/rcpm.txt +++ /dev/null @@ -1,69 +0,0 @@ -* Run Control and Power Management -------------------------------------------- -The RCPM performs all device-level tasks associated with device run control -and power management. - -Required properites: - - reg : Offset and length of the register set of the RCPM block. - - #fsl,rcpm-wakeup-cells : The number of IPPDEXPCR register cells in the - fsl,rcpm-wakeup property. - - compatible : Must contain a chip-specific RCPM block compatible string - and (if applicable) may contain a chassis-version RCPM compatible - string. Chip-specific strings are of the form "fsl,-rcpm", - such as: - * "fsl,p2041-rcpm" - * "fsl,p5020-rcpm" - * "fsl,t4240-rcpm" - - Chassis-version strings are of the form "fsl,qoriq-rcpm-", - such as: - * "fsl,qoriq-rcpm-1.0": for chassis 1.0 rcpm - * "fsl,qoriq-rcpm-2.0": for chassis 2.0 rcpm - * "fsl,qoriq-rcpm-2.1": for chassis 2.1 rcpm - * "fsl,qoriq-rcpm-2.1+": for chassis 2.1+ rcpm - -All references to "1.0" and "2.0" refer to the QorIQ chassis version to -which the chip complies. -Chassis Version Example Chips ---------------- ------------------------------- -1.0 p4080, p5020, p5040, p2041, p3041 -2.0 t4240, b4860, b4420 -2.1 t1040, -2.1+ ls1021a, ls1012a, ls1043a, ls1046a - -Optional properties: - - little-endian : RCPM register block is Little Endian. Without it RCPM - will be Big Endian (default case). - -Example: -The RCPM node for T4240: - rcpm: global-utilities@e2000 { - compatible = "fsl,t4240-rcpm", "fsl,qoriq-rcpm-2.0"; - reg = <0xe2000 0x1000>; - #fsl,rcpm-wakeup-cells = <2>; - }; - -* Freescale RCPM Wakeup Source Device Tree Bindings -------------------------------------------- -Required fsl,rcpm-wakeup property should be added to a device node if the device -can be used as a wakeup source. - - - fsl,rcpm-wakeup: Consists of a phandle to the rcpm node and the IPPDEXPCR - register cells. The number of IPPDEXPCR register cells is defined in - "#fsl,rcpm-wakeup-cells" in the rcpm node. The first register cell is - the bit mask that should be set in IPPDEXPCR0, and the second register - cell is for IPPDEXPCR1, and so on. - - Note: IPPDEXPCR(IP Powerdown Exception Control Register) provides a - mechanism for keeping certain blocks awake during STANDBY and MEM, in - order to use them as wake-up sources. - -Example: - lpuart0: serial@2950000 { - compatible = "fsl,ls1021a-lpuart"; - reg = <0x0 0x2950000 0x0 0x1000>; - interrupts = ; - clocks = <&sysclk>; - clock-names = "ipg"; - fsl,rcpm-wakeup = <&rcpm 0x0 0x40000000>; - };