Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 313331
b: refs/heads/master
c: feb7b8d
h: refs/heads/master
i:
  313329: 5f91edc
  313327: 0636cdf
v: v3
  • Loading branch information
Arnd Bergmann committed Jul 17, 2012
1 parent 1e975b9 commit 2ec14a7
Show file tree
Hide file tree
Showing 121 changed files with 4,188 additions and 683 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 79989ba3e201f3bf992e600a0745ecaf256f08f5
refs/heads/master: feb7b8d6d2b2eedbca5a55b5dc74d9d967c91151
27 changes: 27 additions & 0 deletions trunk/Documentation/devicetree/bindings/arm/davinci/cp-intc.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
* TI Common Platform Interrupt Controller

Common Platform Interrupt Controller (cp_intc) is used on
OMAP-L1x SoCs and can support several configurable number
of interrupts.

Main node required properties:

- compatible : should be:
"ti,cp-intc"
- interrupt-controller : Identifies the node as an interrupt controller
- #interrupt-cells : Specifies the number of cells needed to encode an
interrupt source. The type shall be a <u32> and the value shall be 1.

The cell contains the interrupt number in the range [0-128].
- ti,intc-size: Number of interrupts handled by the interrupt controller.
- reg: physical base address and size of the intc registers map.

Example:

intc: interrupt-controller@1 {
compatible = "ti,cp-intc";
interrupt-controller;
#interrupt-cells = <1>;
ti,intc-size = <101>;
reg = <0xfffee000 0x2000>;
};
6 changes: 6 additions & 0 deletions trunk/Documentation/devicetree/bindings/arm/olimex.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Olimex i.MX Platforms Device Tree Bindings
------------------------------------------

i.MX23 Olinuxino Low Cost Board
Required root node properties:
- compatible = "olimex,imx23-olinuxino", "fsl,imx23";
3 changes: 3 additions & 0 deletions trunk/Documentation/devicetree/bindings/arm/omap/omap.txt
Original file line number Diff line number Diff line change
Expand Up @@ -47,3 +47,6 @@ Boards:

- AM335X EVM : Software Developement Board for AM335x
compatible = "ti,am335x-evm", "ti,am33xx", "ti,omap3"

- AM335X Bone : Low cost community board
compatible = "ti,am335x-bone", "ti,am33xx", "ti,omap3"
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Child device nodes describe the memory settings for different configurations and

Example:

