linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: robherring2@gmail.com (Rob Herring)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 3/3 V2] ARM: pxa: Add basic DTS files for PXA/Vpac270 testing machine
Date: Mon, 07 Nov 2011 15:45:24 -0600	[thread overview]
Message-ID: <4EB85174.70801@gmail.com> (raw)
In-Reply-To: <1320701506-26812-4-git-send-email-marek.vasut@gmail.com>


On 11/07/2011 03:31 PM, Marek Vasut wrote:
> Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
> Cc: Arnd Bergmann <arnd@arndb.de>
> Cc: Grant Likely <grant.likely@secretlab.ca>
> Cc: Rob Herring <robherring2@gmail.com>
> ---

Couple of minor things below. With those fixed:

Acked-by: Rob Herring <rob.herring@calxeda.com>

>  arch/arm/boot/dts/pxa-vpac270.dts |   37 +++++++++++++++++++
>  arch/arm/boot/dts/pxa.dtsi        |   71 +++++++++++++++++++++++++++++++++++++
>  2 files changed, 108 insertions(+), 0 deletions(-)
>  create mode 100644 arch/arm/boot/dts/pxa-vpac270.dts
>  create mode 100644 arch/arm/boot/dts/pxa.dtsi
> 
> V2: Fix typo -- rename alias -> aliases in the pxa270.dtsi
>     Drop marvell,pxa250 option, instead leave all ports disable and let user
>     select, which will be registered. This depends on the user not doing
>     something stupid (like registering HWUART, which is available only on
>     pxa250) on pxa320.

Should be a safe assumption. Only someone capable of implementing board
support should create a dts...

> 
> diff --git a/arch/arm/boot/dts/pxa-vpac270.dts b/arch/arm/boot/dts/pxa-vpac270.dts
> new file mode 100644
> index 0000000..48dd9e5
> --- /dev/null
> +++ b/arch/arm/boot/dts/pxa-vpac270.dts
> @@ -0,0 +1,37 @@
> +/*
> + * pxa-vpac270.dts - Device Tree file for Voipac PXA270 board
> + *
> + * Copyright (C) 2011 Marek Vasut <marek.vasut@gmail.com>
> + *
> + * Licensed under GPLv2 or later.
> + */
> +/dts-v1/;
> +/include/ "pxa.dtsi"
> +
> +/ {
> +	model = "Voipac VPAC270";
> +	compatible = "voipac,vpac270";
> +
> +	chosen {
> +		bootargs = "console=ttyS0,115200 mem=128M at 0xa0000000";

Isn't mem= redundant with the memory node below?

> +		linux,stdout-path = &ffuart;
> +	};
> +
> +	memory at a0000000 {
> +		reg = <0xa0000000 0x8000000>;
> +	};
> +
> +	pxabus {
> +		ffuart: uart at 40100000 {

These should be serial at ...

> +			status = "okay";
> +		};
> +
> +		btuart: uart at 40200000 {
> +			status = "okay";
> +		};
> +
> +		stuart: uart at 40700000 {
> +			status = "okay";
> +		};
> +	};
> +};
> diff --git a/arch/arm/boot/dts/pxa.dtsi b/arch/arm/boot/dts/pxa.dtsi
> new file mode 100644
> index 0000000..4c9c4c7
> --- /dev/null
> +++ b/arch/arm/boot/dts/pxa.dtsi
> @@ -0,0 +1,71 @@
> +/*
> + * pxa.dtsi - Device Tree Include file for Marvell PXA2xx/PXA3xx family SoC
> + *
> + * Copyright (C) 2011 Marek Vasut <marek.vasut@gmail.com>
> + *
> + * Licensed under GPLv2 or later.
> + */
> +
> +/include/ "skeleton.dtsi"
> +
> +/ {
> +	model = "Marvell PXA2xx/PXA3xx family SoC";
> +	compatible = "marvell,pxa";
> +	interrupt-parent = <&pxairq>;
> +
> +	aliases {
> +		serial0 = &ffuart;
> +		serial1 = &btuart;
> +		serial2 = &stuart;
> +		serial3 = &hwuart;
> +	};
> +
> +	cpus {
> +		cpu at 0 {
> +			compatible = "arm,xscale";
> +		};
> +	};
> +
> +	pxabus {
> +		compatible = "simple-bus";
> +		#address-cells = <1>;
> +		#size-cells = <1>;
> +		ranges;
> +
> +		pxairq: interrupt-controller at 40d00000 {
> +			#interrupt-cells = <1>;
> +			compatible = "marvell,pxa-irq";
> +			interrupt-controller;
> +			interrupt-parent;
> +			reg = <0x40d00000 0xd0>;
> +		};
> +
> +		ffuart: uart at 40100000 {
> +			compatible = "marvell,pxa2xx-uart";
> +			reg = <0x40100000 0x30>;
> +			interrupts = <22>;
> +			status = "disabled";
> +		};
> +
> +		btuart: uart at 40200000 {
> +			compatible = "marvell,pxa2xx-uart";
> +			reg = <0x40200000 0x30>;
> +			interrupts = <21>;
> +			status = "disabled";
> +		};
> +
> +		stuart: uart at 40700000 {
> +			compatible = "marvell,pxa2xx-uart";
> +			reg = <0x40700000 0x30>;
> +			interrupts = <20>;
> +			status = "disabled";
> +		};
> +
> +		hwuart: uart at 41100000 {
> +			compatible = "marvell,pxa2xx-uart";
> +			reg = <0x41100000 0x30>;
> +			interrupts = <7>;
> +			status = "disabled";
> +		};
> +	};
> +};

  reply	other threads:[~2011-11-07 21:45 UTC|newest]

