Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S966239AbbKGByM (ORCPT ); Fri, 6 Nov 2015 20:54:12 -0500 Received: from mail-bn1bn0103.outbound.protection.outlook.com ([157.56.110.103]:16811 "EHLO na01-bn1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751535AbbKGByK (ORCPT ); Fri, 6 Nov 2015 20:54:10 -0500 Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=freescale.com; freescale.mail.onmicrosoft.com; dkim=none (message not signed) header.d=none;freescale.mail.onmicrosoft.com; dmarc=none action=none header.from=freescale.com; From: "J. German Rivera" To: , , , , CC: , , , "J. German Rivera" Subject: [PATCH v6] arm64: dts: Added syscon-reboot node for FSL's LS2080A SoC Date: Fri, 6 Nov 2015 19:38:13 -0600 Message-ID: <1446860293-7145-1-git-send-email-German.Rivera@freescale.com> X-Mailer: git-send-email 2.3.3 X-EOPAttributedMessage: 0 X-Microsoft-Exchange-Diagnostics: 1;BY2FFO11FD048;1:MXRPl1eOT/8pBRPqKQGBx7M5EUAXUjR/UOSmb9MnbFizBV6Zqb3DmE7c5ihG8re5G9KcjtLoj6KcQNRDz9+hwVUL16Kt0fInM98zXKr2VDF8Ws70mq0mI9Iia00/fcPv+CLT8pe4U3TGIlDrdHthXtgjxmMVUl51ACuGeNwnSWBOxelhST2dtsWIIBwlls6u5tDUBOhXAT+3R2j1yQDdYoL3T3+5LKU+7ZgAanHNINaDfadcZxdjltG2wx0qSowOvkgW08AjJ3txl43GhFdK0HMxcTh/mHZamSvROd23dCVO/Yx83iM7OL3nxIsnPqU2s3CSWWAcLeHGAC1x5JVcBHtuQpkT0Qqz5UgmR4NmU5iln6NQreBL4ErL0hb394yPYRaAIezIKTCGboEH+1C2xw== X-Forefront-Antispam-Report: CIP:192.88.168.50;CTRY:US;IPV:NLI;EFV:NLI;SFV:NSPM;SFS:(10019020)(6009001)(2980300002)(1110001)(1109001)(339900001)(199003)(189002)(5007970100001)(5003940100001)(50986999)(189998001)(5001960100002)(107886002)(77096005)(81156007)(4001430100002)(87936001)(86362001)(50226001)(5001770100001)(97736004)(106466001)(85426001)(92566002)(2201001)(104016004)(105606002)(36756003)(11100500001)(48376002)(229853001)(47776003)(5008740100001)(50466002)(19580395003)(6806005)(19580405001)(2101003);DIR:OUT;SFP:1102;SCL:1;SRVR:BY1PR0301MB1301;H:tx30smr01.am.freescale.net;FPR:;SPF:Fail;PTR:InfoDomainNonexistent;A:1;MX:1;LANG:en; MIME-Version: 1.0 Content-Type: text/plain X-Microsoft-Exchange-Diagnostics: 1;BY1PR0301MB1301;2:tFdvZvq1zInDOcndJHS112XsILjuTDuYy1NLHJibEUXZevnEh0DzciM8DEfxsXyXTv73eJcn249mWoyGJ00dgw1dRSJNrkMT4XGoYLA+q8S3I/PNPCRrJr8dyGTowpcTwQ2/N1VX+YQt2yFpnT8G94v67nrylpG6kML4U659Jvw=;3:8hrcItmHYap/RY7K4xbIhJvm1VZEdr9Yqy+IlJ/8e1kRgBMTg0zmdCiBVzJDwD8Wm5555r4Oy1fOLwuiLOZ8UTr8adrmazgci4Db8VQfY3YJHSbMXc/Q9gvffov5Bc6rRJmjq/qfH1U6hnrBuU6pz2sN0+HwXzLdcQg0elvzXl+JKBrn3FkWihI4R9+MdDFtVubjAncgxnFfeZEZf2zo7Rtj656Zeb5DvOjaf7bIRTo=;25:qEWQOJF532cyYDiqMl4YIjUSELuLeixvQf549dPpEmgNIdjT2haPUkita5uAv5Fcsria4uk1mH+dr6sLsKvXoefpQKryY4Q38C5vxVI8Fy+JZjG++1KTgtXc31FWKTILIBEeT4WcO8/fYnyQxoH4TKWemSTDUamV1QFVaVsuOS9XUtcEk69+UHSN0ciTH3srdGQQOFg+boUcIrelIkNJGFt6pkE75sHXMepF8ST+wLDuBhtoXz1r6GD3UggfR4yhIDKW0DyErdSSle1yhiHHjA== X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BY1PR0301MB1301; X-Microsoft-Exchange-Diagnostics: 1;BY1PR0301MB1301;20:FZigVGZqWLRfcaoqQcFd7zB2Hx9CRB2iLW3grTEpWca+X6IF/dEE4xiF14ypfZ7ZwfNF8/8RNhAvSN+MPpE5zi02wETtboT3GVfk3xbd7hiGNXXdQEKMY1HiD3OsTWgXrRKJTH3gQ3kkPyD/FCMKLvIgVC+2YxEZMbV5LQZ9MBsK5oG5dDWu5VqkXUcndy+nIFzuH7AbulLhped1XrzG/jkJhJhUNguVFdriOHNijsgQdA//pO8ze0dozx7XKaA61hGIHmrOP2r3RebZprr7w3wKaLcD/y1Mh6tfTYA92CXFLLHrxSfS68H5URtS6GfHzp+5IIkns1TOUJXHcsnStaZxG1Kicjh4FoxfZzGWPLk=;4:GrBwkMLJSt4Yb+z5oqH8Vz5cHSe55lFurpeNArEwkhDYWczuUh7N/4y7Gf+CM9Iex9LCcouyKrq+v1rhd0Dqo0wD3iwgOn0i+xTkCmRPUqofNVQ3Bc3WcTl3IOdEXJwVsKXzbXQpjwGWo/jXdi7H2C57PbCks9FZHAWH/MbENU8v/qBAgw4kKmDXJ1T/xmB3AtSb++arSIN9Mbxw6QmMNnHqN3M8t0JItsY0oAGz10zpGr0AChP+y/mJg5b8PEvOCa9z4L+iV/YTKX667r7EXk1njgGJg9HFGjGJz9Y3xvBZ/IW+jSqu/ipvff6JdZiYghGtsb5Aq9B5dFud+KolQ/ytxu7BMpzEPwZUhwNpQg4wlN754+JnX+pW2i74ts5m X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(101931422205132); X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(601004)(2401047)(5005006)(520078)(8121501046)(10201501046)(3002001);SRVR:BY1PR0301MB1301;BCL:0;PCL:0;RULEID:;SRVR:BY1PR0301MB1301; X-Forefront-PRVS: 0753EA505A X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;BY1PR0301MB1301;23:jqDfmGrr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K0yQS9bSwEWUS/3fePw8IWpBmZgLUnabhzP2sybPx8WpT9nHprURpB9PYRM?= =?us-ascii?Q?ekAR9JZuPqytQEBH/XrLhxNYA0ikG1o2efumSUBIj89qiX65C/UqvHNo+HtP?= =?us-ascii?Q?kIbSJ/qGBs4xwNoPBGMMGtz3FzWZWz1313RrJ8lg4FC76HaFc9Gt06HEJLLL?= =?us-ascii?Q?jOL/ppsQ=3D?= X-Microsoft-Exchange-Diagnostics: 1;BY1PR0301MB1301;5:x+WgZrif0CR/Cx85y4WkXEwD8uEmfqTrciR0rzq4OMW2A23CRi973WsAiOvtcWYtHWMNg/Okwm7PUQlFaJMS0Zb4k4+kP56cregyoGuGOwuIwAbrsbZGYct2t9SAGi2MQEJhT6t5qlyBpIinB48cqQ==;24:6iNR40gNRPLMODfPQqo4poqMW/JqwCz9AsJfISWX6YV3hh1/NuCg/QO5emmcBXlg+pEi3URvQvbr+Crb3eYA3+1UrFlU0+w1mD8EzcHv2cQ=;20:qtFdsPYfwvhBmB0e+YkcTa6TIHDk7bKzqEErl1fElsNYL1guNW+l/17DLQL1fO+wOM1nVMQw1/JsnRTDpjt7Sg== X-OriginatorOrg: freescale.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Nov 2015 01:54:05.4141 (UTC) X-MS-Exchange-CrossTenant-Id: 710a03f5-10f6-4d38-9ff4-a80b81da590d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=710a03f5-10f6-4d38-9ff4-a80b81da590d;Ip=[192.88.168.50];Helo=[tx30smr01.am.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY1PR0301MB1301 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2002 Lines: 68 Added sys-reboot node to the FSL's LS2080A SoC DT to leverage the ARM-generic reboot mechanism for this SoC. This mechanism is enabled through CONFIG_POWER_RESET_SYSCON. Signed-off-by: J. German Rivera --- CHANGE HISTORY: Changes in v6: - Addressed comment from Javier Martinez Canillas * Moved change history out of actual commit message - Addressed comment from Leo Li * Refer to LS2080A in compatible string Changes in v5: - Addressed comment from Stuart Yoder * Fixed commit message to refer to LS2080A instead of LS2085A. Changes in v4: - Addressed comment from Arnd Bergmann: * Changed compatible string to be more specific * Changed node name to 'syscon' instead of 'rstcr' * Changed address to lower case hex - Addressed comment form Stuart Yoder: * Rebase on top of branch arm-soc/for-next Changes in v3: - Addressed comment form Stuart Yoder: * Expose only the reset register Changes in v2: - Addressed comment form Stuart Yoder: * Removed "@
" from reboot node arch/arm64/boot/dts/freescale/fsl-ls2080a.dtsi | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/fsl-ls2080a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls2080a.dtsi index e81cd48..65ac35f 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls2080a.dtsi +++ b/arch/arm64/boot/dts/freescale/fsl-ls2080a.dtsi @@ -153,6 +153,18 @@ }; }; + rstcr: syscon@1e60000 { + compatible = "fsl,ls2080a-rstcr", "syscon"; + reg = <0x0 0x1e60000 0x0 0x4>; + }; + + reboot { + compatible ="syscon-reboot"; + regmap = <&rstcr>; + offset = <0x0>; + mask = <0x2>; + }; + timer { compatible = "arm,armv8-timer"; interrupts = <1 13 0x8>, /* Physical Secure PPI, active-low */ -- 2.3.3 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/