From patchwork Wed Jan 27 21:11:55 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Suravee Suthikulpanit X-Patchwork-Id: 8143101 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id D3DB4BEEE5 for ; Wed, 27 Jan 2016 21:21:46 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id E0CD720270 for ; Wed, 27 Jan 2016 21:21:45 +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 E60E82026C for ; Wed, 27 Jan 2016 21:21:44 +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 1aOXVJ-0001zF-FH; Wed, 27 Jan 2016 21:19:53 +0000 Received: from mail-bl2on0058.outbound.protection.outlook.com ([65.55.169.58] helo=na01-bl2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1aOXOM-0003dk-FX for linux-arm-kernel@lists.infradead.org; Wed, 27 Jan 2016 21:12:43 +0000 Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Suravee.Suthikulpanit@amd.com; Received: from ssuthiku-ubuntu-lt.amd.com (165.204.77.1) by BLUPR12MB0434.namprd12.prod.outlook.com (10.162.92.14) with Microsoft SMTP Server (TLS) id 15.1.390.13; Wed, 27 Jan 2016 21:12:19 +0000 From: Suravee Suthikulpanit To: , , , , , Subject: [PATCH 07/13] dtb: amd: Misc changes for GPIO devices Date: Wed, 27 Jan 2016 15:11:55 -0600 Message-ID: <1453929121-12171-8-git-send-email-Suravee.Suthikulpanit@amd.com> X-Mailer: git-send-email 2.5.0 In-Reply-To: <1453929121-12171-1-git-send-email-Suravee.Suthikulpanit@amd.com> References: <1453929121-12171-1-git-send-email-Suravee.Suthikulpanit@amd.com> MIME-Version: 1.0 X-Originating-IP: [165.204.77.1] X-ClientProxiedBy: BLUPR11CA0006.namprd11.prod.outlook.com (10.141.240.16) To BLUPR12MB0434.namprd12.prod.outlook.com (25.162.92.14) X-Microsoft-Exchange-Diagnostics: 1; BLUPR12MB0434; 2:9yItvqTI5jg0EpnBKlqkIzqBItkOdzOh8D7RPn3D8hGbccXNQ64FD197PPM59sJd3ZPX+XRnNP7A+9mkETCZIE1hVokCi5GSb+ot+j5fWyKyd7iAnZM7be9qAydoVvJbtDNmKbsTzQcfI1ecOQQAHg==; 3:aZa+GbbIyPHNV6Fyer6wahj9DH/1Y/2y63TA3mrwnVanggIrOCgHJP0WjDVtq3u8UQ5N3cFcS9z3nh1XxZX1SO6sOl+IdxshGC/OkMPdhz3d5vPqThuvXwQKAwBizk2V; 25:RQRKEoGTfMMt4+T3DhMMFRoqd0OCPnO4GZYzJynmWW4R+z/ELx84Lvl/ONSy5aRde6EzONg/k+pS62m8gTdKlPAxlIWqtDDbgd+mia48Y+E28gbKeLrmKwG2IF3zLhx/L+3+2fhObnkBfFZ0jIILGM12HIncqlYmtMt3Vo/G+4auMFtYrdmTyOpln6RjWuN/jfsMVIhD/sD3P65ji5lczcry845Q5BL7ELjgevSopUavmaTtiSo2BtVwXAwmdkJY X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BLUPR12MB0434; X-MS-Office365-Filtering-Correlation-Id: e9b023c5-db31-420e-463d-08d3275e8b26 X-Microsoft-Exchange-Diagnostics: 1; BLUPR12MB0434; 20:MYL7+NfB13YbfJrNmuXl9cUThaVH8yWC8TwZcckA14UhmxG4jmsSU2lP01p0JhpT2agTNPR3A5AJENfu6ALZU4jHJZMoVCLoWjx8xm/7JJ9l3PtMlm2uJ5CtiCCuy6hGpx1awr7PTa7mN9aBs8IPVoQobdORUGe0bbB17YK+44DePAaYLH2ZxERLv6CkGVoFphAWumlxho5aglm23yhG+lcc2K2SlMjDCvFhIgBAhP9PKmWpwwVsJ4ClaFCVVLRGqcqJYhA9+tLbac4KpWB1Ff5+AMYrQjLzBQIGEXqJDCEFRlf90qLWHGmsIRK+uo/mHlaoESQ9OOlNHXZ1o7PXhA6cAleOs6bo6S+r43h3USfr0msb0hDduLbeVZuOr9fkFqHU+WYlLmSfX4qz/iPsyoJ4CIIcd0blLIj8/hVQcJ1f/J7haYTUpgwYVboalSSPNt8Q0OaUxMx9bIKCaaioIolF6P/1JFdbnicO8xfNt4xBaBwpNorj653LUEwCyN3k; 4:z2itL71M6v/l5R01IojzjfUhzYiZ5kU+U9qnCzaqGFpao2+uYmJkSIpqB/JcswzHJacm91urXVYQdLg7ejcRPQ46ayltdN+Xc/dR1v4EMqfflX06yOgrS6OjIZhsx77/kqW4Y4jEvxtMiwL0QQYUTiDGTgs9aNQcvhkFvjlfl80P/cDvPD01Skii3MnJMdLrKxh1HdGqJ4HSszWOPKH/ftqra8zZGuHI8lajxcb//dTdty9CtMqRX7loxutpoh8PvXmkOV8pUkmdLqiK9nUa+acSB4o9o/C5k96En+lXke02Y0EgIDgR5oITE2EqoRJ1wNWeOuqQawuN320c1RxBjqcr/3pl95VydPoqBBFa9ND9EUvDPfZKCQqkgM7BwTy9k1q4TrxTzDSTNCIr2PcFeYB5u19j9qvNCzg5wJawjbc= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(767451399110); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(8121501046)(5005006)(3002001)(10201501046); SRVR:BLUPR12MB0434; BCL:0; PCL:0; RULEID:; SRVR:BLUPR12MB0434; X-Forefront-PRVS: 0834BAF534 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(6009001)(189002)(199003)(47776003)(97736004)(53416004)(5001770100001)(101416001)(586003)(48376002)(5008740100001)(5004730100002)(122386002)(42186005)(6116002)(3846002)(105586002)(50466002)(19580395003)(3470700001)(189998001)(19580405001)(1096002)(77096005)(66066001)(87976001)(106356001)(36756003)(2950100001)(50986999)(86362001)(229853001)(76176999)(40100003)(5003940100001)(4326007)(2906002)(50226001)(92566002); DIR:OUT; SFP:1101; SCL:1; SRVR:BLUPR12MB0434; H:ssuthiku-ubuntu-lt.amd.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; Received-SPF: None (protection.outlook.com: amd.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BLUPR12MB0434; 23:MnbkTe+dqjUF+Tbp+3Hwv9RJF2MRRS93MHYQQ3w5z?= =?us-ascii?Q?+MLIXc7RpoaGbAXEvv4hOxlzoj8Mj2qtDM/oIcBY1EjQz2GHjHUlPOz8to4h?= =?us-ascii?Q?GY8JV/8de2TfV4BRkIFr5YL/bfYdWPrxfGDCOeRCS6l5/NjVQgYekFL3qGHA?= =?us-ascii?Q?Iv9C28gJF8iu/PBUlCVIx8R99Ut2jO7k2+rtvul4e9CcDyBqxrCVeBbXVYXa?= =?us-ascii?Q?CSvupSBO++oX6LuArkEOsq2EjcOnbNUGiO7d3qxPVp0if8x5c3uUHPl69TK5?= =?us-ascii?Q?jLjGGxWYoKnAjE7hpFKxfTP3fnQCiKAMlLEspS2a6rjup67ZNBfsYgw5TeWI?= =?us-ascii?Q?9JCItomcub6AVxs9keGvbIxyi6x2RDMwC13vO2wv4MsdisazVPvUMmUmuKTz?= =?us-ascii?Q?1PYns74nrZtfKPIQq6y8qMb5IMK6gqRlZPp3e9AMsYCNf4q65jAbC+mxWB7Y?= =?us-ascii?Q?IU2avmjutXSlfJvYKt4Uz4rECK9ZNZtAKm3JCRC7Og1S6CHia41RzCTa0iyP?= =?us-ascii?Q?LyVTKqxps1FYpP+KjPA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PudhX9OJkStR7noNIAknTfp4DZD9Yd7FHCCztXnzFtVoVYE7s5HVwtBFTLf2ijfaxZYK+kE4PikmzAvWEWgGFUlEqyf5cxfEWUrAsAHOz7r6FcbtYx X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Jan 2016 21:12:19.6978 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR12MB0434 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160127_131242_758839_ED75D92D X-CRM114-Status: UNSURE ( 9.26 ) 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.2 required=5.0 tests=BAD_ENC_HEADER,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 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(-) 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"; };