Thread overview: 41+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-01 18:32 [PATCH 0/3] Initial PXA DT bindings Marek Vasut
2011-11-01 18:32 ` [PATCH 1/3] ARM: pxa: Add DT support to pxa2xx-uart Marek Vasut
2011-11-01 20:00   ` Rob Herring
2011-11-01 20:15     ` Marek Vasut
2011-11-02 13:52       ` Rob Herring
2011-11-02 14:30         ` Marek Vasut
2011-11-07 22:24   ` Grant Likely
2011-11-07 22:25     ` Marek Vasut
2011-11-01 18:32 ` [PATCH 2/3] ARM: pxa: Add DT testing machine Marek Vasut
2011-11-07 22:18   ` Grant Likely
2011-11-07 22:24     ` Marek Vasut
2011-11-01 18:32 ` [PATCH 3/3] ARM: pxa: Add basic DTS files for PXA/Vpac270 " Marek Vasut
2011-11-07 21:31 ` [PATCH 0/3 V2] Initial PXA DT bindings Marek Vasut
2011-11-07 21:31   ` [PATCH 1/3 V2] ARM: pxa: Add DT support to pxa2xx-uart Marek Vasut
2011-11-07 21:37     ` Rob Herring
2011-11-07 21:53       ` Marek Vasut
2011-11-10 12:00     ` Russell King - ARM Linux
2011-11-10 16:59       ` Marek Vasut
2011-11-10 17:07         ` Rob Herring
2011-11-07 21:31   ` [PATCH 2/3 RESEND] ARM: pxa: Add DT testing machine Marek Vasut
2011-11-07 21:59     ` Rob Herring
2011-11-07 22:06       ` Marek Vasut
2011-11-07 22:30         ` Grant Likely
2011-11-07 22:31           ` Marek Vasut
2011-11-07 22:38             ` Rob Herring
2011-11-07 22:32         ` Rob Herring
2011-11-08  1:12           ` Grant Likely
2011-11-07 21:31   ` [PATCH 3/3 V2] ARM: pxa: Add basic DTS files for PXA/Vpac270 " Marek Vasut
2011-11-07 21:45     ` Rob Herring [this message]
2011-11-07 21:55       ` Marek Vasut
2011-11-07 22:03         ` Rob Herring
2012-07-17 13:30   ` [PATCH 0/3 V2] Initial PXA DT bindings Daniel Mack
2012-07-17 14:03     ` Arnd Bergmann
2012-07-17 14:47       ` Daniel Mack
2012-07-17 15:31         ` Arnd Bergmann
2012-07-17 18:04           ` Eric Miao
2012-07-17 19:57             ` Daniel Mack
2012-07-17 20:02               ` Eric Miao
2012-07-19  3:11               ` Haojian Zhuang
2012-07-17 19:14           ` Daniel Mack
2012-07-18 12:58             ` Marek Vasut

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4EB85174.70801@gmail.com \
    --to=robherring2@gmail.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).