diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2012-08-02 14:50:24 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-08-02 14:50:24 -0400 |
| commit | 44d82e2963551eafa378a3fc7a923df7853af4e2 (patch) | |
| tree | cfa6be7fda5a455ef93f0c00f3134287e4dc1bbd | |
| parent | bfdf85dfce1f203f8fcca034b8efe339542033fa (diff) | |
| parent | 15a1e1bafe2c924db6d370ad892d7da6c7d83598 (diff) | |
Merge tag 'dt2' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc
Pull arm-soc Marvell Orion device-tree updates from Olof Johansson:
"This contains a set of device-tree conversions for Marvell Orion
platforms that were staged early but took a few tries to get the
branch into a format where it was suitable for us to pick up.
Given that most people working on these platforms are hobbyists with
limited time, we were a bit more flexible with merging it even though
it came in late."
* tag 'dt2' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (21 commits)
ARM: Kirkwood: Replace mrvl with marvell
ARM: Kirkwood: Describe GoFlex Net LEDs and SATA in DT.
ARM: Kirkwood: Describe Dreamplug LEDs in DT.
ARM: Kirkwood: Describe iConnects LEDs in DT.
ARM: Kirkwood: Describe iConnects temperature sensor in DT.
ARM: Kirkwood: Describe IB62x0 LEDs in DT.
ARM: Kirkwood: Describe IB62x0 gpio-keys in DT.
ARM: Kirkwood: Describe DNS32? gpio-keys in DT.
ARM: Kirkwood: Move common portions into a kirkwood-dnskw.dtsi
ARM: Kirkwood: Replace DNS-320/DNS-325 leds with dt bindings
ARM: Kirkwood: Describe DNS325 temperature sensor in DT.
ARM: Kirkwood: Use DT to configure SATA device.
ARM: kirkwood: use devicetree for SPI on dreamplug
ARM: kirkwood: Add LS-XHL and LS-CHLv2 support
ARM: Kirkwood: Initial DTS support for Kirkwood GoFlex Net
ARM: Kirkwood: Add basic device tree support for QNAP TS219.
ATA: sata_mv: Add device tree support
ARM: Orion: DTify the watchdog timer.
ARM: Orion: Add arch support needed for I2C via DT.
ARM: kirkwood: use devicetree for orion-spi
...
Conflicts:
drivers/watchdog/orion_wdt.c
43 files changed, 1387 insertions, 569 deletions
diff --git a/Documentation/devicetree/bindings/arm/mrvl/intc.txt b/Documentation/devicetree/bindings/arm/mrvl/intc.txt index 80b9a94d9a23..8b53273cb22f 100644 --- a/Documentation/devicetree/bindings/arm/mrvl/intc.txt +++ b/Documentation/devicetree/bindings/arm/mrvl/intc.txt | |||
| @@ -38,3 +38,23 @@ Example: | |||
| 38 | reg-names = "mux status", "mux mask"; | 38 | reg-names = "mux status", "mux mask"; |
| 39 | mrvl,intc-nr-irqs = <2>; | 39 | mrvl,intc-nr-irqs = <2>; |
| 40 | }; | 40 | }; |
| 41 | |||
| 42 | * Marvell Orion Interrupt controller | ||
| 43 | |||
| 44 | Required properties | ||
| 45 | - compatible : Should be "marvell,orion-intc". | ||
| 46 | - #interrupt-cells: Specifies the number of cells needed to encode an | ||
| 47 | interrupt source. Supported value is <1>. | ||
| 48 | - interrupt-controller : Declare this node to be an interrupt controller. | ||
| 49 | - reg : Interrupt mask address. A list of 4 byte ranges, one per controller. | ||
| 50 | One entry in the list represents 32 interrupts. | ||
| 51 | |||
| 52 | Example: | ||
| 53 | |||
| 54 | intc: interrupt-controller { | ||
| 55 | compatible = "marvell,orion-intc", "marvell,intc"; | ||
| 56 | interrupt-controller; | ||
| 57 | #interrupt-cells = <1>; | ||
| 58 | reg = <0xfed20204 0x04>, | ||
| 59 | <0xfed20214 0x04>; | ||
| 60 | }; | ||
diff --git a/Documentation/devicetree/bindings/ata/marvell.txt b/Documentation/devicetree/bindings/ata/marvell.txt new file mode 100644 index 000000000000..b5cdd20cde9c --- /dev/null +++ b/Documentation/devicetree/bindings/ata/marvell.txt | |||
| @@ -0,0 +1,16 @@ | |||
| 1 | * Marvell Orion SATA | ||
| 2 | |||
| 3 | Required Properties: | ||
| 4 | - compatibility : "marvell,orion-sata" | ||
| 5 | - reg : Address range of controller | ||
| 6 | - interrupts : Interrupt controller is using | ||
| 7 | - nr-ports : Number of SATA ports in use. | ||
| 8 | |||
| 9 | Example: | ||
| 10 | |||
| 11 | sata@80000 { | ||
| 12 | compatible = "marvell,orion-sata"; | ||
| 13 | reg = <0x80000 0x5000>; | ||
| 14 | interrupts = <21>; | ||
| 15 | nr-ports = <2>; | ||
| 16 | } | ||
diff --git a/Documentation/devicetree/bindings/gpio/mrvl-gpio.txt b/Documentation/devicetree/bindings/gpio/mrvl-gpio.txt index 05428f39d9ac..e13787498bcf 100644 --- a/Documentation/devicetree/bindings/gpio/mrvl-gpio.txt +++ b/Documentation/devicetree/bindings/gpio/mrvl-gpio.txt | |||
| @@ -27,3 +27,26 @@ Example: | |||
| 27 | interrupt-controller; | 27 | interrupt-controller; |
| 28 | #interrupt-cells = <1>; | 28 | #interrupt-cells = <1>; |
| 29 | }; | 29 | }; |
| 30 | |||
| 31 | * Marvell Orion GPIO Controller | ||
| 32 | |||
| 33 | Required properties: | ||
| 34 | - compatible : Should be "marvell,orion-gpio" | ||
| 35 | - reg : Address and length of the register set for controller. | ||
| 36 | - gpio-controller : So we know this is a gpio controller. | ||
| 37 | - ngpio : How many gpios this controller has. | ||
| 38 | - interrupts : Up to 4 Interrupts for the controller. | ||
| 39 | |||
| 40 | Optional properties: | ||
| 41 | - mask-offset : For SMP Orions, offset for Nth CPU | ||
| 42 | |||
| 43 | Example: | ||
| 44 | |||
| 45 | gpio0: gpio@10100 { | ||
| 46 | compatible = "marvell,orion-gpio"; | ||
| 47 | #gpio-cells = <2>; | ||
| 48 | gpio-controller; | ||
| 49 | reg = <0x10100 0x40>; | ||
| 50 | ngpio = <32>; | ||
| 51 | interrupts = <35>, <36>, <37>, <38>; | ||
| 52 | }; | ||
diff --git a/Documentation/devicetree/bindings/watchdog/marvel.txt b/Documentation/devicetree/bindings/watchdog/marvel.txt new file mode 100644 index 000000000000..0b2503ab0a05 --- /dev/null +++ b/Documentation/devicetree/bindings/watchdog/marvel.txt | |||
| @@ -0,0 +1,14 @@ | |||
| 1 | * Marvell Orion Watchdog Time | ||
| 2 | |||
| 3 | Required Properties: | ||
| 4 | |||
| 5 | - Compatibility : "marvell,orion-wdt" | ||
| 6 | - reg : Address of the timer registers | ||
| 7 | |||
| 8 | Example: | ||
| 9 | |||
| 10 | wdt@20300 { | ||
| 11 | compatible = "marvell,orion-wdt"; | ||
| 12 | reg = <0x20300 0x28>; | ||
| 13 | status = "okay"; | ||
| 14 | }; | ||
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 7980873525b2..e91c7cdc6fe5 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig | |||
| @@ -1151,6 +1151,7 @@ config PLAT_ORION | |||
| 1151 | bool | 1151 | bool |
| 1152 | select CLKSRC_MMIO | 1152 | select CLKSRC_MMIO |
| 1153 | select GENERIC_IRQ_CHIP | 1153 | select GENERIC_IRQ_CHIP |
| 1154 | select IRQ_DOMAIN | ||
| 1154 | select COMMON_CLK | 1155 | select COMMON_CLK |
| 1155 | 1156 | ||
| 1156 | config PLAT_PXA | 1157 | config PLAT_PXA |
diff --git a/arch/arm/boot/dts/kirkwood-dns320.dts b/arch/arm/boot/dts/kirkwood-dns320.dts index 9a33077130e8..5bb0bf39d3b8 100644 --- a/arch/arm/boot/dts/kirkwood-dns320.dts +++ b/arch/arm/boot/dts/kirkwood-dns320.dts | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /dts-v1/; | 1 | /dts-v1/; |
| 2 | 2 | ||
| 3 | /include/ "kirkwood.dtsi" | 3 | /include/ "kirkwood-dnskw.dtsi" |
| 4 | 4 | ||
| 5 | / { | 5 | |
