aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2012-11-24ARM: kirkwood: Add NAND partiton map for OpenBlocks A6Nobuhiro Iwamatsu1-0/+30
Signed-off-by: Nobuhiro Iwamatsu <[email protected]> Signed-off-by: Jason Cooper <[email protected]>
2012-11-24ARM: kirkwood: Add support second I2C bus and RTC on OpenBlocks A6Nobuhiro Iwamatsu1-0/+10
OpenBlocks A6 uses second I2C with RTC of s35390a. This supports them. Signed-off-by: Nobuhiro Iwamatsu <[email protected]> Signed-off-by: Jason Cooper <[email protected]>
2012-11-24ARM: kirkwood: Add support DT of second I2C busNobuhiro Iwamatsu1-1/+11
Second I2C bus is supported by 88f6282 and 88f6283. This creates kirkwood-6282.dtsi, and defines DT table of second I2C bus. Signed-off-by: Nobuhiro Iwamatsu <[email protected]> Signed-off-by: Jason Cooper <[email protected]>
2012-11-24ARM: kirkwood: Convert mplcec4 board to pinctrlStefan Peter3-36/+65
Signed-off-by: Stefan Peter <[email protected]> Acked-by: Andrew Lunn <[email protected]> Signed-off-by: Jason Cooper <[email protected]>
2012-11-24ARM: Kirkwood: Convert km_kirkwood to pinctrlValentin Longchamp2-12/+17
Signed-off-by: Valentin Longchamp <[email protected]> Signed-off-by: Andrew Lunn <[email protected]> Signed-off-by: Jason Cooper <[email protected]>
2012-11-24ARM: Kirkwood: support 98DX412x kirkwoods with pinctrlValentin Longchamp3-278/+360
The Marvell 98DX412x SoC embed a kirkwood variant that does not have pinctrl support yet. Even though this kirkwood is very similar to the 88f6281, on the MPP front a lot of pins are not available. That's why a new kirkwood pinctrl variant is needed. Signed-off-by: Valentin Longchamp <[email protected]> Signed-off-by: Andrew Lunn <[email protected]> Signed-off-by: Jason Cooper <[email protected]>
2012-11-24ARM: Kirkwood: Convert IX2-200 to pinctrl.Andrew Lunn2-24/+89
Signed-off-by: Andrew Lunn <[email protected]> Signed-off-by: Jason Cooper <[email protected]>
2012-11-24ARM: Kirkwood: Convert lsxl boards to pinctrl.Andrew Lunn2-19/+66
Signed-off-by: Andrew Lunn <[email protected]> Tested-by: Michael Walle <[email protected]> Signed-off-by: Jason Cooper <[email protected]>
2012-11-24ARM: Kirkwood: Convert ib62x0 to pinctrl.Andrew Lunn2-21/+34
Signed-off-by: Andrew Lunn <[email protected]> Tested-by: Simon Baatz <[email protected]> Signed-off-by: Jason Cooper <[email protected]>
2012-11-24ARM: Kirkwood: Convert GoFlex Net to pinctrl.Andrew Lunn2-18/+56
Signed-off-by: Andrew Lunn <[email protected]> Tested-by: Joshua Coombs <[email protected]> Signed-off-by: Jason Cooper <[email protected]>
2012-11-24ARM: Kirkwood: Convert dreamplug to pinctrl.Andrew Lunn2-14/+21
Signed-off-by: Andrew Lunn <[email protected]> Signed-off-by: Jason Cooper <[email protected]>
2012-11-24ARM: Kirkwood: Convert dockstar to pinctrl.Andrew Lunn2-10/+20
Signed-off-by: Andrew Lunn <[email protected]> Tested-by: Sebastian Hesselbarth <[email protected]> Signed-off-by: Jason Cooper <[email protected]>
2012-11-24ARM: Kirkwood: Convert dnskw to pinctrlAndrew Lunn2-37/+105
Signed-off-by: Andrew Lunn <[email protected]> Signed-off-by: Jamie Lentin <[email protected]> Signed-off-by: Jason Cooper <[email protected]>
2012-11-24ARM: Kirkwood: Convert iConnect to pinctrl.Andrew Lunn2-17/+51
Signed-off-by: Andrew Lunn <[email protected]> Signed-off-by: Jason Cooper <[email protected]>
2012-11-24ARM: Kirkwood: Convert TS219 to pinctrl.Andrew Lunn3-25/+62
Make use of the pinctrl driver for configuring all the pins, instead of using the Orion mpp code. Signed-off-by: Andrew Lunn <[email protected]> Signed-off-by: Jason Cooper <[email protected]>
2012-11-24ARM: Kirkwood: Add DTSI files for pinctrlAndrew Lunn2-0/+74
There are a couple of different variants of Kirkwood, which differ in the pin muxing. These DTSI files set the correct compatibility and define commonly used groups of pins, which board dbs files can reference. Signed-off-by: Andrew Lunn <[email protected]> Signed-off-by: Jason Cooper <[email protected]>
2012-11-24ARM: Kirkwood: Make use of mvebu pincltl and gpio driversAndrew Lunn3-7/+11
Select the generic mvebu kirkwood pincltr driver and generic mvebu gpio driver. This requires minor changes to the DT, and the calls to configure plat-orion gpio driver are removed. Signed-off-by: Andrew Lunn <[email protected]> Tested-by: Michael Walle <[email protected]> Tested-by: Simon Baatz <[email protected]> Tested-by: Jamie Lentin <[email protected]> Tested-by: Joshua Coombs <[email protected]> Signed-off-by: Jason Cooper <[email protected]>
2012-11-24GPIO: mvebu: Allow all plat-orion platforms.Andrew Lunn1-1/+1
Kirkwood & Dove can also use this driver, so expand the scope to include all platform orion devices. Signed-off-by: Andrew Lunn <[email protected]> Signed-off-by: Jason Cooper <[email protected]>
2012-11-24ARM: Dove: Add CuBox pinhog for ledSebastian Hesselbarth1-0/+10
SolidRun CuBox has a led on a gpio pin. As there is now DT pinctrl support for Dove, make use of a pinhog to ensure the pin is set to gpio. Signed-off-by: Sebastian Hesselbarth <[email protected]> Signed-off-by: Jason Cooper <[email protected]>
2012-11-24ARM: Dove: Convert to DT GPIO and pinctrlSebastian Hesselbarth2-3/+18
Following the ongoing conversion of Orion SoCs to DT, make use of gpio and pinctrl drivers through DT. The main dtsi for Dove is prepared to allow board specific descriptors to make use of pinctrl muxing. Signed-off-by: Sebastian Hesselbarth <[email protected]> Signed-off-by: Jason Cooper <[email protected]>
2012-11-24pinctrl: mvebu: Fix dove_audio1_ctrl_set functionAxel Lin1-0/+8
When setting audio1 pinmux the bits in the corresponding registers are not cleared. This fix first clears all bits and then sets the required bits according to the selected function. Signed-off-by: Axel Lin <[email protected]> Signed-off-by: Sebastian Hesselbarth <[email protected]> Acked-by: Linus Walleij <[email protected]> Signed-off-by: Jason Cooper <[email protected]>
2012-11-24pinctrl: mvebu: fix iomem pointer for dove pinctrlSebastian Hesselbarth1-7/+7
There has been a change in readl/writel to require registers addresses marked as IOMEM(). This patch takes care of this and also replaces ORing address offsets with adding them. Signed-off-by: Sebastian Hesselbarth <[email protected]> Acked-by: Thomas Petazzoni <[email protected]> Acked-by: Linus Walleij <[email protected]> Signed-off-by: Jason Cooper <[email protected]>
2012-11-24ARM: Kirkwood: Convert LSXL to use regulatorsAndrew Lunn2-8/+29
Control the power to USB and HDD using a fixed regulator. Signed-off-by: Andrew Lunn <[email protected]> Tested-by: Michael Walle <[email protected]> Signed-off-by: Jason Cooper <[email protected]>
2012-11-24ARM: Kirkwood: Convert GoFlexNet to use regulatorsAndrew Lunn2-5/+17
Control the power to USB using a fixed regulator. Signed-off-by: Andrew Lunn <[email protected]> Tested-by: Josh Coombs <[email protected]> Signed-off-by: Jason Cooper <[email protected]>
2012-11-24ARM: Kirkwood: Convert Dockstar to use regulatorsAndrew Lunn2-5/+17
Control the power to USB using a fixed regulator. Signed-off-by: Andrew Lunn <[email protected]> Signed-off-by: Jason Cooper <[email protected]>
2012-11-24ARM: Kirkwood: Convert DNSKW to use regulatorsAndrew Lunn2-4/+29
Control the power to SATA0 and SATA1 using a fixed regulator. Signed-off-by: Andrew Lunn <[email protected]> Tested-by: Jamie Lentin <[email protected]> Signed-off-by: Jason Cooper <[email protected]>
2012-11-24ARM: Kirkwood: Enable regulator and fixed regulators.Andrew Lunn1-0/+2
A few boards use a GPIO line to enable power to subsystems, eg USB or SATA devices. Pull in the regulator framework as the first step to controlling these GPIO lines are regulators. Signed-off-by: Andrew Lunn <[email protected]> Signed-off-by: Jason Cooper <[email protected]>
2012-11-24ARM: Kirkwood: Convert IB62x0 to use gpio-poweroff.Andrew Lunn2-13/+6
Signed-off-by: Andrew Lunn <[email protected]> Tested-by: Simon Baatz <[email protected]> Signed-off-by: Jason Cooper <[email protected]>
2012-11-24ARM: Kirkwood: Convert DNSKW to use gpio-poweroff.Andrew Lunn3-12/+8
Also enable the gpio-poweroff driver when DT is used. Signed-off-by: Andrew Lunn <[email protected]> Tested-by: Jamie Lentin <[email protected]> Signed-off-by: Jason Cooper <[email protected]>
2012-11-24power: Add simple poweroff-gpio driverJamie Lentin6-0/+171
Given appropriate devicetree bindings, this driver registers a pm_power_off function to set a GPIO line high/low to power down your board. Signed-off-by: Jamie Lentin <[email protected]> Signed-off-by: Andrew Lunn <[email protected]> Tested-by:Simon Baatz <[email protected]> Signed-off-by: Jason Cooper <[email protected]>
2012-11-24ARM: kirkwood: Increase NAND chip-delay for DNS-32[05]Jamie Lentin1-0/+1
The default chip-delay of 25us is a bit too tight for some DNS-320's, and D-Link seem to specify 30us in their kernels for both devices. Increase to 35us to make sure the NAND is stable. Signed-off-by: Jamie Lentin <[email protected]> Acked-by: Andrew Lunn <[email protected]> Signed-off-by: Jason Cooper <[email protected]>
2012-11-24ARM: Kirkwood: Convert all DT boards to EHCI via DT.Andrew Lunn11-11/+7
Now that the EHCI driver has DT support, drop old style configuration of it and add DT in its place. Since all the boards enable the EHCI, enable it by default in kirkwood.dtsi. Any new boards which don't have USB can specifically disable it. Signed-off-by: Andrew Lunn <[email protected]> Signed-off-by: Jason Cooper <[email protected]>
2012-11-24ARM: Kirkwood: ehci-orion: Add device tree bindingAndrew Lunn2-3/+50
Based on previous work by Michael Walle and Jason Cooper. Made their work actually work, which required added interrupt from DT and auxdata, along with setting the dma_mask, which DT does not currently do. Signed-off-by: Andrew Lunn <[email protected]> Tested-by: Sebastian Hesselbarth <[email protected]> Acked-by: Alan Stern <[email protected]> Signed-off-by: Jason Cooper <[email protected]>
2012-11-24Merge commit '06763c7' into orion/dt2Jason Cooper14-73/+60
merge pinctrl/devel up to: 06763c7 pinctrl: mvebu: move to its own directory
2012-11-22ARM: kirkwood: Add Plat'Home OpenBlocks A6 supportNobuhiro Iwamatsu8-1/+131
Add support for Plat'Home OpenBlocks A6 using the device tree where possible. This commit supports SATA, USB, ether and serial console. Signed-off-by: Nobuhiro Iwamatsu <[email protected]> Signed-off-by: Jason Cooper <[email protected]>
2012-11-21ARM: Dove: update defconfigSebastian Hesselbarth1-0/+24
It has been a while since dove_defconfig was updated to recent development. This patch adds all currently available Dove boards, including a DT-enabled machine. DT support requires to allow ATAGS passed by boot loader as most of them are not yet capable of passing DT blobs. Also OF_SERIAL is enabled to actually see the bootlog. Finally, sdhci driver for Dove, mv_cesa, GPIO LEDs, and highmem support is added. Signed-off-by: Sebastian Hesselbarth <[email protected]> Signed-off-by: Jason Cooper <[email protected]>
2012-11-21ARM: Kirkwood: update defconfig for new boardsJason Cooper1-1/+2
MPLCEC4_DT is relocated because it had been added manually. Signed-off-by: Jason Cooper <[email protected]>
2012-11-21arm: orion5x: add DT related options in defconfigThomas Petazzoni1-1/+3
Signed-off-by: Thomas Petazzoni <[email protected]> Tested by: Maxime Hadjinlian <[email protected]> Acked-by: Andrew Lunn <[email protected]> Signed-off-by: Jason Cooper <[email protected]>
2012-11-21arm: orion5x: convert 'LaCie Ethernet Disk mini v2' to Device TreeThomas Petazzoni7-91/+72
This commit converts the 'LaCie Ethernet Disk mini v2' board to the Device Tree. All devices that have existing Device Tree bindings are converted over to the Device Tree, the other devices remain instantiated in the old way, until the respective drivers get the needed Device Tree bindings. Signed-off-by: Thomas Petazzoni <[email protected]> Tested by: Maxime Hadjinlian <[email protected]> Acked-by: Andrew Lunn <[email protected]> Signed-off-by: Jason Cooper <[email protected]>
2012-11-21arm: orion5x: basic Device Tree supportThomas Petazzoni6-2/+187
This commit adds basic DT support for the Orion5x SoC family. It adds an orion5x.dtsi description of the Orion5x SoC as well as the needed DT_MACHINE structure to support boards converted to DT in the future. So far, the Device Tree contains the interrupt controller, the GPIO bank, the UART controllers, the SPI controller, the watchdog, the SATA controller, the I2C controller and the cryptographic engine. Signed-off-by: Thomas Petazzoni <[email protected]> Tested by: Maxime Hadjinlian <[email protected]> Acked-by: Andrew Lunn <[email protected]> Signed-off-by: Jason Cooper <[email protected]>
2012-11-21arm: orion5x: mechanical defconfig updateThomas Petazzoni1-24/+8
This commit is a simple mechanical update of the orion5x_defconfig file to the current kernel (i.e, just 'make orion5x_defconfig; make savedefconfig'). Doing this update allows to more easily separate DT-related configuration changes in the following patches. Signed-off-by: Thomas Petazzoni <[email protected]> Tested by: Maxime Hadjinlian <[email protected]> Acked-by: Andrew Lunn <[email protected]> Signed-off-by: Jason Cooper <[email protected]>
2012-11-21ARM: kirkwood: Add support for the MPL CEC4Stefan Peter8-0/+219
Signed-off-by: Stefan Peter <[email protected]> Signed-off-by: Jason Cooper <[email protected]>
2012-11-21arm: kirkwood: add support for ZyXEL NSA310Tero Jaasko7-0/+269
Hello, Andrew > > +#define NSA310_GPIO_LED_ESATA_GREEN 12 > > <..> > > +#define NSA310_GPIO_POWER_OFF 48 > > It looks like most of these are not used. Please remove them. True. Fixed. > > +static struct mtd_partition nsa310_mtd_parts[] = { > > + { > > + .name = "uboot", > > + .offset = 0, > > + .size = 0x100000, > > + .mask_flags = MTD_WRITEABLE, > > + }, { > > <..> > You should be able to put all that into DT. Take a look at Correct. I did the conversion and tested that the partitions can be read with dd and produce exactly the same data before and after conversion. So, the partition offsets at least should be fine. > > +static struct i2c_board_info __initdata nsa310_i2c_info[] = { > > + { I2C_BOARD_INFO("adt7476", 0x2e) }, > > +}; > > You can also do this in DT as well. kirkwood-ts219.dtsi has > > i2c@11000 { > status = "okay"; > clock-frequency = <400000>; Ok, I did convert the i2c definition to use the devicetree. The adt7476 device itself is not at reach of device tree, AFAIK and requires more work at there? Thanks for your valuable comments. Following is a new patch that should address the problems and mistakes you pointed and also some of the pointed by Jason Cooper. The nand and i2c are now defined at DT and I also removed the pointless defines and ARM_APPENDED_DTB. It is based against the Linus' official 3.6 version. Best regards, Tero Signed-off-by: Jason Cooper <[email protected]>
2012-11-21ARM: Kirkwood: new board USI TopkickJason Cooper8-0/+187
This is a new kirkwood box made by Universal Scientific Industrial, Inc. The product description is here: http://www.usish.com/english/products_topkick1281p2.php It is very similar to the dreamplug and other plug devices, with the exception that it has room for a 2.5" SATA HDD internally. Signed-off-by: Jason Cooper <[email protected]> Acked-by: Andrew Lunn <[email protected]> Tested-by: Sebastian Hesselbarth <[email protected]>
2012-11-21ARM: kirkwood: use gpio-fan DT binding on lsxlMichael Walle2-51/+11
Remove board specific gpio-fan driver registration. Moved into device tree. Signed-off-by: Michael Walle <[email protected]> Signed-off-by: Jason Cooper <[email protected]>
2012-11-21ARM: Kirkwood: add Netspace boards to defconfigJason Cooper1-0/+5
Signed-off-by: Jason Cooper <[email protected]>
2012-11-21ARM: kirkwood: DT board setup for Network Space Mini v2Simon Guinot8-4/+67
This patch adds DT board setup for the LaCie NAS Network Space Mini v2 (aka SafeBox). The hardware characteristics are very close to those of the Network Space Lite v2. The main difference are: - A GPIO fan which is only available on the NS2 Mini. - A single USB host port is wired on the NS2 Mini. The NS2 Lite provides an additional dual-mode USB port (host/device). Signed-off-by: Simon Guinot <[email protected]> Reviewed-by: Andrew Lunn <[email protected]> Signed-off-by: Jason Cooper <[email protected]>
2012-11-21ARM: kirkwood: DT board setup for Network Space Lite v2Simon Guinot7-2/+47
This patch adds DT board setup for the LaCie NAS Network Space Lite v2. This board is derived from the Network Space v2 and a lot of hardware characteristics are shared. - CPU: Marvell 88F6192 800Mhz - SDRAM memory: 128MB DDR2 200Mhz - 1 SATA port: internal - Gigabit ethernet: PHY Marvell 88E1318 - Flash memory: SPI NOR 512KB (Macronix MX25L4005A) - i2c EEPROM: 512 bytes (24C04 type) - 2 USB2 ports: host and host/device - 1 push button - 1 SATA LED (bi-color, blue and red) Note that the SATA LED is not compatible with the driver leds-ns2. The LED behaviour ("on", "off" or "SATA activity blink") is controlled via a single MPP (21). Signed-off-by: Simon Guinot <[email protected]> Reviewed-by: Andrew Lunn <[email protected]> Signed-off-by: Jason Cooper <[email protected]>
2012-11-21ARM: kirkwood: DT board setup for Network Space v2 and parentsSimon Guinot11-1/+301
This patch adds DT board setup for LaCie Network Space v2 and parents, based on the Marvell Kirkwood 6281 SoC. This includes Network Space v2 (Max) and Internet Space v2. Signed-off-by: Simon Guinot <[email protected]> Reviewed-by: Andrew Lunn <[email protected]> Signed-off-by: Jason Cooper <[email protected]>
2012-11-21leds: leds-ns2: add device tree bindingSimon Guinot2-3/+101
Signed-off-by: Simon Guinot <[email protected]> Reviewed-by: Andrew Lunn <[email protected]> Signed-off-by: Jason Cooper <[email protected]>