From: Lucas Stach <dev@lynxeye.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 5/7] Tegra30: Cardhu: Add DT files
Date: Wed, 03 Oct 2012 02:07:55 +0200 [thread overview]
Message-ID: <1349222875.1393.1.camel@tellur> (raw)
In-Reply-To: <1349217955-8729-6-git-send-email-twarren@nvidia.com>
Am Dienstag, den 02.10.2012, 15:45 -0700 schrieb Tom Warren:
> These are stripped down for bringup, They'll be filled out later
> to match-up with the kernel DT contents, and/or as devices are
> brought up (mmc, usb, spi, etc.).
>
> Signed-off-by: Tom Warren <twarren@nvidia.com>
> ---
> arch/arm/dts/tegra30.dtsi | 30 ++++++++++++++++++++++++++++++
> board/nvidia/dts/tegra30-cardhu.dts | 35 +++++++++++++++++++++++++++++++++++
> 2 files changed, 65 insertions(+), 0 deletions(-)
> create mode 100644 arch/arm/dts/tegra30.dtsi
> create mode 100644 board/nvidia/dts/tegra30-cardhu.dts
>
> diff --git a/arch/arm/dts/tegra30.dtsi b/arch/arm/dts/tegra30.dtsi
> new file mode 100644
> index 0000000..122c134
> --- /dev/null
> +++ b/arch/arm/dts/tegra30.dtsi
> @@ -0,0 +1,30 @@
> +/include/ "skeleton.dtsi"
> +
> +/ {
> + model = "NVIDIA Tegra30";
> + compatible = "nvidia,tegra30";
> +
> + clocks {
> + #address-cells = <1>;
> + #size-cells = <0>;
> +
> + osc: clock {
> + compatible = "fixed-clock";
> + #clock-cells = <0>;
> + };
> + };
> +
> + gpio: gpio at 6000d000 {
> + compatible = "nvidia,tegra30-gpio", "nvidia,tegra20-gpio";
> + reg = <0x6000d000 0x1000>;
> + #gpio-cells = <2>;
> + gpio-controller;
> + };
> +
> + serial at 70006000 {
> + compatible = "nvidia,tegra30-uart", "nvidia,tegra20-uart";
> + reg = <0x70006000 0x40>;
> + reg-shift = <2>;
> + status = "disabled";
> + };
> +};
> diff --git a/board/nvidia/dts/tegra30-cardhu.dts b/board/nvidia/dts/tegra30-cardhu.dts
> new file mode 100644
> index 0000000..68563e8
> --- /dev/null
> +++ b/board/nvidia/dts/tegra30-cardhu.dts
> @@ -0,0 +1,35 @@
> +/dts-v1/;
> +
> +/memreserve/ 0x1c000000 0x04000000;
> +/include/ ARCH_CPU_DTS
> +
> +/ {
> + model = "NVIDIA Cardhu";
> + compatible = "nvidia,cardhu", "nvidia,tegra30";
> +
> + aliases {
> + };
> +
> + memory {
> + device_type = "memory";
> + reg = <0x80000000 0xc0000000>;
> + };
> +
> + clocks {
> + clk_32k: clk_32k {
> + clock_frequency = <32000>;
> + };
> + osc {
> + clock-frequency = <12000000>;
> + };
> + };
> +
> + clock at 60006000 {
> + clocks = <&clk_32k &osc>;
> + };
Is this clock thing really needed? I don't think we are doing anything
with those DT entries.
> +
> + serial at 70006000 {
> + status = "ok";
> + clock-frequency = < 216000000 >;
> + };
> +};
next prev parent reply other threads:[~2012-10-03 0:07 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-02 22:45 [U-Boot] [PATCH 0/7] Add T30 Cardhu support Tom Warren
2012-10-02 22:45 ` [U-Boot] [PATCH 1/7] Tegra30: Add AVP (arm720t) files Tom Warren
2012-10-03 18:23 ` Stephen Warren
2012-10-03 20:15 ` Tom Warren
2012-10-04 1:11 ` Simon Glass
2012-10-04 0:57 ` Simon Glass
2012-10-02 22:45 ` [U-Boot] [PATCH 2/7] Tegra30: Add CPU (armv7) files Tom Warren
2012-10-03 18:26 ` Stephen Warren
2012-10-03 20:03 ` Tom Warren
2012-10-02 22:45 ` [U-Boot] [PATCH 3/7] Tegra30: Add common CPU (shared) files Tom Warren
2012-10-03 19:49 ` Stephen Warren
2012-10-03 20:27 ` Tom Warren
2012-10-02 22:45 ` [U-Boot] [PATCH 4/7] Tegra30: Add arch-tegra30 include files Tom Warren
2012-10-03 20:31 ` Stephen Warren
2012-10-03 21:48 ` Tom Warren
2012-10-03 22:32 ` Stephen Warren
2012-10-02 22:45 ` [U-Boot] [PATCH 5/7] Tegra30: Cardhu: Add DT files Tom Warren
2012-10-03 0:07 ` Lucas Stach [this message]
2012-10-03 16:05 ` Tom Warren
2012-10-03 20:36 ` Stephen Warren
2012-10-03 21:49 ` Tom Warren
2012-10-02 22:45 ` [U-Boot] [PATCH 6/7] Tegra30: Add generic Tegra30 build support Tom Warren
2012-10-03 20:38 ` Stephen Warren
2012-10-03 21:56 ` Tom Warren
2012-10-03 22:27 ` Stephen Warren
2012-10-02 22:45 ` [U-Boot] [PATCH 7/7] Tegra30: Add/enable Cardhu build (T30 reference board) Tom Warren
2012-10-03 20:46 ` Stephen Warren
2012-10-03 21:05 ` Tom Warren
2012-10-03 16:46 ` [U-Boot] [PATCH 0/7] Add T30 Cardhu support Stephen Warren
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=1349222875.1393.1.camel@tellur \
--to=dev@lynxeye.de \
--cc=u-boot@lists.denx.de \
/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