path: root/arch/arm64/boot
AgeCommit message (Collapse)AuthorFilesLines
2014-06-18arm64: dts: Add more serial port nodes in APM X-Gene device treeVinayak Kale2-1/+39
APM X-Gene Storm SoC supports 4 serial ports. This patch adds device nodes for serial ports 1 to 3 (a device node for serial port 0 is already present in the dts file). This patch also sets the compatible property of serial nodes to "ns16550a". Signed-off-by: Vinayak Kale <> Acked-by: Rob Herring <> Signed-off-by: Catalin Marinas <>
2014-06-06arm64: add APM X-Gene SoC RTC DTS entryLoc Ho1-0/+21
This patch adds APM X-Gene SoC RTC DTS entry Signed-off-by: Rameshwar Prasad Sahu <> Signed-off-by: Loc Ho <> Cc: Jon Masters <> Cc: Alessandro Zummo <> Cc: Catalin Marinas <> Cc: Will Deacon <> Signed-off-by: Andrew Morton <> Signed-off-by: Linus Torvalds <>
2014-05-15mfd: vexpress: Convert custom func API to regmapPawel Moll1-1/+1
Components of the Versatile Express platform (configuration microcontrollers on motherboard and daughterboards in particular) talk to each other over a custom configuration bus. They provide miscellaneous functions (from clock generator control to energy sensors) which are represented as platform devices (and Device Tree nodes). The transactions on the bus can be generated by different "bridges" in the system, some of which are universal for the whole platform (for the price of high transfer latencies), others restricted to a subsystem (but much faster). Until now drivers for such functions were using custom "func" API, which is being replaced in this patch by regmap calls. This required: * a rework (and move to drivers/bus directory, as suggested by Samuel and Arnd) of the config bus core, which is much simpler now and uses device model infrastructure (class) to keep track of the bridges; non-DT case (soon to be retired anyway) is simply covered by a special device registration function * the new config-bus driver also takes over device population, so there is no need for special matching table for of_platform_populate nor "simple-bus" hack in the arm64 model dtsi file (relevant bindings documentation has been updated); this allows all the vexpress devices fit into normal device model, making it possible to remove plenty of early inits and other hacks in the near future * adaptation of the syscfg bridge implementation in the sysreg driver, again making it much simpler; there is a special case of the "energy" function spanning two registers, where they should be both defined in the tree now, but backward compatibility is maintained in the code * modification of the relevant drivers: * hwmon - just a straight-forward API change * power/reset driver - API change * regulator - API change plus error handling simplification * osc clock driver - this one required larger rework in order to turn in into a standard platform driver Signed-off-by: Pawel Moll <> Acked-by: Mark Brown <> Acked-by: Lee Jones <> Acked-by: Guenter Roeck <> Acked-by: Mike Turquette <>
2014-05-03arm64: Mark the Applied Micro X-Gene SATA controller as DMA coherentCatalin Marinas1-0/+3
Since the default DMA ops for arm64 are non-coherent, mark the X-Gene controller explicitly as dma-coherent to avoid additional cache maintenance. Signed-off-by: Catalin Marinas <> Cc: Loc Ho <>
2014-03-17arm64: Add APM X-Gene SoC AHCI SATA host controller DTS entriesLoc Ho1-0/+80
This patch adds APM X-Gene SoC AHCI SATA host controller DTS entries. Signed-off-by: Loc Ho <> Signed-off-by: Tuan Phan <> Signed-off-by: Suman Tripathi <> Acked-by: Arnd Bergmann <> Signed-off-by: Tejun Heo <>
2014-03-17arm64: Add APM X-Gene SoC 15Gbps Multi-purpose PHY DTS entriesLoc Ho1-0/+72
This patch adds the DTS entries for the APM X-Gene SoC 15Gbps Multi-purpose PHY driver. The PHY for SATA controller 2 and 3 are enabled by default. Signed-off-by: Loc Ho <> Signed-off-by: Tuan Phan <> Signed-off-by: Suman Tripathi <> Acked-by: Arnd Bergmann <> Signed-off-by: Tejun Heo <>
2013-12-20arm64: dts: Reduce size of virtio block device for foundation modelMark Brown1-1/+1
Will Deacon observed that kvmtool uses a size of 0x200 for virtio block memory region and that the virtio block spec only uses 31 bytes in the device specific region at 0x100 so reduce the region to a less wasteful 0x200. Signed-off-by: Mark Brown <> Signed-off-by: Catalin Marinas <>
2013-12-19arm64: dts: Add a virtio disk to the RTSM motherboardMark Hambleton1-0/+6
Describe the virtio device so we can mount disk images in the simulator. [Reduced the size of the region based on feedback from review -- broonie] Signed-off-by: Mark Hambleton <> Signed-off-by: Mark Brown <> Acked-by: Will Deacon <> Signed-off-by: Catalin Marinas <>
2013-11-25arm64: dts: Reserve the memory used for secondary CPU release addressCatalin Marinas1-0/+2
With the spin-table SMP booting method, secondary CPUs poll a location passed in the DT. The foundation-v8.dts file doesn't have this memory reserved and there is a risk of Linux using it before secondary CPUs are started. Signed-off-by: Catalin Marinas <>
2013-10-07clk: arm64: Add DTS clock entry for APM X-Gene Storm SoCLoc Ho1-0/+75
clk: arm64: Add DTS clock entry for APM X-Gene Storm SoC with reference to reference, PCP PLL, SoC PLL, and Ethernet clocks. Signed-off-by: Loc Ho <> Signed-off-by: Kumar Sankaran <> Signed-off-by: Vinayak Kale <> Signed-off-by: Feng Kan <> Signed-off-by: Mike Turquette <>
2013-06-20arm64: Add initial DTS for APM X-Gene Storm SOC and APM Mustang boardVinayak Kale3-0/+143
This patch adds initial DTS files required for APM Mustang board. Signed-off-by: Kumar Sankaran <> Signed-off-by: Loc Ho <> Signed-off-by: Feng Kan <> Signed-off-by: Catalin Marinas <>
2013-05-08arm64: dts: fix #address-cells for foundation-v8Mark Rutland1-1/+1
Commit 90556ca1 ("arm64: vexpress: Add dts files for the ARMv8 RTSM models") added foundation-v8.dts, but erroneously set /cpus/#address-cells = <1> while providing two cells in each cpus/cpu@N node's reg property. As of commit ea393a2e ("arm64: smp: honour #address-size when parsing CPU reg property") we read in as many address cells as specified rather than always reading two. This means that for foundation-v8.dts, we only read the first reg cell (zero) for each cpu node, and receive a lot of warnings at boot of the form "/cpus/cpu@1: duplicate cpu reg properties in the DT". This patch corrects foundation-v8.dts to have the correct value for /cpus/#address-cells. Signed-off-by: Mark Rutland <> Cc: Catalin Marinas <> Cc: Pawel Moll <> Cc: Will Deacon <> Tested-by: Marc Zyngier <> Acked-by: Marc Zyngier <> Signed-off-by: Catalin Marinas <>
2013-04-26arm64: vexpress: Add dts files for the ARMv8 RTSM modelsPawel Moll5-0/+638
This patch adds the DTS files for the ARMv8 RTSM and Foundation models. Signed-off-by: Pawel Moll <> Signed-off-by: Catalin Marinas <> Acked-by: Arnd Bergmann <>
2013-01-14arm64: dts: prevent *.dtb from always being rebuiltStephen Warren1-0/+1
if_changed (used by the *.dts->*.dtc rule) rebuilds files if they aren't contained in $(targets). (make V=2 indicates this). Add $(dtb-y) to $(targets) to prevent *.dtb from always being rebuilt. Note This fixes a regression introduced by the .dtb rule rework in da4cbc6 "arm64: use new common dtc rule", although since arm64 doesn't actually have any *.dts yet, this isn't a critical issue. Signed-off-by: Stephen Warren <> Signed-off-by: Rob Herring <>
2012-12-03arm64: Add dtbs target for building all the enabled dtb filesRob Herring1-0/+1
Based on Rob Herring's patches for arch/arm, this patch adds a dtbs target to arch/arm64/boot/Makefile. Signed-off-by: Catalin Marinas <> Signed-off-by: Rob Herring <>
2012-12-03arm64: use new common dtc ruleStephen Warren2-5/+5
The current rules have the .dtb files build in a different directory from the .dts files. This patch changes arm64 to use the generic dtb rule which builds .dtb files in the same directory as the source .dts. This requires moving parts of arch/arm64/boot/Makefile into newly created arch/arm64/boot/dts/Makefile, and updating arch/arm64/Makefile to call the new Makefile. Acked-by: Catalin Marinas <> Cc: Signed-off-by: Stephen Warren <> Signed-off-by: Rob Herring <>
2012-09-17arm64: Build infrastructureCatalin Marinas3-0/+84
This patch adds Makefile and Kconfig files required for building an AArch64 kernel. Signed-off-by: Will Deacon <> Signed-off-by: Catalin Marinas <> Acked-by: Tony Lindgren <> Acked-by: Nicolas Pitre <> Acked-by: Olof Johansson <> Acked-by: Santosh Shilimkar <> Acked-by: Arnd Bergmann <>