From patchwork Mon Feb 8 17:59:10 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Suravee Suthikulpanit X-Patchwork-Id: 8253731 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 6FD289F1C1 for ; Mon, 8 Feb 2016 18:03:43 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 93A03203DF for ; Mon, 8 Feb 2016 18:03:42 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id A5FEA203AD for ; Mon, 8 Feb 2016 18:03:41 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1aSq8U-0003XV-6X; Mon, 08 Feb 2016 18:02:06 +0000 Received: from mail-bl2on0055.outbound.protection.outlook.com ([65.55.169.55] helo=na01-bl2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1aSq6Y-0000FK-5P for linux-arm-kernel@lists.infradead.org; Mon, 08 Feb 2016 18:00:09 +0000 Authentication-Results: kernel.org; dkim=none (message not signed) header.d=none; kernel.org; dmarc=none action=none header.from=amd.com; Received: from ssuthiku-ubuntu-lt.amd.com (165.204.77.1) by SN1PR12MB0446.namprd12.prod.outlook.com (10.162.105.14) with Microsoft SMTP Server (TLS) id 15.1.403.16; Mon, 8 Feb 2016 17:59:38 +0000 From: Suravee Suthikulpanit To: , , , , , Subject: [PATCH V2 05/12] dtb: amd: Misc changes for I2C device nodes Date: Mon, 8 Feb 2016 11:59:10 -0600 Message-ID: <1454954357-8395-6-git-send-email-Suravee.Suthikulpanit@amd.com> X-Mailer: git-send-email 2.5.0 In-Reply-To: <1454954357-8395-1-git-send-email-Suravee.Suthikulpanit@amd.com> References: <1454954357-8395-1-git-send-email-Suravee.Suthikulpanit@amd.com> MIME-Version: 1.0 X-Originating-IP: [165.204.77.1] X-ClientProxiedBy: SN1PR0501CA0010.namprd05.prod.outlook.com (25.163.126.148) To SN1PR12MB0446.namprd12.prod.outlook.com (25.162.105.14) X-MS-Office365-Filtering-Correlation-Id: d69fd004-92db-4d34-54ce-08d330b19d25 X-Microsoft-Exchange-Diagnostics: 1; SN1PR12MB0446; 2:2elBkSDnMM2iEBtY67J+BDHu6JdxCIfJ/jBNgkUXyBkL5H+bqNxcxtCTk8wFwbFEsT4hGTPvtCuXw6YF/YFDqRmq1z1XchPPbTVTmVx2mM240kuHuJMxy4nju0JABN0bRh3F5ADgFI6hQzMlB1AxsM6s3jPsz2lASLMQqBTrp+xerEnYEXPEebzC3qFURZpk; 3:1TF9IpMJYjdRDlrllJN13GcgYcMTiy8q4dKFgABb1dj8pAdK0X9BnjPUBwBgU1m9/P9yWplqMHAA00aJtk1UJQATg1H60L3UC+N5EqeK5AA6FCwM4QeicWff1eoJTMmX; 25:QL6Gp3LHTOQhkfMxhHhdlXv+l/vG8VAEJM+4OJUibsWkRGhAvKlrZYfP791ztQY+f23Apd/Ejyk7sL4xxMVs5wzgMfO/on5dU/LaeIzlGXYsM9BB3XG1WwqVJNJuuKwCPxDhz00jbSdCo+Tqecy5KDa/lRJ2WswI+5VEumsXoOEnFpdpFqeqjxweqr5zTCT8kbI9EPb/9QA6T3on6HqxXFQ1j3AkkIf675HNZewIE+keupV7KHd4+2nvJ1Mz3IzUN3gQGtntDNXWjAc7luiNRPnRAKNjlpT0IdedKlo/FzilKLz8RpzwMAmhAOcbdwV6 X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:SN1PR12MB0446; X-Microsoft-Exchange-Diagnostics: 1; SN1PR12MB0446; 20:ff05/XE6N6wzbnl1tOV+yrDndT/y56OYLZdx0CEEC0hi/cM1sKDoCKc7ioPdRPH5RHsJZfhgvP+3PhZA2r6BYqsAYK56q4jUhxob9JpQCmSgeXztrEdY3mgKo+Ov52W0gzUl1xUneclnQKhIfkjEAhZEsMq7P4qvswkPGjUvl/n084A4H8qJ9syQKpkESIXBsrT7QFKqOlJmIeJ0aIb52vJE47rLrW49X+uHHtZpiidXzVX2YANjYJhnCs4YYhjsPv1mfYLilRi0XtjFrJ3c2lXlEU85ToLdPiUgVPi94hAtoEwfcT2/VAJyWyFHShf3FjeIMr/09OclFb0CJ229kAJclqsxF7iFselH6rBDvGWdL0CjNQ4TuZ6VAn3KR2u+2kfALaS9h9vdIK8kopkOdI2UWh0ecJvjUZB6YZqGILqu1MKq/XivnF9MwINql2B06Bkl7+E1qSllL6uT5jPAJm8V7YA8FxsM0N9kM/OYDx99kLmBu8Sz4H/tB53EFkvx; 4:/Q2LWwN3MKmG6Mf/GokEGFn31UbmPhycCUFBoToBo5lqsfTC0WUEct7V6LWljlJzpJUhLXu+4OrgdMQ3WZovJeNRxxR1Jh98TPWk0oz6MWMJqxxnqfPoxtp3LGTEVDb/6cliQGbpxi+/Q2bCBGC+xdnBHB9jjxuMyNhZsoQKV2OCFGb1RfC7KFrwKBATH+UN4JDeAzM65t0KOhsiwEh++rUEExg7dF5D9CPNieJ3uNgDuWAv1c2U8XEewjJrg0+RLJvbv6swQ+/QGvZN6/lHhLZ1eklX7EE8JWaoJIFkynimpFojxqARYwlETWlPEEX+YK1M6NC7LMM+HR8ODJQ/v1+b4R9t0vo/YY/SwX1fcZZukF5Rjy3ZpAMrl5OI/CK0eU/tQIVWjyA4kj8L2p1ep6mnBc+ilRvhtWfSyfbSt48= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(767451399110); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(5005006)(8121501046)(3002001)(10201501046); SRVR:SN1PR12MB0446; BCL:0; PCL:0; RULEID:; SRVR:SN1PR12MB0446; X-Forefront-PRVS: 084674B2CF X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(6009001)(77096005)(50986999)(76176999)(19580405001)(122386002)(86362001)(66066001)(19580395003)(42186005)(50226001)(87976001)(189998001)(53416004)(5008740100001)(5001770100001)(6116002)(5004730100002)(229853001)(5003940100001)(47776003)(586003)(3846002)(1096002)(40100003)(48376002)(2950100001)(92566002)(2906002)(4326007)(50466002)(36756003); DIR:OUT; SFP:1101; SCL:1; SRVR:SN1PR12MB0446; H:ssuthiku-ubuntu-lt.amd.com; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; SN1PR12MB0446; 23:bYpVFYpe4K4Th69Tv8SUgOmdrp1cmfsRHWCfI1k5z30FOYjOxl0W+NMTBGDS7lgzkwpw25uMf5VPn4oIB5z8jVqV4FmF5SWPmmZQyDqyGC1A0tuA0PbwDygnfWmUZq8AO32mBnuKp92eQmSB0AUvcULrXYQZ3RPEJPd5pici6uPXE9TzSwZaXGhyvpfaDkXgowqulz/4mzhZyJdpZa1TrOsrjsEfqI1LgyPX/4NS0tEz4FqTXikXQ4BwVLBiuVGjkjWPXypcVd/vdobVrMXA28bdDQZdoDoRarea9J95YeMsfvcJ2fnnDohEs7lj+M57iXd3iOmeXnsInqRRyyA9VHgnRto9vpZSHpySC8Bc0q6k7MDPzoAP6QD2f5ywUPZOt0ThligUGX6xUbxOBDKeYa4mGpNLORQaS7uiiFNOnS4BR2puHBQavbjrqBadMYVfCSgwH7FmcLG4KEhPVx7iEXX0xBAwR86VlZok34DScLAW7NGjOM8sIrXxMvFReH38DdgH9u50U/unGn05oymoBoqLLAwv1W4o6+ThKjrLciO4KDM/iV7OLVr+eCwvLc40LZBZm6tmHdBs0L759eUogwxwm9qRoeoEQ9iZ4Fz/TQpJhl7lq2skTUYPiYVYf8Zktw2DM6a0vOPPM3PeyP9RJnhsWFY0iu2NEKQeAIEFyPLKLNN5Xcg4KKlogPlSTNtHM6mFaN+8COM8P8MIvnGKW5ZF8tWXbmZ7coPlQTXdxLCW9N9XkUvGmyuY9jsQe7FABYkS4xoZfWX/hdncb8Gv0SHRNw3JtCwe1Fs2XeVIHdbyTQN0MDpZo/rt2738YGvzvD7WvASM09ZX+9ILpI7NSY2bzKdQQHZ7sqpwC53QRKMVK5DvlNv4AAgkXfCKeOTa/vXUMMxwypYz3s95mell2w== X-Microsoft-Exchange-Diagnostics: 1; SN1PR12MB0446; 5:8cmD7dUpsgi1bO/BRCCLr1qfj5YXAuqkLDTj2JWatr5s7i/gs9tNa4LpuWaOo/4j4vNsZEdZ608822OCevL41rv4Q4/q2W8qHEU6uBid+91Dmac8+/Slri5OubPg5TaOeOpvLzwPJokvzsPDr/fZ/w==; 24:K+vuY/FbpIwR+iV3QobYVcBgNXEXT66ZiJaOp/6rwlrtt9LiricwDPS2WA7MNl2utZLMDfqHzDGGuVZLSecCXgclW6SNUL1JC25cfx8s6ZI=; 20:FM2M+LvyjED8FuNVeNMpGgcdxtOTxgawSbTcDlh5r3v/4VLHkGAPh0WaAXhoLb0XKObzVaBbmdnPj2C3CKN8FboSQs9j+YT6rgIgUs0v/lGmfICweKO0Yuc0/2M20pbO1NuRs2AWJ7DNS+v7T43tat2sE1K4Y9T8nj6u7ug8IT3ZcFXuAsltXRGLk7xV3VVrzcvzTHErpSoWjSGJNm0lJA9ADc0FN2ZaVnbYSi4iaAzm73ZlEM7GvDhNkHTogzd6 X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Feb 2016 17:59:38.1466 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN1PR12MB0446 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160208_100006_779793_D950CACB X-CRM114-Status: UNSURE ( 7.19 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -1.9 (-) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, brijeshkumar.singh@amd.com, thomas.lendacky@amd.com, linux-kernel@vger.kernel.org, arm@kernel.org, leo.duran@amd.com, Suravee Suthikulpanit , linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.5 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Suravee Suthikulpanit Add new i2c1 device node, and fix the incorrect clock frequency. Signed-off-by: Tom Lendacky Signed-off-by: Suravee Suthikulpanit --- arch/arm64/boot/dts/amd/amd-seattle-soc.dtsi | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/amd/amd-seattle-soc.dtsi b/arch/arm64/boot/dts/amd/amd-seattle-soc.dtsi index c7c759a..4be36fd 100644 --- a/arch/arm64/boot/dts/amd/amd-seattle-soc.dtsi +++ b/arch/arm64/boot/dts/amd/amd-seattle-soc.dtsi @@ -77,7 +77,15 @@ compatible = "snps,designware-i2c"; reg = <0 0xe1000000 0 0x1000>; interrupts = <0 357 4>; - clocks = <&uartspiclk_100mhz>; + clocks = <&miscclk_250mhz>; + }; + + i2c1: i2c@e0050000 { + status = "disabled"; + compatible = "snps,designware-i2c"; + reg = <0 0xe0050000 0 0x1000>; + interrupts = <0 340 4>; + clocks = <&miscclk_250mhz>; }; serial0: serial@e1010000 {