Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1033947AbbKFWEw (ORCPT ); Fri, 6 Nov 2015 17:04:52 -0500 Received: from mail-bn1bbn0102.outbound.protection.outlook.com ([157.56.111.102]:5908 "EHLO na01-bn1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1030298AbbKFWEs (ORCPT ); Fri, 6 Nov 2015 17:04:48 -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] arm64: dts: Added syscon-reboot node for FSL's LS2080A SoC Date: Fri, 6 Nov 2015 15:48:49 -0600 Message-ID: <1446846529-10613-1-git-send-email-German.Rivera@freescale.com> X-Mailer: git-send-email 2.3.3 X-EOPAttributedMessage: 0 X-Microsoft-Exchange-Diagnostics: 1;BN1BFFO11FD041;1:4w0zkqDYY+7CQZpnG7/lECu8Z9SGz1yKAnW9cDCSgCSr1ItFvz5dj3Zm7PqmgHFtWveV7yCV/l5vYyYXPVnC6Ax+VtepFzRJyYduU2rYXbwoPCG+BIXmLbh0uJU3J+Pho4TmLxBd4RfnvzHUmp5U+/9QJE4rYVR9hVq94CDNxnHiNYkDiUnD2vsH1FmMlyijB6sKx+if5gdLKevOmRWYWgTLJcCY5/kDiuBwwNXIq1lNUztdD6cXDAfKxINw2XBg3KyedcEseZAbI488MYZyTQXR2NXBcsT8732lM0h4dbchDdisNPneLY4wH14wHDCZLa9Caf4Erri239xEDN9oUXN0LbgGCX+Txqx2vwV3ppvechjNZPhZMjhW37+rXadpR3CVXs7PyFYw0DfYN5GO4w== X-Forefront-Antispam-Report: CIP:192.88.168.50;CTRY:US;IPV:NLI;EFV:NLI;SFV:NSPM;SFS:(10019020)(6009001)(2980300002)(1109001)(1110001)(339900001)(199003)(189002)(106466001)(104016004)(105606002)(11100500001)(19580395003)(5007970100001)(229853001)(36756003)(86362001)(2201001)(50226001)(50986999)(6806005)(77096005)(5008740100001)(48376002)(107886002)(81156007)(4001430100002)(97736004)(5001920100001)(50466002)(5003940100001)(5001960100002)(87936001)(92566002)(5001770100001)(47776003)(85426001)(189998001)(19580405001)(2101003);DIR:OUT;SFP:1102;SCL:1;SRVR:DM2PR0301MB1312;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;DM2PR0301MB1312;2:rsyWA+3Ur+mnWLWhRVDrqxgS+r4+1/IDy14d8GfN60RyvhWOhHTMKP9Z9nmp5lYlkBwMyCLwhsa4gOkJ3rD3deBQ7ZokSnv6xFqVfk0qNdvDPf/Ija1eceFLuq7aVDKpj5kFytRcxpXlfLL2Z+TgwWgPTKiR2XGLiS5oD1SIXpU=;3:shngxtpWp0wLSzO4od621ZqakLZHyUT8AvglYV/aeCsBF+AcnwTbxcI9y0Ag9qxmaONan3hVjglX120CGE27Om9HEkuLdwWxm6cm8ttQVgE4FNTqpn5hp0xcenir+srz8V9lwr19Q20n1pwwj9l7GPPlg5zx2u/QsOKeYVEo+dkbJuEDjxWZbMxI0CsTLQobYHjZ95+CP3Aa6ZqA6nCR2mKhuWKbWRxmkJv8/+GOV7M=;25:GhRT+HiryLOMoX/OdxwYUz5WoLH721XIPije9f4GarmJ1d9+ZoELFVpbltjZ1DzxYlxB9jrrgj8aTj6R4r9gOCFH4ltNApxN62wsD6ovVqir6k81ZgaqWfYVffO1D1xD2ZyMAvIYh7jjE/j8whlxLwvYNYR1xU/IQGiBlz+7kgMLXvJY9F/zfoti1iwEvDfHG3UyX1MrQLnz9FNyUApfFy3iUB1wU5b5XjI+zhCwNMIgoU2YeX5/gLw4gW35pZMh+fPHkKSmyHoqN86UlZ+8zg== X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:DM2PR0301MB1312; X-Microsoft-Exchange-Diagnostics: 1;DM2PR0301MB1312;20:p/8HRMNj59GIIqholGmlrLxTN/wsIW9jalnxu+rwyfOB/+wy0x5L64f8AiPXdL5ZpBprMhsVQ6Iqkxtrf5aVtQ0PllJW8ORHeRYfdG7E4iJZnNZiPtPKuvQtUsFWfQsLhSeZuUqg+LrxWADnJvjDAv/GgYeyDnv/O2PxVJUFAtsHcoKQw2ax7fD35mphCvNMyX+Bm1H9GzBuwNoEMfRFG45XjKflcnxrZYf2kOETIIUzDh945tr8ndawIS8HU2/tqqZd7FyzxNcywJq2PjTXKUS3qWlwgAK/Ijc5hOTdq/N4SoCXkjlcgn+D1y3FcKz6B+ahTi/YX71ZtK4cUekf3BgHVK8vMQyWn+5ng1M/86A=;4:k2WUkEmZx2+PYkuZuHNHgr4iXuvUIqekqE8IqLthSRG/rvxpJ04MC36jHhQWsJXtL5rUBJb/0YTH98NSvrWYV+iCTv5ym71IStMtspx3Zivy9PHMJUopwkP00cjQdyF2f5nm2N4s/+uBjkxbeGiWW5wzhnwjfnbftGc4wSLCN27hwq7wTEXheJaWpiuPL0j+i2Zl2uEZWFGsuVIDNEqJkdhF3r6CvHtmV4NafStvT3yM0HHfTmHheQvdfGF2MM1paT4WH7FgR7CczDrzWsTJuqUHMOhduG5k7kX+sRV7Q/E7SIC5wOuqlxkCnI0UeR+zap0/w02os49TIQfPmUZkHyTBrCNgRixwo/dzZN8a12kCd3Q+DH/T/NzBby4BIOiC 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:DM2PR0301MB1312;BCL:0;PCL:0;RULEID:;SRVR:DM2PR0301MB1312; X-Forefront-PRVS: 07521929C1 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q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2am6iPAkYhU?= =?us-ascii?Q?lCEJPjC12r6XkY6AMC0o94X31Gtzzs+4S52tAUjsiNA3m0fZt9H+FDceQsbA?= =?us-ascii?Q?MDI/ohUniFeEEiatQiRmiDsFDyq7jHxyh2T6TEgOvZ2cjYtnA0vQ+P1sijiD?= =?us-ascii?Q?1RDSqiDg5Afqjj4oTc7X+84lelk4W4OG0BMTuoF+EWw3jAwmlwOg6gjkPu+V?= =?us-ascii?Q?SrYia8+tMyWi32XCvqGjG97QYBdzb?= X-Microsoft-Exchange-Diagnostics: 1;DM2PR0301MB1312;5:Ty+FTFmjrm4alVVtfc+d5bftWY+xrWkH8qQEhOBnAuEl8cT3OdpnqjkP6QD8iCmPLt8PmawhdBRdGWRfYmLGU+XgnOXmxPz7lpjeRDGo/TBOWRZiBsVsGSunYG6zuTV9a7Xwpdii2Rjw/nk2+ISk4g==;24:n52Aytk4vOwr8gFo4zegsqH6H0ASgmQoPbmHIs/jaFhJgK269y/E+/zuOYmV/WqS1RaibkVSsLv9BL9ZV7ocok8fYUK4nn6huH3GTTOaTdg=;20:l1RUQ9vTLlGWSAzOhPdz2O0JzRdk/62OOoPjAHKrR39Y7CiC/ayftddvmJkDnGVBCPu5W+jEBhxJqLi64AnINA== X-OriginatorOrg: freescale.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Nov 2015 22:04:43.7682 (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: DM2PR0301MB1312 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1810 Lines: 62 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. CHANGE HISTORY: Changes in v3: - Addressed comment from Stuart Yoder * Fixed commit message to refer to LS2080A instead of LS2085A. Changes in v2: - Addressed comment form Stuart Yoder: * Removed "@
" from reboot node Changes in v3: - Addressed comment form Stuart Yoder: * Expose only the reset register 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 Signed-off-by: J. German Rivera --- 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..a790a90 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,ls2085a-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/