diff options
author | Simon Horman <horms+renesas@verge.net.au> | 2012-11-21 22:00:15 +0900 |
---|---|---|
committer | Simon Horman <horms+renesas@verge.net.au> | 2013-03-13 02:13:19 +0900 |
commit | 10e8d4f6dddb0f9dc408c2f2bde8399b243a42ca (patch) | |
tree | d0a463c7c4cc44a57b2d8984973f838af17a7ba0 /arch/arm/mach-shmobile/smp-sh73a0.c | |
parent | c58a1545e39ed1ff54dd2c167d3d25ae62c0dbd3 (diff) | |
download | linux-stable-10e8d4f6dddb0f9dc408c2f2bde8399b243a42ca.tar.gz linux-stable-10e8d4f6dddb0f9dc408c2f2bde8399b243a42ca.tar.bz2 linux-stable-10e8d4f6dddb0f9dc408c2f2bde8399b243a42ca.zip |
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>
Diffstat (limited to 'arch/arm/mach-shmobile/smp-sh73a0.c')
0 files changed, 0 insertions, 0 deletions