Cyril Chemparathy <[email protected]> writes:

> TNETV107X is a Texas Instruments SOC that shares a number of common features
> with the Davinci architecture.  Some of the key differences between
> traditional Davincis and this new SOC are as follow:
>
> 1. The SOCs clock architecture includes a new spread-spectrum PLL.  Some
> elements of the clock architecture are reused from Davinci (e.g. LPSC), but
> the PLL related code is overridden using existing interfaces in "struct clk".
>
> 2. The MMR layout on this SOC is substantially different from Davinci.
> Consequently, the fixed I/O map is a whole lot more convoluted (more so than
> DA8xx).  The net impact here is that IO_ADDRESS() will not work on this SoC,
> and therefore all mappings have to be through ioremap().
>
> Signed-off-by: Cyril Chemparathy <[email protected]>

[...]

> diff --git a/arch/arm/mach-davinci/include/mach/tnetv107x.h 
> b/arch/arm/mach-davinci/include/mach/tnetv107x.h
> new file mode 100644
> index 0000000..cc44678
> --- /dev/null
> +++ b/arch/arm/mach-davinci/include/mach/tnetv107x.h
> @@ -0,0 +1,56 @@
> +/*
> + * Texas Instruments TNETV107X SoC Specific Defines
> + *
> + * Copyright (C) 2010 Texas Instruments
> + *
> + * This program is free software; you can redistribute it and/or
> + * modify it under the terms of the GNU General Public License as
> + * published by the Free Software Foundation version 2.
> + *
> + * This program is distributed "as is" WITHOUT ANY WARRANTY of any
> + * kind, whether express or implied; without even the implied warranty
> + * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> + * GNU General Public License for more details.
> + */
> +#ifndef __ASM_ARCH_DAVINCI_TNETV107X_H
> +#define __ASM_ARCH_DAVINCI_TNETV107X_H
> +
> +#include <asm/sizes.h>
> +
> +#define TNETV107X_DDR_BASE   0x80000000
> +
> +/*
> + * Fixed mapping for early init starts here. If low-level debug is enabled,
> + * this area also gets mapped via io_pg_offset and io_phys by the boot code.
> + * To fit in with the io_pg_offset calculation, the io base address selected
> + * here _must_ be a multiple of 2^20.
> + */
> +#define TNETV107X_IO_BASE    0x08000000
> +#define TNETV107X_IO_VIRT    (IO_VIRT + SZ_1M)
> +
> +#define PINMUX(x)            (4 * (x))

minor nit...

Isn't this a duplicate of what is now in <mach/mux.h> ?

Kevin
_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to