emc@7000f400 {
memory-controller@7000f400 {
#address-cells = < 1 >;
#size-cells = < 0 >;
compatible = "nvidia,tegra20-emc";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Required properties:
- interrupts : Should contain MC General interrupt.

Example:
mc {
memory-controller@0x7000f000 {
compatible = "nvidia,tegra20-mc";
reg = <0x7000f000 0x024
0x7000f03c 0x3c4>;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Required properties:
- interrupts : Should contain MC General interrupt.

Example:
mc {
memory-controller {
compatible = "nvidia,tegra30-mc";
reg = <0x7000f000 0x010
0x7000f03c 0x1b4
Expand Down
19 changes: 19 additions & 0 deletions trunk/Documentation/devicetree/bindings/fb/mxsfb.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
* Freescale MXS LCD Interface (LCDIF)

Required properties:
- compatible: Should be "fsl,<chip>-lcdif". Supported chips include
imx23 and imx28.
- reg: Address and length of the register set for lcdif
- interrupts: Should contain lcdif interrupts

Optional properties:
- panel-enable-gpios : Should specify the gpio for panel enable

Examples:

lcdif@80030000 {
compatible = "fsl,imx28-lcdif";
reg = <0x80030000 2000>;
interrupts = <38 86>;
panel-enable-gpios = <&gpio3 30 0>;
};
14 changes: 12 additions & 2 deletions trunk/Documentation/devicetree/bindings/gpio/fsl-imx-gpio.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,16 @@ Required properties:
by low 16 pins and the second one is for high 16 pins.
- gpio-controller : Marks the device node as a gpio controller.
- #gpio-cells : Should be two. The first cell is the pin number and
the second cell is used to specify optional parameters (currently
unused).
the second cell is used to specify the gpio polarity:
0 = active high
1 = active low
- interrupt-controller: Marks the device node as an interrupt controller.
- #interrupt-cells : Should be 2. The first cell is the GPIO number.
The second cell bits[3:0] is used to specify trigger type and level flags:
1 = low-to-high edge triggered.
2 = high-to-low edge triggered.
4 = active high level-sensitive.
8 = active low level-sensitive.

Example:

Expand All @@ -19,4 +27,6 @@ gpio0: gpio@73f84000 {
interrupts = <50 51>;
gpio-controller;
#gpio-cells = <2>;
interrupt-controller;
#interrupt-cells = <2>;
};
5 changes: 3 additions & 2 deletions trunk/Documentation/devicetree/bindings/gpio/gpio-mxs.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,9 @@ Required properties for GPIO node:
- interrupts : Should be the port interrupt shared by all 32 pins.
- gpio-controller : Marks the device node as a gpio controller.
- #gpio-cells : Should be two. The first cell is the pin number and
the second cell is used to specify optional parameters (currently
unused).
the second cell is used to specify the gpio polarity:
0 = active high
1 = active low
- interrupt-controller: Marks the device node as an interrupt controller.
- #interrupt-cells : Should be 2. The first cell is the GPIO number.
The second cell bits[3:0] is used to specify trigger type and level flags:
Expand Down
16 changes: 16 additions & 0 deletions trunk/Documentation/devicetree/bindings/rtc/stmp3xxx-rtc.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
* STMP3xxx/i.MX28 Time Clock controller

Required properties:
- compatible: should be one of the following.
* "fsl,stmp3xxx-rtc"
- reg: physical base address of the controller and length of memory mapped
region.
- interrupts: rtc alarm interrupt

Example:

rtc@80056000 {
compatible = "fsl,imx28-rtc", "fsl,stmp3xxx-rtc";
reg = <0x80056000 2000>;
interrupts = <29>;
};
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
* Freescale MXS Application UART (AUART)

Required properties:
- compatible : Should be "fsl,<soc>-auart". The supported SoCs include
imx23 and imx28.
- reg : Address and length of the register set for the device
- interrupts : Should contain the auart interrupt numbers

Example:
auart0: serial@8006a000 {
compatible = "fsl,imx28-auart", "fsl,imx23-auart";
reg = <0x8006a000 0x2000>;
interrupts = <112 70 71>;
};

Note: Each auart port should have an alias correctly numbered in "aliases"
node.

Example:

aliases {
serial0 = &auart0;
serial1 = &auart1;
serial2 = &auart2;
serial3 = &auart3;
serial4 = &auart4;
};
14 changes: 14 additions & 0 deletions trunk/Documentation/devicetree/bindings/watchdog/omap-wdt.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
TI Watchdog Timer (WDT) Controller for OMAP

Required properties:
compatible:
- "ti,omap3-wdt" for OMAP3
- "ti,omap4-wdt" for OMAP4
- ti,hwmods: Name of the hwmod associated to the WDT

Examples:

wdt2: wdt@4a314000 {
compatible = "ti,omap4-wdt", "ti,omap3-wdt";
ti,hwmods = "wd_timer2";
};
4 changes: 1 addition & 3 deletions trunk/arch/arm/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -913,7 +913,7 @@ config ARCH_NOMADIK
select ARM_AMBA
select ARM_VIC
select CPU_ARM926T
select CLKDEV_LOOKUP
select COMMON_CLK
select GENERIC_CLOCKEVENTS
select PINCTRL
select MIGHT_HAVE_CACHE_L2X0
Expand Down Expand Up @@ -1021,8 +1021,6 @@ source "arch/arm/mach-kirkwood/Kconfig"

source "arch/arm/mach-ks8695/Kconfig"

source "arch/arm/mach-lpc32xx/Kconfig"

source "arch/arm/mach-msm/Kconfig"

source "arch/arm/mach-mv78xx0/Kconfig"
Expand Down
113 changes: 113 additions & 0 deletions trunk/arch/arm/boot/dts/aks-cdu.dts
Original file line number Diff line number Diff line change
@@ -0,0 +1,113 @@
/*
* aks-cdu.dts - Device Tree file for AK signal CDU
*
* Copyright (C) 2012 AK signal Brno a.s.
* 2012 Jiri Prchal <jiri.prchal@aksignal.cz>
*
* Licensed under GPLv2 or later.
*/

/dts-v1/;

/include/ "ge863-pro3.dtsi"

/ {
chosen {
bootargs = "console=ttyS0,115200 ubi.mtd=4 root=ubi0:rootfs rootfstype=ubifs";
};

ahb {
apb {
usart0: serial@fffb0000 {
status = "okay";
};

usart1: serial@fffb4000 {
status = "okay";
linux,rs485-enabled-at-boot-time;
rs485-rts-delay = <0 0>;
};

usart2: serial@fffb8000 {
status = "okay";
linux,rs485-enabled-at-boot-time;
rs485-rts-delay = <0 0>;
};

usart3: serial@fffd0000 {
status = "okay";
linux,rs485-enabled-at-boot-time;
rs485-rts-delay = <0 0>;
};

macb0: ethernet@fffc4000 {
phy-mode = "rmii";
status = "okay";
};

usb1: gadget@fffa4000 {
atmel,vbus-gpio = <&pioC 15 0>;
status = "okay";
};
};

usb0: ohci@00500000 {
num-ports = <2>;
status = "okay";
};

nand0: nand@40000000 {
nand-bus-width = <8>;
nand-ecc-mode = "soft";
nand-on-flash-bbt;
status = "okay";

bootstrap@0 {
label = "bootstrap";
reg = <0x0 0x40000>;
};

uboot@40000 {
label = "uboot";
reg = <0x40000 0x80000>;
};
ubootenv@c0000 {
label = "ubootenv";
reg = <0xc0000 0x40000>;
};
kernel@100000 {
label = "kernel";
reg = <0x100000 0x400000>;
};
rootfs@500000 {
label = "rootfs";
reg = <0x500000 0x7b00000>;
};
};
};

leds {
compatible = "gpio-leds";

red {
gpios = <&pioC 10 0>;
linux,default-trigger = "none";
};

green {
gpios = <&pioA 5 1>;
linux,default-trigger = "none";
default-state = "on";
};

yellow {
gpios = <&pioB 20 1>;
linux,default-trigger = "none";
};

blue {
gpios = <&pioB 21 1>;
linux,default-trigger = "none";
};
};
};
20 changes: 20 additions & 0 deletions trunk/arch/arm/boot/dts/am335x-bone.dts
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
/*
* Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*/
/dts-v1/;

/include/ "am33xx.dtsi"

/ {
model = "TI AM335x BeagleBone";
compatible = "ti,am335x-bone", "ti,am33xx";

memory {
device_type = "memory";
reg = <0x80000000 0x10000000>; /* 256 MB */
};
};
20 changes: 20 additions & 0 deletions trunk/arch/arm/boot/dts/am335x-evm.dts
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
/*
* Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*/
/dts-v1/;

/include/ "am33xx.dtsi"

/ {
model = "TI AM335x EVM";
compatible = "ti,am335x-evm", "ti,am33xx";

memory {
device_type = "memory";
reg = <0x80000000 0x10000000>; /* 256 MB */
};
};
Loading

0 comments on commit 2ec14a7

Please sign in to comment.