Skip to content

Commit

Permalink
Merge branches 'depends/rmk/devel-stable' and 'tegra/dt' into next/soc
Browse files Browse the repository at this point in the history
Dependencies for tegra/soc branch

Conflicts:
  arch/arm/mach-tegra/board-dt.c

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
  • Loading branch information
Arnd Bergmann committed Dec 27, 2011
3 parents 017c899 + 3bdc348 + bad1340 commit 0782e5b
Show file tree
Hide file tree
Showing 78 changed files with 2,042 additions and 506 deletions.
14 changes: 14 additions & 0 deletions Documentation/devicetree/bindings/arm/tegra.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
NVIDIA Tegra device tree bindings
-------------------------------------------

Boards with the tegra20 SoC shall have the following properties:

Required root node property:

compatible = "nvidia,tegra20";

Boards with the tegra30 SoC shall have the following properties:

Required root node property:

compatible = "nvidia,tegra30";
13 changes: 13 additions & 0 deletions Documentation/devicetree/bindings/usb/tegra-usb.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
Tegra SOC USB controllers

The device node for a USB controller that is part of a Tegra
SOC is as described in the document "Open Firmware Recommended
Practice : Universal Serial Bus" with the following modifications
and additions :

Required properties :
- compatible : Should be "nvidia,tegra20-ehci" for USB controllers
used in host mode.
- phy_type : Should be one of "ulpi" or "utmi".
- nvidia,vbus-gpio : If present, specifies a gpio that needs to be
activated for the bus to be powered.
4 changes: 2 additions & 2 deletions arch/arm/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -1971,7 +1971,7 @@ endchoice

config XIP_KERNEL
bool "Kernel Execute-In-Place from ROM"
depends on !ZBOOT_ROM
depends on !ZBOOT_ROM && !ARM_LPAE
help
Execute-In-Place allows the kernel to run from non-volatile storage
directly addressable by the CPU, such as NOR flash. This saves RAM
Expand Down Expand Up @@ -2001,7 +2001,7 @@ config XIP_PHYS_ADDR

config KEXEC
bool "Kexec system call (EXPERIMENTAL)"
depends on EXPERIMENTAL
depends on EXPERIMENTAL && (!SMP || HOTPLUG_CPU)
help
kexec is a system call that implements the ability to shutdown your
current kernel, and to start another kernel. It is like a reboot
Expand Down
1 change: 1 addition & 0 deletions arch/arm/boot/compressed/head.S
Original file line number Diff line number Diff line change
Expand Up @@ -659,6 +659,7 @@ __armv7_mmu_cache_on:
mcrne p15, 0, r3, c2, c0, 0 @ load page table pointer
mcrne p15, 0, r1, c3, c0, 0 @ load domain access control
#endif
mcr p15, 0, r0, c7, c5, 4 @ ISB
mcr p15, 0, r0, c1, c0, 0 @ load control register
mrc p15, 0, r0, c1, c0, 0 @ and read it back
mov r0, #0
Expand Down
29 changes: 24 additions & 5 deletions arch/arm/boot/dts/tegra-harmony.dts
Original file line number Diff line number Diff line change
@@ -1,16 +1,11 @@
/dts-v1/;

/memreserve/ 0x1c000000 0x04000000;
/include/ "tegra20.dtsi"

/ {
model = "NVIDIA Tegra2 Harmony evaluation board";
compatible = "nvidia,harmony", "nvidia,tegra20";

chosen {
bootargs = "vmalloc=192M video=tegrafb console=ttyS0,115200n8 root=/dev/mmcblk0p2 rw rootwait";
};

memory@0 {
reg = < 0x00000000 0x40000000 >;
};
Expand Down Expand Up @@ -52,16 +47,40 @@
ext-mic-en-gpios = <&gpio 185 0>;
};

serial@70006000 {
status = "disable";
};

serial@70006040 {
status = "disable";
};

serial@70006200 {
status = "disable";
};

serial@70006300 {
clock-frequency = < 216000000 >;
};

serial@70006400 {
status = "disable";
};

sdhci@c8000000 {
status = "disable";
};

sdhci@c8000200 {
cd-gpios = <&gpio 69 0>; /* gpio PI5 */
wp-gpios = <&gpio 57 0>; /* gpio PH1 */
power-gpios = <&gpio 155 0>; /* gpio PT3 */
};

sdhci@c8000400 {
status = "disable";
};

