-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'dt-part2' of git://git.kernel.org/pub/scm/linux/kernel/…
…git/tmlind/linux-omap into next/dt * 'dt-part2' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap: arm/dts: mt_ventoux: very basic support for TeeJet Mt.Ventoux board ARM: OMAP2+: Remove extra ifdefs for board-generic ARM: OMAP2+: Fix build error when only ARCH_OMAP2/3 or 4 is selected ARM: OMAP2+: board-generic: Use of_irq_init API arm/dts: OMAP3: Add interrupt-controller bindings for INTC ARM: OMAP2/3: intc: Add DT support for TI interrupt controller
- Loading branch information
Showing
6 changed files
with
168 additions
and
63 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
* OMAP Interrupt Controller | ||
|
||
OMAP2/3 are using a TI interrupt controller that can support several | ||
configurable number of interrupts. | ||
|
||
Main node required properties: | ||
|
||
- compatible : should be: | ||
"ti,omap2-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,omap2-intc"; | ||
interrupt-controller; | ||
#interrupt-cells = <1>; | ||
ti,intc-size = <96>; | ||
reg = <0x48200000 0x1000>; | ||
}; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
/* | ||
* Copyright (C) 2011 Ilya Yanok, EmCraft Systems | ||
* | ||
* 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/ "omap3.dtsi" | ||
|
||
/ { | ||
model = "TeeJet Mt.Ventoux"; | ||
compatible = "teejet,mt_ventoux", "ti,omap3"; | ||
|
||
memory { | ||
device_type = "memory"; | ||
reg = <0x80000000 0x10000000>; /* 256 MB */ | ||
}; | ||
|
||
/* AM35xx doesn't have IVA */ | ||
soc { | ||
iva { | ||
status = "disabled"; | ||
}; | ||
}; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.