Commit graph

26 commits

Author SHA1 Message Date
Linus Walleij 6e1484c276 ARM: ux500: register all SSP and SPI blocks
This adds the SSP and SPI blocks to the device tree and makes
them active. Only this way can their clocks be properly gated
off at boot.

Acked-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2013-10-18 14:55:44 +02:00
Linus Walleij 72b3e249ce ARM: ux500: fix I2C4 clock bit
The PCLK for I2C4 is controlled by bit 10 in the PCKEN registers
while the KCLK is controlled by bit 9 on the KCKEN, it's
one of these odd assymetric things. Correct the PCLK bit to 10.

Acked-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2013-10-18 14:55:43 +02:00
Linus Walleij d591640adc ARM: ux500: fix clock for GPIO blocks 6 and 7
The clock assignment in the device tree for GPIO blocks 6
and 7 was incorrect, indicating this was managed by bit 1 on
PRCC 2 while it was in fact bit 11 on PRCC 2.

Acked-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2013-10-18 13:25:46 +02:00
Linus Walleij 84873cb773 ARM: ux500: fix clock for GPIO block 8
The clock assignment in the device tree for GPIO block 8 was
incorrect, indicating this was managed by bit 1 on PRCC 6
while it was in fact bit 1 on PRCC 5.

Acked-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2013-10-18 13:25:21 +02:00
Lee Jones 985856167d ARM: ux500: Provide a Device Tree node for CPUFreq in the DBx500
This is required to fetch the ARMSS clock when booting with DT.

Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2013-09-26 11:09:23 +02:00
Lee Jones 024cfe880b ARM: ux500: Provide a clock lookup for the Hash driver
The common clock framework will use the 'clock' property provided to do
a clock lookup when Device Tree is enabled.

Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2013-09-26 11:09:20 +02:00
Lee Jones d2f898cec8 ARM: ux500: Provide a clock lookup for the Crypto driver
The common clock framework will use the 'clock' property provided to do
a clock lookup when Device Tree is enabled.

Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2013-09-26 11:09:16 +02:00
Lee Jones d460d28bfb ARM: ux500: Fix trivial white-space error in the DBX500 DTSI file
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2013-09-26 11:09:13 +02:00
Lee Jones 8132ed1bb8 ARM: ux500: Add a DT node for the Nomadik System Timer (MTU0)
The MTU0 is required for full booting of the system. The driver has
been previously DT:ed and is in use on the Nomadik platform, but we
also need to enable it on ux500 based systems.

Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2013-09-26 11:05:13 +02:00
Lee Jones a8acb1ecc5 ARM: ux500: Supply the TWD Timer clock lookup to the DBX500 DT
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2013-09-26 11:05:10 +02:00
Lee Jones 309012d7e0 ARM: ux500: Add TWD (fixed-factor) clock node to DBx500 Device Tree
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2013-09-26 11:05:07 +02:00
Lee Jones d299b5a5ee ARM: ux500: Supply the RTC clock lookup to the DBX500 DT
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2013-09-26 11:05:03 +02:00
Lee Jones 589d9839df ARM: ux500: Add RTC (fixed-frequency) clock node to DBx500 Device Tree
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2013-09-26 11:05:00 +02:00
Lee Jones 133e6027e7 ARM: ux500: Supply the MSP (Audio) clocks lookup to the DBX500 DT
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2013-09-26 11:04:57 +02:00
Lee Jones 604be89846 ARM: ux500: Supply the SDI (MMC) clocks lookup to the DBX500 DT
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2013-09-26 11:04:54 +02:00
Lee Jones 5a323fb4f7 ARM: ux500: Supply the UART clocks lookup to the DBX500 DT
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2013-09-26 11:04:50 +02:00
Lee Jones afd653e97d ARM: ux500: Supply the I2C clocks lookup to the DBX500 DT
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2013-09-26 11:04:47 +02:00
Lee Jones 2588fea6a5 ARM: ux500: Add PRCC Kernel clock node to DBx500 Device Tree
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2013-09-26 11:04:44 +02:00
Lee Jones e47339fff2 ARM: ux500: Supply the USB clock lookup to the DBX500 DT
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2013-09-26 11:04:37 +02:00
Lee Jones 9d89107374 ARM: ux500: Supply the GPIO clocks lookup to the DBX500 DT
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2013-09-26 11:04:33 +02:00
Lee Jones fcbe5e90f8 ARM: ux500: Add PRCC Peripheral clock node to DBx500 Device Tree
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2013-09-26 11:04:30 +02:00
Lee Jones e064cb24f2 ARM: ux500: Supply the DMA clock lookup to the DBX500 DT
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2013-09-26 11:04:26 +02:00
Lee Jones 841cd0c0d8 ARM: ux500: Add PRCMU clock node to DBx500 Device Tree
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2013-09-26 11:04:21 +02:00
Sebastian Andrzej Siewior 4a6cd43fb7 dt: dbx5x0: remove mentor,musb binding
The "mentor,musb" binding isn't documented so I was about
to document it.

The node is missing a few properties for configuration like
"multipoint", "dyn_fifo", "num_eps" or "ram_bits". However
I am not sure "missing" is the right word here because some
of those informations might be obtained from the chip itself
but it is not done (yet).

Further the ePARP 2.3.1 says the matching goes from left to
right taking the fist match. Right now there is jus a driver
for "stericsson,db8500-musb" and none for "mentor,musb".
I'm not 100% that it is simply possible to have a generic
since even for DMA we have ifdefs in the driver between
"generic mentor dma" and "ux500 dma" and I mean within musb
and not the dma code.

For that reason (that I am not sure a generic musb binding
is possible and how its binding / required properties will
look like) and the reason that we have here a minor binding
without a driver to look at I suggest to remove that binding.

If the majority of people prefer to keep this binding I'm
curious how the documentation of the binding should look like.

Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2013-09-26 11:04:02 +02:00
Lee Jones ffefbd7511 ARM: ux500: Remove PrimeCell IDs from Nomadik I2C DT nodes
Turns out that they're actually not required and the driver probes just
fine without them. The ID is incorrect at the moment anyway. They actually
currently specify the stn8815.

Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2013-09-26 11:03:37 +02:00
Lee Jones c105424a51 ARM: ux500: Apply a ste-* prefix onto dbx5x0.dtsi
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@stericsson.com>
2013-08-07 15:35:50 +02:00
Renamed from arch/arm/boot/dts/dbx5x0.dtsi (Browse further)