Merge branch 'akpm' (incoming from Andrew)
[linux-drm-fsl-dcu.git] / arch / arm / boot / dts / r8a73a4-ape6evm.dts
1 /*
2  * Device Tree Source for the APE6EVM board
3  *
4  * Copyright (C) 2013 Renesas Solutions Corp.
5  *
6  * This file is licensed under the terms of the GNU General Public License
7  * version 2.  This program is licensed "as is" without any warranty of any
8  * kind, whether express or implied.
9  */
10
11 /dts-v1/;
12 #include "r8a73a4.dtsi"
13 #include <dt-bindings/interrupt-controller/irq.h>
14
15 / {
16         model = "APE6EVM";
17         compatible = "renesas,ape6evm", "renesas,r8a73a4";
18
19         chosen {
20                 bootargs = "console=ttySC0,115200 ignore_loglevel root=/dev/nfs ip=dhcp rw";
21         };
22
23         memory@40000000 {
24                 device_type = "memory";
25                 reg = <0 0x40000000 0 0x40000000>;
26         };
27
28         memory@200000000 {
29                 device_type = "memory";
30                 reg = <2 0x00000000 0 0x40000000>;
31         };
32
33         ape6evm_fixed_3v3: fixedregulator@0 {
34                 compatible = "regulator-fixed";
35                 regulator-name = "3V3";
36                 regulator-min-microvolt = <3300000>;
37                 regulator-max-microvolt = <3300000>;
38                 regulator-always-on;
39         };
40
41         lbsc {
42                 #address-cells = <1>;
43                 #size-cells = <1>;
44
45                 ethernet@8000000 {
46                         compatible = "smsc,lan9118", "smsc,lan9115";
47                         reg = <0x08000000 0x1000>;
48                         interrupt-parent = <&irqc1>;
49                         interrupts = <8 IRQ_TYPE_LEVEL_HIGH>;
50                         phy-mode = "mii";
51                         reg-io-width = <4>;
52                         smsc,irq-active-high;
53                         smsc,irq-push-pull;
54                         vdd33a-supply = <&ape6evm_fixed_3v3>;
55                         vddvario-supply = <&ape6evm_fixed_3v3>;
56                 };
57         };
58 };
59
60 &i2c5 {
61         status = "okay";
62         vdd_dvfs: max8973@1b {
63                 compatible = "maxim,max8973";
64                 reg = <0x1b>;
65
66                 regulator-min-microvolt = <935000>;
67                 regulator-max-microvolt = <1200000>;
68                 regulator-boot-on;
69                 regulator-always-on;
70         };
71 };
72
73 &cpu0 {
74         cpu0-supply = <&vdd_dvfs>;
75         operating-points = <
76                 /* kHz  uV */
77                 1950000 1115000
78                 1462500  995000
79         >;
80         voltage-tolerance = <1>; /* 1% */
81 };