From patchwork Thu Feb 11 03:51:06 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Suthikulpanit, Suravee" X-Patchwork-Id: 61700 Delivered-To: patch@linaro.org Received: by 10.112.43.199 with SMTP id y7csp3028456lbl; Wed, 10 Feb 2016 19:52:38 -0800 (PST) X-Received: by 10.98.68.194 with SMTP id m63mr63489485pfi.153.1455162758783; Wed, 10 Feb 2016 19:52:38 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 2si9548022pfa.79.2016.02.10.19.52.38; Wed, 10 Feb 2016 19:52:38 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753610AbcBKDwa (ORCPT + 30 others); Wed, 10 Feb 2016 22:52:30 -0500 Received: from mail-bl2on0095.outbound.protection.outlook.com ([65.55.169.95]:6360 "EHLO na01-bl2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751398AbcBKDwX (ORCPT ); Wed, 10 Feb 2016 22:52:23 -0500 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:15 +0000 From: Suravee Suthikulpanit To: , , , , , , CC: , , , , , , , Suravee Suthikulpanit Subject: [PATCH V3 07/12] dtb: amd: Misc changes for GPIO devices Date: Wed, 10 Feb 2016 21:51:06 -0600 Message-ID: <1455162671-16044-8-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: d2706c82-8dea-4a74-29eb-08d33296be4d X-Microsoft-Exchange-Diagnostics: 1; BLUPR12MB0436; 2:RpaxXsG+jDc/0or0XHaC7amwSyv66M5eoUXq5zr6cq8suk3Jl0BvGd6Z6EZ7Nr+8E1BNZQ2aX6P+eZeP5uCu9jXkwG0BOKxebMFLxmpd5xGby7m8xfiF/UCKnRK18mUDXAeShQHjCavg5N6iAEMuSR81iValhZfPF7fU5fblHbW3UtPhOs66xdXWgLcTkjT9; 3:Z5nIcb/u9vLi6O/Jj1javWduYXx8eToBRy26Xdl5o5lSEs+sxzWYUnNXx+9S2oWY3Ajrj48IXFxK38nRyt/wT2Z09qfUfLtQxy41RbHn7eZ7lIihfVbdjGij51nIT0Fp; 25:Qof9j7HKRuoiL5tKB/ShBdgXuwm9d59x5d6VCPoMYEcqiP4wsKEVgH7Ika0cSPFJMBdpGecKOlr/5UcTwqLEv09I4U09szHi5PhJ2Rq1zzFs6WPwlZNjzpbYfhyvzLv+Kh/TgnUt/OBLqCR74T404Q9YQH6b6uPlC4OyMBufjI0ZJwfYV5Q0FNjp4PTPAbXDo0KBs5hb565fYVtJZpRZ4AtBK8QPhzuX6vSiayPGJdnAhmcN6AZ7bfc6Fo/0AkcXK6U1cO1ib14f96E2HZIxasL+5ltRFrHOhxpV5DP6o2S+QAvXznlzuh5EN5iFpwcT X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BLUPR12MB0436; X-Microsoft-Exchange-Diagnostics: 1; BLUPR12MB0436; 20:YvlvMnBhMgallQGcoviegRI3PKlfS1KliMiVKM1LTRKLsTlZx9dIjoJRadCRnGw1lDuxekXRjOZGQqrwFMdAeO/xMLOl1/p462uS8MAmBot2sCI/Y8ythRvizlJnjcIh3arGjqEcMw/qmwqjb32dtL4umfwOKIHCJbgAbb0sZMb8SlEIen4LT8b3yLgrzSdCfcm/cWzYTy2sFqvGzrXYaNNAV2cnCkNGKCFH/AHCGDi9pjRF9vkjt0SaQZpd4yZQS8X4+Rl+fIn9K1uxFwswhXGzlerJaC8UjH6AhZ5ksUxgShIuVyBOKoRzSdRFwYL9TPKwi3H8fj2X19RRRNifoDBDbto4KI1tuFOIho4Zq44jm2Y/ocrL7tq4Ri/fjFcsNIsYOmcmQjphP90KptigS/LSO1FttWJEE39LfvGat/pN4c/rE6DfX5im4HAcykT80ctPdVSSzqPl8+b7lBQKLNdnEaZnx8GRzF+HK0djdQURJUGPOzlxut7vb8qvNQvy; 4:QOzZUFChMIwEUWDQQ31IXDdWbew6H0UBWpzBEf2hHUotk7R9uzlej/E0kqgIcZliTtycU3zJhRgdUw/ss2IbymUJSwDJHqzChHz55Amc5x7lXssKRvr+o0F/7kfgcXP+8kg8RbB9xDFE2b0qky/Xm2LzFlb/L6FaNSpov+4BDPbCwghZpS+znASLYQICdSRD8jpVFCxwPjfb7lhR4NWeuvVyGGRVohQaj/4Fki5uDfljEuPHvs69q6275SYwLdBqCo9X+ikvddjjMomwJeiDOpP0fAiFWQ/jaX8YqiqOcjB19cbJgFgTk2ydyv8zV9eeh66gv3U0pabGNmuSJu+Ta1WcWBvBGS4P+TuyZGK0IkZQnl/syxhY3J61HfLVzD5NHF1SFRJt6KZiIm3u5XRTP7t0fZxERnHn2Pk+U1zVYPo= 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:60Jy3TDTYMZYZY7x4MPjM8wky/IrkEM0OiZjg8DeqQS1PWvUcEBCrCUM4ZOZpXOpSmRsWjTSg3u4hgivN3vWR6MSLiRo7aEAuldohDP+06cLlzIox185G5xju4foBi2+M+RxOmIHzDeLd9ZWcZGS1IIjrr95HBgmQyr+vcBHMQDoglZK0PdaxfO3mF+yCzECD9bpBTnzDj3sijINtoh/HxfJeEdEYHVkiceAj1sGcuAk7WAiDV2v/8pkuT4gIJsRCn9MQ0iHjSXyPaxLgFhPt0z7xFOeFithfAxdlEC7eKiVFulnYRwii5UJ+TvqsdXf0leNIiDYvIy/ZAr70GP6SxtMWTyhHtGnu+XNhuz14Y0m6Q8etL6Yz+TDC3MiRf04aFfNAFDKWcWc5n0XfB/uONKvSZ60jmVOcpxzaxFEm7t/JG7OMyIbLutloUrYw16rsDI8ruiOm/rcohbTB75e9ddTL8uwsaxy1+ayhM1T5aEZYKg4inr9OQAOykPmWkK5PR7OVPVMKZyEb0m+QN9UrJf/nHSo6wOfth2w/wYtqdYfuBtZfJvT+yYGfwq+OWA3jtoKDO+QIzWoroZA5rYXhxKU+H5zfg8lqcXdk8ilos8/5MZgeWXS/oc6oM2aIs/J4RNtDigDPzxAmVE9Q5QjX15GS1xH51erAUjbPZluvldEgzQVIHBtiOpSblssKdpE1RtutNV294puCT1DyDhws8nh2Y5X7ptE64x1y6n9hDpxN6s1NgCie5THk8irK6TsBqu/v53dzl5NlmFy75qOP+sJF2Uu0v47jHmspOV1mn3iThqOPHz6WeHLmfds4klj2nzaq7PhZ/uM/qr/GE6KDR+4083CZx8rJXtNW/Cnqvz6EdUwr7skHrG/HYkTi6uUBHrt/NJt3kTAzDEuslNi9Q== X-Microsoft-Exchange-Diagnostics: 1; BLUPR12MB0436; 5:ZTIZtBpd71gDV9bVYBBIgkYE9+06hXahdjNxRaP7vBPSQ1DtmLka5vQhZE3Ma/WYeCggRLuj8URF46coDB8BSJyweYQhLyi1h6EUrMZKver8dR86YObXbt3VNfcqIyvcYTrdrZj95tGc3wkAOCH5/w==; 24:lmKae/C/LIxB+dCdLer2jfy8TmhsWxyudWqB+gIpvuCFb/XZiRW7QKHUD7K8Z00EyqgiFlPzH2Ew74OoEDqVQWa5ftQOE6pKkp8iDwVsvqE=; 20:6Nloz0TvA1wsTMEdanR8M50d7uGCn3CclrJpzBL9ECQ0HcDHfITwvf+Y/YtUy3AjbKxmJdchGXw2BfPOEoadmqS2DopHWxr4go3jWRgakKmyuIeYXDyu0YEk0Q6fsHPuipylBIy/q8Ey6nUL3E6ai/4LsxfOT0+BO1wJouvRwFPMOIH8c6JlcNAlxohM/wj+xgVui4+xPFreiP2pHKGu922pddagQburvMQZCZG9lZ0AXx91HjOropFnUT/o56XU X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Feb 2016 03:52:15.7331 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR12MB0436 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Suravee Suthikulpanit Add new GPIO device nodes and fix clock on gpio0. Signed-off-by: Suravee Suthikulpanit --- arch/arm64/boot/dts/amd/amd-seattle-soc.dtsi | 49 +++++++++++++++++++++++++--- 1 file changed, 45 insertions(+), 4 deletions(-) -- 2.5.0 diff --git a/arch/arm64/boot/dts/amd/amd-seattle-soc.dtsi b/arch/arm64/boot/dts/amd/amd-seattle-soc.dtsi index 9f59381..ba455d1 100644 --- a/arch/arm64/boot/dts/amd/amd-seattle-soc.dtsi +++ b/arch/arm64/boot/dts/amd/amd-seattle-soc.dtsi @@ -129,7 +129,7 @@ #size-cells = <0>; }; - gpio0: gpio@e1040000 { + gpio0: gpio@e1040000 { /* Not available to OS for B0 */ status = "disabled"; compatible = "arm,pl061", "arm,primecell"; #gpio-cells = <2>; @@ -138,18 +138,59 @@ interrupts = <0 359 4>; interrupt-controller; #interrupt-cells = <2>; - clocks = <&uartspiclk_100mhz>; + clocks = <&miscclk_250mhz>; clock-names = "apb_pclk"; }; - gpio1: gpio@e1050000 { + gpio1: gpio@e1050000 { /* [0:7] */ status = "disabled"; compatible = "arm,pl061", "arm,primecell"; #gpio-cells = <2>; reg = <0 0xe1050000 0 0x1000>; gpio-controller; + interrupt-controller; + #interrupt-cells = <2>; interrupts = <0 358 4>; - clocks = <&uartspiclk_100mhz>; + clocks = <&miscclk_250mhz>; + clock-names = "apb_pclk"; + }; + + gpio2: gpio@e0020000 { /* [8:15] */ + status = "disabled"; + compatible = "arm,pl061", "arm,primecell"; + #gpio-cells = <2>; + reg = <0 0xe0020000 0 0x1000>; + gpio-controller; + interrupt-controller; + #interrupt-cells = <2>; + interrupts = <0 366 4>; + clocks = <&miscclk_250mhz>; + clock-names = "apb_pclk"; + }; + + gpio3: gpio@e0030000 { /* [16:23] */ + status = "disabled"; + compatible = "arm,pl061", "arm,primecell"; + #gpio-cells = <2>; + reg = <0 0xe0030000 0 0x1000>; + gpio-controller; + interrupt-controller; + #interrupt-cells = <2>; + interrupts = <0 365 4>; + clocks = <&miscclk_250mhz>; + clock-names = "apb_pclk"; + }; + + gpio4: gpio@e0080000 { /* [24] */ + status = "disabled"; + compatible = "arm,pl061", "arm,primecell"; + #gpio-cells = <2>; + reg = <0 0xe0080000 0 0x1000>; + gpio-controller; + interrupt-controller; + #interrupt-cells = <2>; + interrupts = <0 361 4>; + clocks = <&miscclk_250mhz>; clock-names = "apb_pclk"; };