From patchwork Fri Dec 14 11:56:28 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rajeshwari Shinde X-Patchwork-Id: 13581 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id 9A5AB23FC0 for ; Fri, 14 Dec 2012 11:59:46 +0000 (UTC) Received: from mail-ie0-f180.google.com (mail-ie0-f180.google.com [209.85.223.180]) by fiordland.canonical.com (Postfix) with ESMTP id 30F7DA19567 for ; Fri, 14 Dec 2012 11:59:46 +0000 (UTC) Received: by mail-ie0-f180.google.com with SMTP id c10so5712263ieb.11 for ; Fri, 14 Dec 2012 03:59:45 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-forwarded-to:x-forwarded-for:delivered-to:received-spf:x-auditid :from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references :dlp-filter:x-mtr:x-brightmail-tracker:x-brightmail-tracker :x-cfilter-loop:x-gm-message-state; bh=pxZk7x3Mxxc6H7VjfumcjY/hQ5lxNMAgB4WkulxAQY4=; b=ag73LGLPOB99jEwm5GBtpk8We/vgS7P36Rhrj12a8AFHzDTZ+9Z9vPVV6Xds37ZkYH fKXygl/vLnU4OGG1C356nJvWUIGkeDnSAeK+ECGd8Z+fZhGYZm7ZZvghP4YonEk4YSgj RceSeoK0DF0O69bC1ml4LkNG9PNOfzJu6Ju4I9Pgk5KVETp/3JAuth3NBcSGeIR5PKyw mU1KMSkMqkyXQKYIDt07Z0tnUYQYICdVVQGYVJFZMRhhziq/eAwSO7WyMizWhioQ8HSz oLe7skan/60t9AG35Tc/Mk8cFIlpMgJOfi+ZDUaLambKRogGfRWcPYLTaVO9k6Uku+Fl vdoA== Received: by 10.50.187.197 with SMTP id fu5mr1212126igc.70.1355486385639; Fri, 14 Dec 2012 03:59:45 -0800 (PST) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.50.67.148 with SMTP id n20csp67519igt; Fri, 14 Dec 2012 03:59:45 -0800 (PST) Received: by 10.68.213.233 with SMTP id nv9mr14789648pbc.155.1355486384834; Fri, 14 Dec 2012 03:59:44 -0800 (PST) Received: from mailout1.samsung.com (mailout1.samsung.com. [203.254.224.24]) by mx.google.com with ESMTP id rr6si4707688pbc.71.2012.12.14.03.59.44; Fri, 14 Dec 2012 03:59:44 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of rajeshwari.s@samsung.com designates 203.254.224.24 as permitted sender) client-ip=203.254.224.24; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of rajeshwari.s@samsung.com designates 203.254.224.24 as permitted sender) smtp.mail=rajeshwari.s@samsung.com Received: from epcpsbgm1.samsung.com (epcpsbgm1 [203.254.230.26]) by mailout1.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MF0000FPRZHPE00@mailout1.samsung.com>; Fri, 14 Dec 2012 20:59:43 +0900 (KST) Received: from epcpsbgm1.samsung.com ( [172.20.52.125]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id CE.35.01231.FA41BC05; Fri, 14 Dec 2012 20:59:43 +0900 (KST) X-AuditID: cbfee61a-b7fa66d0000004cf-d1-50cb14af35e0 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id 7E.35.01231.FA41BC05; Fri, 14 Dec 2012 20:59:43 +0900 (KST) Received: from rajeshwari-linux.sisodomain.com ([107.108.215.115]) by mmp2.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0MF000GYFRKI4870@mmp2.samsung.com>; Fri, 14 Dec 2012 20:59:43 +0900 (KST) From: Rajeshwari Shinde To: u-boot@lists.denx.de Cc: patches@linaro.org, sjg@chromium.org, mk7.kang@samsung.com, chander.kashyap@linaro.org Subject: [PATCH 15/16] EXYNOS5: FDT: Add SPI device node data Date: Fri, 14 Dec 2012 17:26:28 +0530 Message-id: <1355486189-432-15-git-send-email-rajeshwari.s@samsung.com> X-Mailer: git-send-email 1.7.4.4 In-reply-to: <1355486189-432-1-git-send-email-rajeshwari.s@samsung.com> References: <1355486189-432-1-git-send-email-rajeshwari.s@samsung.com> DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrALMWRmVeSWpSXmKPExsWyRsSkVne9yOkAg7crdC0err/JYjHl8BcW ByaPO9f2sAUwRnHZpKTmZJalFunbJXBlHJn/gK1go0jF4T+X2BoY1wp0MXJwSAiYSPT21Hcx cgKZYhIX7q1n62Lk4hASWMoocWDLAlaIhInE/ZdnmSAS0xkluq40gCWEBCYySdx8IwJiswkY SWw9OY0RxBYRkJD41X8VzGYWiJF4vf8HG4gtLGAr8WjSN7BeFgFViW+vFoHV8Aq4S6zoPscI sUxB4tjUr2A1nEDxk2/uMUPscpNY0bOMDaJXQOLb5EMsEA/ISmw6wAxym4TAdTaJ5VNnQ82R lDi44gbLBEbhBYwMqxhFUwuSC4qT0nMN9YoTc4tL89L1kvNzNzECg/H0v2dSOxhXNlgcYhTg YFTi4f0odCpAiDWxrLgy9xCjBAezkgiv5BGgEG9KYmVValF+fFFpTmrxIUYfoEsmMkuJJucD IyWvJN7Q2MTc1NjU0sjIzNQUh7CSOG+zR0qAkEB6YklqdmpqQWoRzDgmDk6pBkZ3jnu/a0Ve 9j/rKsu+2yiqILR2yfYX11cfDlsby3y+MOHgJV2hgzk/l0oJbHwa6aVwqjd/ba9Q158t7B+v mB801nmxNnD5jog8ri6ueCfLth01ZgsYVBd3uvqKnbpcIVEX6Gm4x37T5t1PLud3d3+w5pjQ sHDmOi4T/sjMjJcv7i4M3hf7zlyJpTgj0VCLuag4EQCwSd4lcwIAAA== X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprAIsWRmVeSWpSXmKPExsVy+t9jQd31IqcDDF53K1g8XH+TxWLK4S8s Dkwed67tYQtgjGpgtMlITUxJLVJIzUvOT8nMS7dV8g6Od443NTMw1DW0tDBXUshLzE21VXLx CdB1y8wBmq2kUJaYUwoUCkgsLlbSt8M0ITTETdcCpjFC1zckCK7HyAANJKxhzDgy/wFbwUaR isN/LrE1MK4V6GLk5JAQMJG4//IsE4QtJnHh3nq2LkYuDiGB6YwSXVcaWEESQgITmSRuvhEB sdkEjCS2npzGCGKLCEhI/Oq/CmYzC8RIvN7/gw3EFhawlXg06RtYL4uAqsS3V4vAangF3CVW dJ9jhFimIHFs6lewGk6g+Mk395ghdrlJrOhZxjaBkXcBI8MqRtHUguSC4qT0XEO94sTc4tK8 dL3k/NxNjOBgfya1g3Flg8UhRgEORiUe3o9CpwKEWBPLiitzDzFKcDArifBKHgEK8aYkVlal FuXHF5XmpBYfYvQBumois5Rocj4wEvNK4g2NTcxNjU0tTSxMzCxxCCuJ8zZ7pAQICaQnlqRm p6YWpBbBjGPi4JRqYEwNfGj+77PUauvg+toUmXzeLe+Osu/9v4iPKaZR9tPuJSH2Tz0fqFz7 c6TlVplNu0DMBsP/ycuSu5M6y/Lir7/pTNjStPH5tkVJ/xQeLbxy0av9lfRan7d1juum1Jtv 2Fr2ictFcLIb30JzBsP7Vz93ahR1GpTt2cflZd6TnH/irOeRE2X2j5VYijMSDbWYi4oTAVFh jTejAgAA X-CFilter-Loop: Reflected X-Gm-Message-State: ALoCoQmht33ia21ow+crgsyvfuoABoUJs5pmA7ImH4zR9CplT1ClPkq9lqtYLREO9OFxgEjDCTYu Add SPI device node data for exynos. Signed-off-by: Rajeshwari Shinde Acked-by: Simon Glass --- Changes in V1: -Rebased on latest u-boot-samsung arch/arm/dts/exynos5250.dtsi | 41 +++++++++++++++++++++++++++ doc/device-tree-bindings/exynos/isp-spi.txt | 22 ++++++++++++++ 2 files changed, 63 insertions(+), 0 deletions(-) create mode 100644 doc/device-tree-bindings/exynos/isp-spi.txt diff --git a/arch/arm/dts/exynos5250.dtsi b/arch/arm/dts/exynos5250.dtsi index dc13f29..1008797 100644 --- a/arch/arm/dts/exynos5250.dtsi +++ b/arch/arm/dts/exynos5250.dtsi @@ -97,4 +97,45 @@ compatible = "samsung,exynos-sound"; reg = <0x12d60000 0x20>; }; + + spi@12d20000 { + #address-cells = <1>; + #size-cells = <0>; + compatible = "samsung,exynos-spi"; + reg = <0x12d20000 0x30>; + interrupts = <0 68 0>; + }; + + spi@12d30000 { + #address-cells = <1>; + #size-cells = <0>; + compatible = "samsung,exynos-spi"; + reg = <0x12d30000 0x30>; + interrupts = <0 69 0>; + }; + + spi@12d40000 { + #address-cells = <1>; + #size-cells = <0>; + compatible = "samsung,exynos-spi"; + reg = <0x12d40000 0x30>; + clock-frequency = <50000000>; + interrupts = <0 70 0>; + }; + + spi@131a0000 { + #address-cells = <1>; + #size-cells = <0>; + compatible = "samsung,exynos-spi"; + reg = <0x131a0000 0x30>; + interrupts = <0 129 0>; + }; + + spi@131b0000 { + #address-cells = <1>; + #size-cells = <0>; + compatible = "samsung,exynos-spi"; + reg = <0x131b0000 0x30>; + interrupts = <0 130 0>; + }; }; diff --git a/doc/device-tree-bindings/exynos/isp-spi.txt b/doc/device-tree-bindings/exynos/isp-spi.txt new file mode 100644 index 0000000..b8086e8 --- /dev/null +++ b/doc/device-tree-bindings/exynos/isp-spi.txt @@ -0,0 +1,22 @@ +Exynos ISP SPI Subsystem + +The device node for ISP SPI subsytem. +Since Peripheral id in EXYNOS is decoded based on Interrupts, currently +ISP SPI have no individual interrupts hence we add ad dummy interrupt node +which will have a value beyond the maximum number of interrupts exynos5 can +support. + +Required properties : + - compatible : Should be "samsung,exynos-spi" for spi. + - reg : Base adrress of the the subsystem. + - interrupts : A value which is beyond the maximum number of interrupts +exynos5 can support. + +Example: +spi@131a0000 { + #address-cells = <1>; + #size-cells = <0>; + compatible = "samsung,exynos-spi"; + reg = <0x131a0000 0x30>; + interrupts = <0 129 0>; +};