From patchwork Thu Feb 11 03:51:04 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Suravee Suthikulpanit X-Patchwork-Id: 8276471 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 C6C429F3CD for ; Thu, 11 Feb 2016 03:54:50 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 03B4720270 for ; Thu, 11 Feb 2016 03:54:50 +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 11D58202FE for ; Thu, 11 Feb 2016 03:54:49 +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 1aTiJg-00045U-7L; Thu, 11 Feb 2016 03:53:16 +0000 Received: from mail-bl2on0097.outbound.protection.outlook.com ([65.55.169.97] helo=na01-bl2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1aTiIy-0003Th-Rg for linux-arm-kernel@lists.infradead.org; Thu, 11 Feb 2016 03:52:34 +0000 Authentication-Results: lixom.net; dkim=none (message not signed) header.d=none; lixom.net; dmarc=none action=none header.from=amd.com; Received: from localhost.localdomain (124.121.8.20) by BLUPR12MB0436.namprd12.prod.outlook.com (10.162.92.141) with Microsoft SMTP Server (TLS) id 15.1.403.16; Thu, 11 Feb 2016 03:52:04 +0000 From: Suravee Suthikulpanit To: , , , , , , Subject: [PATCH V3 05/12] dtb: amd: Misc changes for I2C device nodes Date: Wed, 10 Feb 2016 21:51:04 -0600 Message-ID: <1455162671-16044-6-git-send-email-Suravee.Suthikulpanit@amd.com> X-Mailer: git-send-email 2.5.0 In-Reply-To: <1455162671-16044-1-git-send-email-Suravee.Suthikulpanit@amd.com> References: <1455162671-16044-1-git-send-email-Suravee.Suthikulpanit@amd.com> MIME-Version: 1.0 X-Originating-IP: [124.121.8.20] X-ClientProxiedBy: KL1PR02CA0013.apcprd02.prod.outlook.com (25.165.15.23) To BLUPR12MB0436.namprd12.prod.outlook.com (25.162.92.141) X-MS-Office365-Filtering-Correlation-Id: c6dda46f-69bd-4fff-92e0-08d33296b78c X-Microsoft-Exchange-Diagnostics: 1; BLUPR12MB0436; 2:k1hQsmIX1As7G+DdWv2oPVSSGxEnA1YaEr5bPVD4dXKyhWZ2QUi50FgV9YL+EshAOoyBKbld+6C+M1MltCmJrR77MFpo2paOU1/THhKRTN1wt0k3OcZ4mC3ya6iZC24BTSHdJfAtypz1oKwhQNHJnFcptVToBJjAHfeVaC/tg5iyIwIakj90VibK4vnDqtgb; 3:8GLS//9mybMLJpYTvcO3DJYNerKVhBqzjbE8D+1D1Ttum4hvKb0FHFli0CKpGC8uv7NxSGTClaLFEh+WCXelMQij0RmVN/5Gy1wGDbZ9H3T32DOaRCcZKNK6n/QEXEbv; 25:jcdXfLp8JdGWDzaXt1WiJ0n6O6hV0r761/On8FJalN2m4tbU8DgU93d0wUWHAW3o0vsiYFmf+u8LQUyOq3BPssvvLC8tqqFzZFVELYoVSkg+e3LDeULCjvZglBYSBpkhjM6Oa4g2qRxdxhRmrgHAt12NU1jFQpdmKlBipBvUBF+6g9FiNgRAvO+7S7MV9tlwhzwd/ZhjSBGYH5qV/FMyn/hCEUOaJNj6CYcZSly0BGWYThQ7maNgM6ioh5OlZ7pr9Y+003Igouiq3n+ch6Z4s3K5BYNh68v3fOs7dhvVD7huxhyacqOogk7l8WdxJzFV X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BLUPR12MB0436; X-Microsoft-Exchange-Diagnostics: 1; BLUPR12MB0436; 20:xF92wjBSRZmHV56I5r0W+HLRRDvEnIIxWn73DXmq2OwqgN2QQotMv/YXnGzl0rskBKbk0hEZp3VTu0i91/pjI20jBa2OZDJV0dFZ9wPd1MM+7N6zvKjW72/4iFVQdxlioTaY10q+15foNDYuLqYw7WyrQlKFgl8HaTPExKYZ0teyd7aIHkmlSqMZ67K5xgFhf5dTtnkrpmRWF01nC8GSSJMMTg/Z805FLWrxnJhyJgleJjwe4uocjDzgsUXjP8tna283lSvMx7MMf8JKgTy9xqHPWlpkB1Ywsy3vhEMZ9Nc+8gFRZpH5jnAc6jo0DkrkMw6sGbJMQDDLOA/MDHAr5VFObFUJGBeL/cX7bzgUD8pWRxoY46WTuEG9/cB/JRxeohuQBH2G5AIwY+jUS4TTcdUD6E0uudps4lINcVS9WChsZ7r0NjFXqTziTpWoJvhWUWkEhaIrhcjVYRwIRhU/Swz5i2d0yBYA6z13BGZIPmcWpdyqqi3/QJcs1gNkk5ch; 4:sxDiMWDe/6PZ5BODOjlE7gafk6BhdUuCsqSOT0IP8+CmZY9tvFNmy9/pM48EVx/yToHj24pkuNQL94LGjUgJ7tZC/CIs/FMo3HXbhGiNznQXTkIbdPQ1ppKbsGJGsEDeiRgWrrlbfh2vSQItx6FsFvfl9bAw/hdr+yZo6KaAfCmSeURN6NbxY+c7oN4UAkhJ25YBwwnWItaL1cj+IOVsPDtv6w0iTYH4ytoSw+hclMyCQy2Yq8W+AI0U9hp5kGetMwJ/9x+9ubWG4CGb5Mxzz9aKtjqEKJbMviL3MzK7Rfkupkn3u8pdR5bR5gNB9JKDR+aVdjqL+ymM9o5MrqdhaY67sN+h4Mmow0wlqXmgYuj5xbfPDEY+3oEHUbuQg39LJxNL2LKzq15CvVW9X9/PbM9rUDhv5xPd6pAZTq/G/OE= 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:BLUPR12MB0436; BCL:0; PCL:0; RULEID:; SRVR:BLUPR12MB0436; X-Forefront-PRVS: 08497C3D99 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(6069001)(6009001)(50986999)(36756003)(92566002)(4326007)(76176999)(19580405001)(19580395003)(5001770100001)(5001960100002)(5004730100002)(5008740100001)(6116002)(1096002)(586003)(3846002)(47776003)(2906002)(189998001)(229853001)(77096005)(40100003)(42186005)(2950100001)(122386002)(87976001)(66066001)(86362001)(50226001)(48376002)(5003940100001); DIR:OUT; SFP:1101; SCL:1; SRVR:BLUPR12MB0436; H:localhost.localdomain; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BLUPR12MB0436; 23:K4xAU8Mt+DPoVTsaeqAfaZpJTg2oGMzALjNltrS4qRQMaVdmoxrh1lCNWcvLBwMjIm0fQs+l/+NARA2Oyu0yxh1saFfJ1nuncF4joWS2jPL7MJP/6pW8EJh5fvAP2ETvkAUPw1Id+R8Re/IGdB02kmKxLYXWZrD36GcWOAlUdoVAb/JnIWMuRIcq/8bInKSVQKa6+iJVjDBBRbmTQs+i6z3br1fyUD0wZHAmdYBtgaRfkc8DV9FPo3lcOdR3VoZZn8lg3HU47eJvfwwTVJu3nTXpFWEXC0vgcn5GapmSGW1Mh+HxFWIRXlHM9JLS2CHL8NtvrU5FWKgN6rjtR8T82ZLpji1JS5o9GJantFoXsBqwdVvsZdcK6ncncDqqjR3UODA3byEvyMN7LwJ1kc6Ktt9zzm9mvm/3HliSKyXsQ+4XwBEWlFsGSVAjSE33yZwRSL5aMLFiVV5SzQwgusOVdv8Dj+j5M/hcSnyWeeor4H0cDNZ3RWXclwHhgHEjGhbnUaDThxjf9EWlLpU6jnCowQyhBUnF4wcb2zChxIFEEp3RbR9Ua8cQ6RdynlnfC2a4SZIAlDR0KBR1TkYUtkJ9U8WyRKY8U+unUErzNzAfDAtHwCR6LsAsp/kPouIq/EsbbJk4bM2iaoapjgZO54bKnevL1RHrm604eWdbBnc5UOIw+Y3vuY8GNA0oYnyRVDmORF4PsH2N2/MrxePJtELqDpSNjfjm4WXOI8JBkor171RAlJ+NaDTHU3WkhwXBvWDKNcCSIqbsj659gH1YADVfubaxkYbdkbDNRim+A+tyPQJLBH4pvM3hlv9/OhZ2hBzBLj6KcHkr3vMvZubQlG7W9dDA1iHO8SolOlfbNgGr5WKePJgobQCgu2nKXNYrCwZUSNo6ZGPMRvvFsIl+5ufpRQ== X-Microsoft-Exchange-Diagnostics: 1; BLUPR12MB0436; 5:9eazBg/Stri5CVTr2LZqD8zQOTAVYO+nUjf0NnezO9EXkhxUdi+6Zt1QB3RbO9s7R22nFNHbkpIfRKtmyNxOWgmEb0wgACWARZehGo7kdO0OSAVUr0udYHRDOpyEcPTWUDSD4N/sFfFWEZH9J5Zxnw==; 24:gm6ve7wFcZR8gHKnHwQHQ0eHwsuTaqqA7yF5J3GYGBX/IOQ4W8F2QybFJNGOWvGeDxov3soO+EhPB2/BFFPSNsXfsOR870CLrdQkVSftfaA=; 20:YVobklyEgQFhJ9LKt1i+9OiS1FeJzJf2FkesOSqqFrJoxxM1MeCou/Ql2BPhoSJ8U68Z8RnP4j7JtTZrklNxFuUV2fRckdNGqy9SdV2HsLFcUmSexqRAYqlbfmKFejBvH8AkaS1p7i7obKCJYonlh8aaNJvCqu1SoQr7sah+9g1jokr5xTuPQss55uWjx1wqooD/Moap9gOcQcBGN58W9XKxyxg9nGw0SLCLq2kRknHtCaecD59g81pJSZ949CtO X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Feb 2016 03:52:04.4202 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR12MB0436 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160210_195233_201779_CF0406C2 X-CRM114-Status: UNSURE ( 7.10 ) 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.4 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 {