From patchwork Sat Feb 12 12:47:00 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: thomas.abraham@linaro.org X-Patchwork-Id: 134 Return-Path: Delivered-To: unknown Received: from imap.gmail.com (74.125.159.109) by localhost6.localdomain6 with IMAP4-SSL; 08 Jun 2011 14:40:15 -0000 Delivered-To: patches@linaro.org Received: by 10.147.124.5 with SMTP id b5cs261052yan; Sat, 12 Feb 2011 04:49:14 -0800 (PST) Received: by 10.42.226.66 with SMTP id iv2mr2135315icb.246.1297514954517; Sat, 12 Feb 2011 04:49:14 -0800 (PST) Received: from mailout3.samsung.com (mailout3.samsung.com [203.254.224.33]) by mx.google.com with ESMTP id c4si1223263ict.30.2011.02.12.04.49.14; Sat, 12 Feb 2011 04:49:14 -0800 (PST) Received-SPF: neutral (google.com: 203.254.224.33 is neither permitted nor denied by best guess record for domain of thomas.abraham@linaro.org) client-ip=203.254.224.33; Authentication-Results: mx.google.com; spf=neutral (google.com: 203.254.224.33 is neither permitted nor denied by best guess record for domain of thomas.abraham@linaro.org) smtp.mail=thomas.abraham@linaro.org Received: from epmmp2 (mailout3.samsung.com [203.254.224.33]) by mailout3.samsung.com (Oracle Communications Messaging Exchange Server 7u4-19.01 64bit (built Sep 7 2010)) with ESMTP id <0LGI00KSS8XXU220@mailout3.samsung.com> for patches@linaro.org; Sat, 12 Feb 2011 21:49:09 +0900 (KST) Received: from localhost.localdomain ([107.108.73.37]) by mmp2.samsung.com (iPlanet Messaging Server 5.2 Patch 2 (built Jul 14 2004)) with ESMTPA id <0LGI00IEA8XP10@mmp2.samsung.com> for patches@linaro.org; Sat, 12 Feb 2011 21:49:10 +0900 (KST) Date: Sat, 12 Feb 2011 18:17:00 +0530 From: Thomas Abraham Subject: [PATCH 2/7] ARM: s5pv310-dt: Add a basic dts file for SMDKV310 machine In-reply-to: <1297514825-10345-1-git-send-email-thomas.abraham@linaro.org> To: devicetree-discuss@lists.ozlabs.org Cc: kgene.kim@samsung.com, grant.likely@secretlab.ca, linaro-dev@lists.linaro.org, patches@linaro.org Message-id: <1297514825-10345-3-git-send-email-thomas.abraham@linaro.org> X-Mailer: git-send-email 1.6.6.rc2 Content-transfer-encoding: 7BIT References: <1297514825-10345-1-git-send-email-thomas.abraham@linaro.org> This patch adds a basic dts file for Samsung's SMDKV310 board which is based on the s5pv310 machine. Signed-off-by: Thomas Abraham --- arch/arm/mach-s5pv310/mach-smdkv310.dts | 78 +++++++++++++++++++++++++++++++ 1 files changed, 78 insertions(+), 0 deletions(-) create mode 100755 arch/arm/mach-s5pv310/mach-smdkv310.dts diff --git a/arch/arm/mach-s5pv310/mach-smdkv310.dts b/arch/arm/mach-s5pv310/mach-smdkv310.dts new file mode 100755 index 0000000..75aa76d --- /dev/null +++ b/arch/arm/mach-s5pv310/mach-smdkv310.dts @@ -0,0 +1,78 @@ +/dts-v1/; + +/ { + model = "smdkv310"; + compatible = "samsung,s5pv310","samsung,smdkv310"; + #address-cells = <1>; + #size-cells = <1>; + + cpus { + cpu@0{ + compatible = "arm,cortex-a9"; + }; + + cpu@1 { + compatible = "arm,cortex-a9"; + }; + }; + + memory { + device_type = "memory"; + reg = <0x40000000 0x08000000>; + }; + + chosen { + bootargs = "root=/dev/ram0 rw ramdisk=8192 initrd=0x41000000,8M console=ttySAC1,115200 init=/linuxrc"; + console-defaults = <0x3c5 0x3 0x111>; + xtal-frequency = <24000000>; + }; + + soc { + #address-cells = <1>; + #size-cells = <1>; + interrupt-parent = <&GIC>; + compatible = "samsung,s5pv310-soc","simple-bus"; + ranges; + + GIC:gic@0x10500000 { + #interrupt-cells = <1>; + interrupt-controller; + reg = <0x10500000 0x1000>; + compatible = "samsung,s5pv310-gic","arm,gic"; + }; + + watchdog@0x10060000 { + reg = <0x10060000 0x400>; + interrupts = <552>; + compatible = "samsung,s5pv310-wdt","samsung,s3c2410-wdt"; + }; + + serial@0x13800000 { + reg = <0x13800000 0x100>; + interrupts = <16 18 17>; + reg-defaults = <0x3c5 0x3 0x111>; + compatible = "samsung,s5pv310-uart","samsung,s3c2410-uart"; + }; + + serial@0x13810000 { + reg = <0x13810000 0x100>; + interrupts = <20 22 21>; + reg-defaults = <0x3c5 0x3 0x111>; + compatible = "samsung,s5pv310-uart","samsung,s3c2410-uart"; + }; + + serial@0x13820000 { + reg = <0x13820000 0x100>; + interrupts = <24 26 25>; + reg-defaults = <0x3c5 0x3 0x111>; + compatible = "samsung,s5pv310-uart","samsung,s3c2410-uart"; + }; + + serial@0x13830000 { + reg = <0x13830000 0x100>; + interrupts = <28 30 29>; + reg-defaults = <0x3c5 0x3 0x111>; + compatible = "samsung,s5pv310-uart","samsung,s3c2410-uart"; + }; + }; +};