From patchwork Fri Feb 18 08:12:09 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jason Liu X-Patchwork-Id: 167 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:31 -0000 Delivered-To: patches@linaro.org Received: by 10.146.25.23 with SMTP id 23cs86423yay; Fri, 18 Feb 2011 00:14:41 -0800 (PST) Received: by 10.52.167.234 with SMTP id zr10mr640869vdb.285.1298016880946; Fri, 18 Feb 2011 00:14:40 -0800 (PST) Received: from VA3EHSOBE008.bigfish.com (va3ehsobe001.messaging.microsoft.com [216.32.180.11]) by mx.google.com with ESMTPS id s18si2656137vcf.200.2011.02.18.00.14.40 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 18 Feb 2011 00:14:40 -0800 (PST) Received-SPF: neutral (google.com: 216.32.180.11 is neither permitted nor denied by best guess record for domain of r64343@freescale.com) client-ip=216.32.180.11; Authentication-Results: mx.google.com; spf=neutral (google.com: 216.32.180.11 is neither permitted nor denied by best guess record for domain of r64343@freescale.com) smtp.mail=r64343@freescale.com Received: from mail47-va3-R.bigfish.com (10.7.14.246) by VA3EHSOBE008.bigfish.com (10.7.40.28) with Microsoft SMTP Server id 14.1.225.8; Fri, 18 Feb 2011 08:14:38 +0000 Received: from mail47-va3 (localhost.localdomain [127.0.0.1]) by mail47-va3-R.bigfish.com (Postfix) with ESMTP id B694C1580614; Fri, 18 Feb 2011 08:14:38 +0000 (UTC) X-SpamScore: 0 X-BigFish: VS0(zzzz1202hzz8275bhz2dh2a8h668h61h) X-Spam-TCS-SCL: 0:0 X-Forefront-Antispam-Report: KIP:(null); UIP:(null); IPVD:NLI; H:az33egw01.freescale.net; RD:az33egw01.freescale.net; EFVD:NLI Received: from mail47-va3 (localhost.localdomain [127.0.0.1]) by mail47-va3 (MessageSwitch) id 1298016878511102_22726; Fri, 18 Feb 2011 08:14:38 +0000 (UTC) Received: from VA3EHSMHS027.bigfish.com (unknown [10.7.14.254]) by mail47-va3.bigfish.com (Postfix) with ESMTP id 6BBC2500050; Fri, 18 Feb 2011 08:14:38 +0000 (UTC) Received: from az33egw01.freescale.net (192.88.158.102) by VA3EHSMHS027.bigfish.com (10.7.99.37) with Microsoft SMTP Server (TLS) id 14.1.225.8; Fri, 18 Feb 2011 08:14:29 +0000 Received: from az33smr01.freescale.net (az33smr01.freescale.net [10.64.34.199]) by az33egw01.freescale.net (8.14.3/8.14.3) with ESMTP id p1I8ERWn013804; Fri, 18 Feb 2011 01:14:27 -0700 (MST) Received: from localhost.localdomain (r64343-desktop.ap.freescale.net [10.192.242.36]) by az33smr01.freescale.net (8.13.1/8.13.0) with ESMTP id p1I8EGYh022541; Fri, 18 Feb 2011 02:14:26 -0600 (CST) From: Jason Liu To: CC: , , Subject: [PATCH 2/3] arm/dt: add very basic dts file for babbage board Date: Fri, 18 Feb 2011 16:12:09 +0800 Message-ID: <1298016730-22761-3-git-send-email-r64343@freescale.com> X-Mailer: git-send-email 1.7.0.4 In-Reply-To: <1298016730-22761-1-git-send-email-r64343@freescale.com> References: <1298016730-22761-1-git-send-email-r64343@freescale.com> MIME-Version: 1.0 X-OriginatorOrg: freescale.com Signed-off-by: Jason Liu --- arch/arm/boot/dts/babbage.dts | 117 +++++++++++++++++++++++++++++++++++++++++ 1 files changed, 117 insertions(+), 0 deletions(-) diff --git a/arch/arm/boot/dts/babbage.dts b/arch/arm/boot/dts/babbage.dts new file mode 100644 index 0000000..7ee26f1 --- /dev/null +++ b/arch/arm/boot/dts/babbage.dts @@ -0,0 +1,117 @@ +/dts-v1/; + +/ { + model = "mx51_babbage"; + compatible = "fsl,mx51_babbage"; + #address-cells = <0x1>; + #size-cells = <0x1>; + #interrupt-cells = <0x1>; + interrupt-parent = <0x1>; + + memory { + device_type = "memory"; + reg = <0x90000000 0x20000000>; + }; + + chosen { + bootargs = "console=ttymxc1,115200n8 debug earlyprintk"; + }; + + soc { + #address-cells = <0x1>; + #size-cells = <0x1>; + device_type = "soc"; + compatible = "simple-bus"; + ranges = <0x0 0x0 0xffffffff>; + + tzic { + #address-cells = <0x0>; + #interrupt-cells = <0x1>; + interrupt-controller; + reg = <0xe0000000 0x1000>; + compatible = "fsl,tzic"; + device_type = "tzic"; + phandle = <0x1>; + }; + }; + + clocks { + #address-cells = <1>; + #size-cells = <0>; + + uart_clk0: uart@0 { + compatible = "clock"; + clock-outputs = "imx-uart.0"; + }; + + uart_clk1: uart@1{ + compatible = "clock"; + clock-outputs = "imx-uart.1"; + }; + + uart_clk2: uart@2{ + compatible = "clock"; + clock-outputs = "imx-uart.2"; + }; + + fec_clk: @0{ + compatible = "clock"; + clock-outputs = "fec.0"; + }; + }; + + spba@70000000 { + #address-cells = <0x1>; + #size-cells = <0x1>; + device_type = "soc"; + compatible = "simple-bus"; + ranges = <0x0 0x70000000 0x100000>; + + imx-uart@C000 { + compatible = "imx-uart"; + reg = <0xc000 0x1000>; + interrupts = <0x21>; + rts-cts; + uart-clock = < &uart_clk2 >, "uart"; + }; + }; + + aips@73f00000 { + #address-cells = <0x1>; + #size-cells = <0x1>; + device_type = "soc"; + compatible = "simple-bus"; + ranges = <0x0 0x73f00000 0x100000>; + + imx-uart@BC000 { + compatible = "imx-uart"; + reg = <0xbc000 0x1000>; + interrupts = <0x1f>; + rts-cts; + uart-clock = < &uart_clk0 >, "uart"; + }; + + imx-uart@C0000 { + compatible = "imx-uart"; + reg = <0xc0000 0x1000>; + interrupts = <0x20>; + rts-cts; + uart-clock = <&uart_clk1>, "uart"; + }; + }; + + aips@83f00000 { + #address-cells = <0x1>; + #size-cells = <0x1>; + device_type = "soc"; + compatible = "simple-bus"; + ranges = <0x0 0x83f00000 0x100000>; + + fec@EC000 { + compatible = "fec"; + reg = <0xec000 0x1000>; + interrupts = <0x57>; + fec_clk-clock = < &fec_clk >, "fec"; + }; + }; +};