Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp7229770imu; Thu, 31 Jan 2019 07:04:39 -0800 (PST) X-Google-Smtp-Source: ALg8bN6IxNoMT/wJe0KgdaN7b9pnRneOqlpWwrnbxoTPPjZWd/CRC/N+sz/R1azMSmmooM6VAe5U X-Received: by 2002:a63:de46:: with SMTP id y6mr31696697pgi.198.1548947079099; Thu, 31 Jan 2019 07:04:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548947079; cv=none; d=google.com; s=arc-20160816; b=YC57hHeoAZwMzcbHAdPNyEI7tJE8hI4WERJ+W64rpCUeLE2Zxnwhx1bqMPPgH2JfEV DAICG3fai8sO99EvkeHoJpoAEg3YuFVXrbKNs8lCHRLgfB83bvqxm9oL/u4L1icFfnYI R5kHnHfL0m8v/XrMhvINzTEcuIRC2WEtaUrNajwmx7oq17Ca4x/Cw5HZnts7pjm7BR9H Aue7m+MZGWVVHIaBDqAeZ5K3y7v4uViGigpS6nH04QnGHezd8N4gIqZSBAqiLZwJfwCb WX8pOKYFHpNcr+XVM38NKcQpVkTnXgVGGWC366QlXu0jtNXmCdr/rhFihS7Vsq9sSUNk Fdlw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-language:accept-language:message-id:date:thread-index :thread-topic:subject:cc:to:from:dkim-signature; bh=MuQOZWGsRr7rS+oYAqGc+QrgYSxz3R3vO2uWvbsVWUM=; b=mD2RjNEZmryTta/AtjoO5cn9qVQjJZSSRhfBJ5ghW83TlMDy9GOqhl0WhpDTpAwwme Velk3zd1BIXF36ceW4nsiIcPDD+xhNukFpAIa1s0Bu4w9yPSdSoC0eSMWEuyyceudsus 29ceofruCCGj5XWvtYENt/RN3/lQ+FfyXNXoFCsOphy79FtNi+SLg+giBiua9eOVM3zM rvjPybUM2OuWDU0vqh9oeBvAUgJk9K1llCh4kuvyAbhGWH4bq00CiVDQWyskKalj+btL aYQy21d9FwiyuuLWY7c8FTdBfusqBuAPS12s94tfFIKOJWeRF2DKzjZJnMQ6T2GPMLWS VB9w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector1 header.b=HVWA+2+x; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z22si2578087pfd.197.2019.01.31.07.04.16; Thu, 31 Jan 2019 07:04:39 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@nxp.com header.s=selector1 header.b=HVWA+2+x; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732138AbfAaPB1 (ORCPT + 99 others); Thu, 31 Jan 2019 10:01:27 -0500 Received: from mail-eopbgr10086.outbound.protection.outlook.com ([40.107.1.86]:17694 "EHLO EUR02-HE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1730283AbfAaPBZ (ORCPT ); Thu, 31 Jan 2019 10:01:25 -0500 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=MuQOZWGsRr7rS+oYAqGc+QrgYSxz3R3vO2uWvbsVWUM=; b=HVWA+2+xuJhsO8EvylaIsBeCmpa3JMKsm1x0nYm0wZMhnGfRZ3SlPOkg+fqCx+GZEHt4hULHbrXHEF2G71ZhqyDqH30L6DMZnGmI05IKzvXl6zGh85nPdY6LshCrbDPbyy1gu+0J5dKw0QYRhQi4cgALSagcJWPAc9qe+0FAUEU= Received: from VI1PR04MB5008.eurprd04.prod.outlook.com (20.177.49.225) by VI1PR04MB6270.eurprd04.prod.outlook.com (20.179.26.206) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1558.21; Thu, 31 Jan 2019 15:01:22 +0000 Received: from VI1PR04MB5008.eurprd04.prod.outlook.com ([fe80::2d2c:455a:16e9:cd4f]) by VI1PR04MB5008.eurprd04.prod.outlook.com ([fe80::2d2c:455a:16e9:cd4f%2]) with mapi id 15.20.1558.025; Thu, 31 Jan 2019 15:01:22 +0000 From: Abel Vesa To: Rob Herring , Mark Rutland , Shawn Guo , Sascha Hauer , Fabio Estevam , Lucas Stach , Baruch Siach CC: dl-linux-imx , "devicetree@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , Linux Kernel Mailing List , Abel Vesa , Abel Vesa Subject: [PATCH] arm64: dts: imx8mq: Add RTC support Thread-Topic: [PATCH] arm64: dts: imx8mq: Add RTC support Thread-Index: AQHUuXXUGM4Vx5l/AUqyV5hWGw71pA== Date: Thu, 31 Jan 2019 15:01:22 +0000 Message-ID: <1548946870-29037-1-git-send-email-abel.vesa@nxp.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: AM6PR10CA0049.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:209:80::26) To VI1PR04MB5008.eurprd04.prod.outlook.com (2603:10a6:803:57::33) x-originating-ip: [95.76.156.53] authentication-results: spf=none (sender IP is ) smtp.mailfrom=abel.vesa@nxp.com; x-ms-exchange-messagesentrepresentingtype: 1 x-mailer: git-send-email 2.7.4 x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;VI1PR04MB6270;6:MfrPFZQk4idghzeJIk+XoHJTGWJHJ/ys0l5xN9xJJ7ofqKTpbop0EEbPVg4PqK2Am5CALHfs4ge8CU5filt0P4E/Fg5SDDnYrqaUFI7gElcc87nRhR0rVO3JCdjUNJvB4LSnULZe92V3vSVpk+eYGPBMsCe2NQ4scFdWsATQCk6opS489c89PNOvsz2vnJgbDzJBQhJ9eArRC0J0BoBPglpQC3G5hu8ugphHATSMY7RfyTNqWaVu2WKAjoxifjyuS1rsT0cPyfBp6lYyKmbvdyBWxxNfQFlf2ocPEnKJ8LUt24CMzYDI2jyZTdTxsCEmtHckqXteTuaqLv//wlKrGcn/87/MwGPn9VPeIU5RBNvTPn/BVdBvprW3NkW7n1yb8Glh8IZ7jyECD+eN2cnP7eJm1AsZdjpXjgOMRUNuLIa35IYy2WjxOR6XU8KXL0PKsN/D9HxrtHTNg6wZ2JR5Yw==;5:KQeMKQ/IeZnLbayhIQNDPWLxr0Xv3mFULRxEsIsELPN3XbBGFxpCtPW72gYWedfVgDFBx0gpDzHlBL+Bb7Jq5RZs43sGNIt4i96FOGNpLXJunmIID0qT0B9B4uwsK/8vixp1P1L+QAzl43p8FRNILN0ZHxFerBvqZThi38Do69r6D3A/jDUqkxB0H93UUsdyruk+VSV/MzLadPgKmVhR7Q==;7:uEQDZZn8m6mqe1DbHtU/nzv0xlxrbzCg2z7M5ernTxbXwwG0XI71yT0fXdyC0XyqPcoUdQPdxpkRxNsqun3GOzhdswOWKQkcF9Da5v4eSMOLaNF1/hxj5OQUib3U+zy9R0C6ZKyUoKUU5nd/kvCm5A== x-ms-office365-filtering-correlation-id: 5ceeadc9-1af2-49be-61a0-08d6878cf689 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600110)(711020)(4605077)(4618075)(2017052603328)(7153060)(7193020);SRVR:VI1PR04MB6270; x-ms-traffictypediagnostic: VI1PR04MB6270: x-microsoft-antispam-prvs: x-forefront-prvs: 09347618C4 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(39860400002)(376002)(136003)(366004)(396003)(346002)(199004)(189003)(186003)(14454004)(6436002)(386003)(105586002)(476003)(26005)(4744005)(106356001)(44832011)(68736007)(86362001)(71190400001)(102836004)(486006)(71200400001)(6512007)(53936002)(97736004)(256004)(2616005)(110136005)(6116002)(25786009)(7736002)(81156014)(316002)(3846002)(305945005)(6506007)(54906003)(50226002)(6486002)(81166006)(8936002)(66066001)(4326008)(2906002)(478600001)(99286004)(36756003)(7416002)(52116002)(8676002)(32563001);DIR:OUT;SFP:1101;SCL:1;SRVR:VI1PR04MB6270;H:VI1PR04MB5008.eurprd04.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: FWiyzVRj/LuOsln3/ywbIgiAC1WNE04br5b2TSGdK1VWQfNesM4w89sBsEgamnhfQ/JVJaZe97pJ2JuEwF9nN8T6bF9Ei5ZpesMdBxUQwr8lfl9w2eGe0NJXswpwHh8jpyX9DTT5YxA2tpJFBEob4PLsMhpRXq4eFImC+yG0I0cN8t15HfQzO0c73Iw2smeEowLWfm2s937iTFVxJczspkptG+etbjLC2hA+uqF55bWgTegiqN9BFtMrmAl4Ar2EBT7cotCCknafSkKqO4jxd059wbsleB7ipGZ+7VoLPt3o+pvz/MPjhwEKWo0LRxpOM+lViL3mO+gRG0lzcJ7pb18j3Regix/E+HbJ9y1fnws4c2nUm1MxMWfcUSgjCL5Zbl1p6BjfHgog8bNwsubb4M3mnJTWSCzUK3lbFp50WGE= Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5ceeadc9-1af2-49be-61a0-08d6878cf689 X-MS-Exchange-CrossTenant-originalarrivaltime: 31 Jan 2019 15:01:21.1029 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB6270 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add RTC support for i.MX8MQ. Signed-off-by: Abel Vesa --- arch/arm64/boot/dts/freescale/imx8mq.dtsi | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mq.dtsi b/arch/arm64/boot/dt= s/freescale/imx8mq.dtsi index 892063a..49b14af 100644 --- a/arch/arm64/boot/dts/freescale/imx8mq.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mq.dtsi @@ -240,6 +240,20 @@ interrupts =3D ; }; =20 + snvs: snvs@30370000 { + compatible =3D "fsl,sec-v4.0-mon", "syscon", "simple-mfd"; + reg =3D <0x30370000 0x10000>; + + snvs_rtc: snvs-rtc-lp{ + compatible =3D "fsl,sec-v4.0-mon-rtc-lp"; + regmap =3D<&snvs>; + offset =3D <0x34>; + interrupts =3D , + ; + }; + + }; + clk: clock-controller@30380000 { compatible =3D "fsl,imx8mq-ccm"; reg =3D <0x30380000 0x10000>; --=20 2.7.4