sdhci@c8000600 {
cd-gpios = <&gpio 58 0>; /* gpio PH2 */
wp-gpios = <&gpio 59 0>; /* gpio PH3 */
Expand Down
77 changes: 77 additions & 0 deletions arch/arm/boot/dts/tegra-paz00.dts
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
/dts-v1/;

/include/ "tegra20.dtsi"

/ {
model = "Toshiba AC100 / Dynabook AZ";
compatible = "compal,paz00", "nvidia,tegra20";

memory@0 {
reg = <0x00000000 0x20000000>;
};

i2c@7000c000 {
clock-frequency = <400000>;
};

i2c@7000c400 {
clock-frequency = <400000>;
};

i2c@7000c500 {
status = "disable";
};

nvec@7000c500 {
#address-cells = <1>;
#size-cells = <0>;
compatible = "nvidia,nvec";
reg = <0x7000C500 0x100>;
interrupts = <0 92 0x04>;
clock-frequency = <80000>;
request-gpios = <&gpio 170 0>;
slave-addr = <138>;
};

i2c@7000d000 {
clock-frequency = <400000>;
};

serial@70006000 {
clock-frequency = <216000000>;
};

serial@70006040 {
status = "disable";
};

serial@70006200 {
status = "disable";
};

serial@70006300 {
clock-frequency = <216000000>;
};

serial@70006400 {
status = "disable";
};

sdhci@c8000000 {
cd-gpios = <&gpio 173 0>; /* gpio PV5 */
wp-gpios = <&gpio 57 0>; /* gpio PH1 */
power-gpios = <&gpio 155 0>; /* gpio PT3 */
};

sdhci@c8000200 {
status = "disable";
};

sdhci@c8000400 {
status = "disable";
};

sdhci@c8000600 {
support-8bit;
};
};
74 changes: 69 additions & 5 deletions arch/arm/boot/dts/tegra-seaboard.dts
Original file line number Diff line number Diff line change
@@ -1,25 +1,65 @@
/dts-v1/;

/memreserve/ 0x1c000000 0x04000000;
/include/ "tegra20.dtsi"

/ {
model = "NVIDIA Seaboard";
compatible = "nvidia,seaboard", "nvidia,tegra20";

chosen {
bootargs = "vmalloc=192M video=tegrafb console=ttyS0,115200n8 root=/dev/mmcblk1p3 rw rootwait";
};

memory {
device_type = "memory";
reg = < 0x00000000 0x40000000 >;
};

i2c@7000c000 {
clock-frequency = <400000>;
};

i2c@7000c400 {
clock-frequency = <400000>;
};

i2c@7000c500 {
clock-frequency = <400000>;
};

i2c@7000d000 {
clock-frequency = <400000>;

adt7461@4c {
compatible = "adt7461";
reg = <0x4c>;
};
};

serial@70006000 {
status = "disable";
};

serial@70006040 {
status = "disable";
};

serial@70006200 {
status = "disable";
};

serial@70006300 {
clock-frequency = < 216000000 >;
};

serial@70006400 {
status = "disable";
};

sdhci@c8000000 {
status = "disable";
};

sdhci@c8000200 {
status = "disable";
};

sdhci@c8000400 {
cd-gpios = <&gpio 69 0>; /* gpio PI5 */
wp-gpios = <&gpio 57 0>; /* gpio PH1 */
Expand All @@ -29,4 +69,28 @@
sdhci@c8000600 {
support-8bit;
};

usb@c5000000 {
nvidia,vbus-gpio = <&gpio 24 0>; /* PD0 */
};

gpio-keys {
compatible = "gpio-keys";

power {
label = "Power";
gpios = <&gpio 170 1>; /* gpio PV2, active low */
linux,code = <116>; /* KEY_POWER */
gpio-key,wakeup;
};

lid {
label = "Lid";
gpios = <&gpio 23 0>; /* gpio PC7 */
linux,input-type = <5>; /* EV_SW */
linux,code = <0>; /* SW_LID */
debounce-interval = <1>;
gpio-key,wakeup;
};
};
};
65 changes: 65 additions & 0 deletions arch/arm/boot/dts/tegra-trimslice.dts
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
/dts-v1/;

/include/ "tegra20.dtsi"

/ {
model = "Compulab TrimSlice board";
compatible = "compulab,trimslice", "nvidia,tegra20";

memory@0 {
reg = < 0x00000000 0x40000000 >;
};

i2c@7000c000 {
clock-frequency = <400000>;
};

i2c@7000c400 {
clock-frequency = <400000>;
};

i2c@7000c500 {
clock-frequency = <400000>;
};

i2c@7000d000 {
status = "disable";
};

serial@70006000 {
clock-frequency = < 216000000 >;
};

serial@70006040 {
status = "disable";
};

serial@70006200 {
status = "disable";
};

serial@70006300 {
status = "disable";
};

serial@70006400 {
status = "disable";
};

sdhci@c8000000 {
status = "disable";
};

sdhci@c8000200 {
status = "disable";
};

sdhci@c8000400 {
status = "disable";
};

sdhci@c8000600 {
cd-gpios = <&gpio 121 0>;
wp-gpios = <&gpio 122 0>;
};
};
Loading

0 comments on commit 0782e5b

Please sign in to comment.