blob: ce085fa444a12ae24230ac87ff1e55a8efd43e9f [file] [log] [blame]
Magnus Damm78ded162013-03-29 17:00:02 +09001/*
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/;
Laurent Pinchart31c46cb2013-11-09 13:23:53 +010012#include "r8a73a4.dtsi"
Laurent Pinchart77e2d7e2013-11-09 13:23:55 +010013#include <dt-bindings/interrupt-controller/irq.h>
Magnus Damm78ded162013-03-29 17:00:02 +090014
15/ {
16 model = "APE6EVM";
17 compatible = "renesas,ape6evm", "renesas,r8a73a4";
18
19 chosen {
Laurent Pinchartd2f463a2013-07-29 22:31:41 +020020 bootargs = "console=ttySC0,115200 ignore_loglevel root=/dev/nfs ip=dhcp rw";
Magnus Damm78ded162013-03-29 17:00:02 +090021 };
22
23 memory@40000000 {
24 device_type = "memory";
25 reg = <0 0x40000000 0 0x40000000>;
26 };
27
Takashi Yoshii8353f092013-10-31 12:15:49 +090028 memory@200000000 {
29 device_type = "memory";
30 reg = <2 0x00000000 0 0x40000000>;
31 };
32
Magnus Damm15351a7a2013-03-29 17:00:21 +090033 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
Magnus Damm78ded162013-03-29 17:00:02 +090041 lbsc {
42 #address-cells = <1>;
43 #size-cells = <1>;
Magnus Damm15351a7a2013-03-29 17:00:21 +090044
45 ethernet@8000000 {
46 compatible = "smsc,lan9118", "smsc,lan9115";
47 reg = <0x08000000 0x1000>;
48 interrupt-parent = <&irqc1>;
Laurent Pinchart77e2d7e2013-11-09 13:23:55 +010049 interrupts = <8 IRQ_TYPE_LEVEL_HIGH>;
Magnus Damm15351a7a2013-03-29 17:00:21 +090050 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 };
Magnus Damm78ded162013-03-29 17:00:02 +090057 };
58};
Guennadi Liakhovetski463a2432013-06-27 11:47:58 +020059
60&i2c5 {
Guennadi Liakhovetskieda3a4f2013-09-26 13:06:01 +020061 status = "okay";
Guennadi Liakhovetski463a2432013-06-27 11:47:58 +020062 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};