alistair23-linux/arch/arm/mach-shmobile
Simon Horman 10e8d4f6dd ARM: mach-shmobile: r8a7779: Minimal setup using DT
Allow a minimal setup of the r8a7779 SoC using a flattened device tree.
In particular, configure the i2c and ethernet controllers using a
flattened device tree.

SCI serial controller and TMU clock source, whose drivers do not yet
support configuration using a flattened device tree, are still configured
using C code in order to allow booting of a board with this SoC.

The ethernet controller also requires a regulator which is a board property.
A sample snippet DT for the marzen board is as follows:

/dts-v1/;
/include/ "r8a7779.dtsi"

/ {
	fixedregulator3v3: fixedregulator@0 {
		compatible = "regulator-fixed";
		regulator-name = "fixed-3.3V";
		regulator-min-microvolt = <3300000>;
		regulator-max-microvolt = <3300000>;
		regulator-boot-on;
		regulator-always-on;
	};
};

&lan0 {
	vddvario-supply = <&fixedregulator3v3>;
	vdd33a-supply = <&fixedregulator3v3>;
};

Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
2013-03-13 02:13:19 +09:00
..
include/mach ARM: mach-shmobile: r8a7779: Minimal setup using DT 2013-03-13 02:13:19 +09:00
board-ag5evm.c arm-soc: board specific changes 2013-02-21 15:33:45 -08:00
board-ap4evb.c arm-soc: board specific changes 2013-02-21 15:33:45 -08:00
board-armadillo800eva.c arm-soc: board specific changes 2013-02-21 15:33:45 -08:00
board-bonito.c arm-soc: board specific changes 2013-02-21 15:33:45 -08:00
board-kota2.c arm-soc: board specific changes 2013-02-21 15:33:45 -08:00
board-kzm9d.c Merge remote-tracking branches 'arm-soc/irqchip/gic-vic-move' and 'arm-soc/timer/cleanup' into soc 2013-01-24 17:57:20 +09:00
board-kzm9g.c arm-soc: board specific changes 2013-02-21 15:33:45 -08:00
board-mackerel.c arm-soc: board specific changes 2013-02-21 15:33:45 -08:00
board-marzen.c Merge remote-tracking branches 'arm-soc/irqchip/gic-vic-move' and 'arm-soc/timer/cleanup' into soc 2013-01-24 17:57:20 +09:00
clock-emev2.c mach-shmobile: Emma Mobile EV2 DT support V3 2012-05-18 00:14:03 +02:00
clock-r8a7740.c ARM: shmobile: add MMCIF and SDHI DT clock aliases to sh73a0 and r8a7740 2013-03-13 02:13:18 +09:00
clock-r8a7779.c ARM: shmobile: r8a7779: Correct TMU clock support again 2013-02-19 10:05:27 +09:00
clock-sh73a0.c ARM: shmobile: add MMCIF and SDHI DT clock aliases to sh73a0 and r8a7740 2013-03-13 02:13:18 +09:00
clock-sh7372.c ARM: sh7372: add clock lookup entries for DT-based devices 2013-01-25 12:43:44 +09:00
clock.c ARM: mach-shmobile: rename clk_init() to shmobile_clk_init() 2012-03-12 22:19:43 +01:00
console.c ARM: mach-shmobile: early console support using earlyprintk 2010-02-09 10:34:12 +09:00
cpuidle.c ARM: shmobile: Make sh7372 cpuidle handling more straightforward 2012-09-04 01:45:01 +02:00
entry-intc.S ARM: gic: consolidate PPI handling 2011-10-23 13:32:29 +01:00
headsmp-sh73a0.S ARM: SH-Mobile: sh73a0: Secondary CPUs handle own SCU flags 2013-01-25 12:43:47 +09:00
headsmp.S arm: Add v7_invalidate_l1 to cache-v7.S 2013-02-11 19:37:24 -08:00
hotplug.c ARM: shmobile: Remove unused headers from hotplug.c 2013-03-13 02:13:18 +09:00
intc-r8a7740.c ARM: shmobile: r8a7740: add HDMI interrupt support 2012-06-20 12:27:47 +02:00
intc-r8a7779.c ARM: mach-shmobile: r8a7779: Allow initialisation of GIC by DT 2013-03-13 02:13:18 +09:00
intc-sh73a0.c ARM: mach-shmobile: sh73a0: Allow initialisation of GIC by DT 2013-01-25 12:43:48 +09:00
intc-sh7372.c ARM: shmobile: use __iomem pointers for MMIO 2012-09-18 10:15:11 +02:00
Kconfig ARM: arm-soc: Board updates for 3.8 2012-12-12 12:14:06 -08:00
Makefile arm-soc: soc-specific updates 2013-02-21 15:27:22 -08:00
Makefile.boot ARM: dtb: move all dtb targets to common Makefile 2012-09-20 22:58:17 -07:00
platsmp.c ARM: remove mach .handle_irq for GIC users 2013-01-12 10:47:20 -06:00
pm-r8a7740.c ARM: shmobile: r8a7740: Add CPU sleep suspend 2013-01-25 12:43:46 +09:00
pm-r8a7779.c ARM: shmobile: Move r8a7779's PM domain objects to a table 2012-09-04 01:44:58 +02:00
pm-rmobile.c Power management updates for 3.7-rc1 2012-10-02 18:32:35 -07:00
pm-sh73a0.c ARM: shmobile: sh73a0: Add CPU sleep suspend 2013-01-25 12:43:46 +09:00
pm-sh7372.c Power management updates for 3.7-rc1 2012-10-02 18:32:35 -07:00
setup-emev2.c Merge remote-tracking branches 'arm-soc/irqchip/gic-vic-move' and 'arm-soc/timer/cleanup' into soc 2013-01-24 17:57:20 +09:00
setup-r8a7740.c IOMMU Updates for Linux v3.9 2013-02-26 11:09:17 -08:00
setup-r8a7779.c ARM: mach-shmobile: r8a7779: Minimal setup using DT 2013-03-13 02:13:19 +09:00
setup-sh73a0.c IOMMU Updates for Linux v3.9 2013-02-26 11:09:17 -08:00
setup-sh7372.c IOMMU Updates for Linux v3.9 2013-02-26 11:09:17 -08:00
sh-gpio.h ARM: soc: multiplatform enablement 2012-10-01 19:11:38 -07:00
sleep-sh7372.S ARM: sh7372: fix cache clean / invalidate order 2013-01-25 12:43:45 +09:00
smp-emev2.c ARM: shmobile: Remove emev2_get_core_count() 2013-03-13 02:13:18 +09:00
smp-r8a7779.c ARM: shmobile: Remove r8a7779_get_core_count() 2013-03-13 02:13:18 +09:00
smp-sh73a0.c ARM: shmobile: Remove sh73a0_get_core_count() 2013-03-13 02:13:18 +09:00
suspend.c ARM: shmobile: use machine specific hook for late init 2012-05-08 20:36:35 +08:00
timer.c ARM: shmobile: Register ARM architected timer 2013-02-05 17:13:55 +09:00