From patchwork Tue Oct 29 06:12:34 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jingoo Han X-Patchwork-Id: 3106291 Return-Path: X-Original-To: patchwork-linux-samsung-soc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 05DFC9F432 for ; Tue, 29 Oct 2013 06:12:40 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 435832034A for ; Tue, 29 Oct 2013 06:12:39 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id E1AE3201BA for ; Tue, 29 Oct 2013 06:12:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751237Ab3J2GMh (ORCPT ); Tue, 29 Oct 2013 02:12:37 -0400 Received: from mailout1.samsung.com ([203.254.224.24]:48227 "EHLO mailout1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750974Ab3J2GMg (ORCPT ); Tue, 29 Oct 2013 02:12:36 -0400 Received: from epcpsbgr4.samsung.com (u144.gpu120.samsung.co.kr [203.254.230.144]) by mailout1.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MVF001J92K7B5R0@mailout1.samsung.com> for linux-samsung-soc@vger.kernel.org; Tue, 29 Oct 2013 15:12:35 +0900 (KST) Received: from epcpsbgm2.samsung.com ( [203.254.230.47]) by epcpsbgr4.samsung.com (EPCPMTA) with SMTP id A0.76.07242.2D15F625; Tue, 29 Oct 2013 15:12:34 +0900 (KST) X-AuditID: cbfee690-b7f3d6d000001c4a-9d-526f51d25eb6 Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id 88.A5.08134.2D15F625; Tue, 29 Oct 2013 15:12:34 +0900 (KST) Received: from DOJG1HAN03 ([12.23.120.99]) by mmp1.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0MVF0041E2KY8P51@mmp1.samsung.com>; Tue, 29 Oct 2013 15:12:34 +0900 (KST) From: Jingoo Han To: 'Kukjin Kim' Cc: linux-samsung-soc@vger.kernel.org, 'Olof Johansson' , 'Jingoo Han' Subject: [PATCH] ARM: dts: use 'status' property for PCIe nodes Date: Tue, 29 Oct 2013 15:12:34 +0900 Message-id: <002601ced46d$dbfa97c0$93efc740$%han@samsung.com> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Thread-index: Ac7Ubdvh3438cy0EQ3qZL3Idq1v3iw== Content-language: ko X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrAIsWRmVeSWpSXmKPExsVy+t8zfd1LgflBBj/mWltcXniJ1aJ3wVU2 ixnn9zFZnLr+mc2BxePKiSZWj74tqxg9Pm+SC2CO4rJJSc3JLEst0rdL4MpY/7KbuWAKd8Xp Sz1sDYwfOLoYOTkkBEwkrsw5wARhi0lcuLeerYuRi0NIYBmjxJdrW5lhima1HoVKLGKU6J65 ghHC+cUocX3vakaQKjYBNYkvXw6zg9giAhoST3cfAYpzcDAL5El821UHEhYWsJe4f20fC4jN IqAqsXXPPrAFvAK2EvduzWGDsAUlfky+B1bDLKAlsX7ncSYIW15i85q3zCAjJQTUJR791YXY pCdx+stjdogSEYl9L96BnSYhsI5d4uyZ06wQuwQkvk0+xALRKyux6QDUX5ISB1fcYJnAKDYL yeZZSDbPQrJ5FpIVCxhZVjGKphYkFxQnpReZ6BUn5haX5qXrJefnbmKExNaEHYz3DlgfYkwG Wj+RWUo0OR8Ym3kl8YbGZkYWpiamxkbmlmakCSuJ86o9SgoSEkhPLEnNTk0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nHdNXu/P7v/XJNrXGkQE1Ozturqc8ZD1wSsi478P98fpcRSnJFo qMVcVJwIAOYQPm8gAwAA DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Spam-Status: No, score=-7.4 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, 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 Set the default status for PCIe to disabled in the exynos5440.dtsi file and let the board dts files such as exynos5440-ssdk5440.dts enable the PCIe. However, keep the PCIe for SD5v1 board disabled, because there is no PCIe slot on SD5v1 board. Signed-off-by: Jingoo Han Acked-by: Kukjin Kim --- Tested on SSDK5440 board. arch/arm/boot/dts/exynos5440-ssdk5440.dts | 2 ++ arch/arm/boot/dts/exynos5440.dtsi | 2 ++ 2 files changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/exynos5440-ssdk5440.dts b/arch/arm/boot/dts/exynos5440-ssdk5440.dts index a7cb848..d58cb78 100644 --- a/arch/arm/boot/dts/exynos5440-ssdk5440.dts +++ b/arch/arm/boot/dts/exynos5440-ssdk5440.dts @@ -68,9 +68,11 @@ pcie@290000 { reset-gpio = <&pin_ctrl 5 0>; + status = "okay"; }; pcie@2a0000 { reset-gpio = <&pin_ctrl 22 0>; + status = "okay"; }; }; diff --git a/arch/arm/boot/dts/exynos5440.dtsi b/arch/arm/boot/dts/exynos5440.dtsi index 5d6cf49..8da1070 100644 --- a/arch/arm/boot/dts/exynos5440.dtsi +++ b/arch/arm/boot/dts/exynos5440.dtsi @@ -276,6 +276,7 @@ interrupt-map-mask = <0 0 0 0>; interrupt-map = <0x0 0 &gic 53>; num-lanes = <4>; + status = "disabled"; }; pcie@2a0000 { @@ -296,5 +297,6 @@ interrupt-map-mask = <0 0 0 0>; interrupt-map = <0x0 0 &gic 56>; num-lanes = <4>; + status = "disabled"; }; };