r8a73a4-ape6evm-reference.dts revision 284090
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/gpio/gpio.h>
14
15/ {
16	model = "APE6EVM";
17	compatible = "renesas,ape6evm-reference", "renesas,r8a73a4";
18
19	aliases {
20		serial0 = &scifa0;
21	};
22
23	chosen {
24		bootargs = "ignore_loglevel rw";
25		stdout-path = &scifa0;
26	};
27
28	memory@40000000 {
29		device_type = "memory";
30		reg = <0 0x40000000 0 0x40000000>;
31	};
32
33	memory@200000000 {
34		device_type = "memory";
35		reg = <2 0x00000000 0 0x40000000>;
36	};
37
38	vcc_mmc0: regulator@0 {
39		compatible = "regulator-fixed";
40		regulator-name = "MMC0 Vcc";
41		regulator-min-microvolt = <2800000>;
42		regulator-max-microvolt = <2800000>;
43		regulator-always-on;
44	};
45
46	vcc_sdhi0: regulator@1 {
47		compatible = "regulator-fixed";
48
49		regulator-name = "SDHI0 Vcc";
50		regulator-min-microvolt = <3300000>;
51		regulator-max-microvolt = <3300000>;
52
53		gpio = <&pfc 76 GPIO_ACTIVE_HIGH>;
54		enable-active-high;
55	};
56
57	/* Common 3.3V rail, used by several devices on APE6EVM */
58	ape6evm_fixed_3v3: regulator@2 {
59		compatible = "regulator-fixed";
60		regulator-name = "3V3";
61		regulator-min-microvolt = <3300000>;
62		regulator-max-microvolt = <3300000>;
63		regulator-always-on;
64	};
65
66	lbsc {
67		compatible = "simple-bus";
68		#address-cells = <1>;
69		#size-cells = <1>;
70		ranges = <0 0 0 0x20000000>;
71	};
72};
73
74&i2c5 {
75	status = "okay";
76	vdd_dvfs: max8973@1b {
77		compatible = "maxim,max8973";
78		reg = <0x1b>;
79
80		regulator-min-microvolt = <935000>;
81		regulator-max-microvolt = <1200000>;
82		regulator-boot-on;
83		regulator-always-on;
84	};
85};
86
87&cpu0 {
88	cpu0-supply = <&vdd_dvfs>;
89	operating-points = <
90		/* kHz  uV */
91		1950000 1115000
92		1462500  995000
93	>;
94	voltage-tolerance = <1>; /* 1% */
95};
96
97&cmt1 {
98	status = "okay";
99};
100
101&pfc {
102	scifa0_pins: serial0 {
103		renesas,groups = "scifa0_data";
104		renesas,function = "scifa0";
105	};
106
107	mmc0_pins: mmc {
108		renesas,groups = "mmc0_data8", "mmc0_ctrl";
109		renesas,function = "mmc0";
110	};
111
112	sdhi0_pins: sd0 {
113		renesas,groups = "sdhi0_data4", "sdhi0_ctrl", "sdhi0_cd";
114		renesas,function = "sdhi0";
115	};
116
117	sdhi1_pins: sd1 {
118		renesas,groups = "sdhi1_data4", "sdhi1_ctrl";
119		renesas,function = "sdhi1";
120	};
121};
122
123&mmcif0 {
124	vmmc-supply = <&vcc_mmc0>;
125	bus-width = <8>;
126	non-removable;
127	pinctrl-names = "default";
128	pinctrl-0 = <&mmc0_pins>;
129	status = "okay";
130};
131
132&scifa0 {
133	pinctrl-0 = <&scifa0_pins>;
134	pinctrl-names = "default";
135
136	status = "okay";
137};
138
139&sdhi0 {
140	vmmc-supply = <&vcc_sdhi0>;
141	bus-width = <4>;
142	toshiba,mmc-wrprotect-disable;
143	pinctrl-names = "default";
144	pinctrl-0 = <&sdhi0_pins>;
145	status = "okay";
146};
147
148&sdhi1 {
149	vmmc-supply = <&ape6evm_fixed_3v3>;
150	bus-width = <4>;
151	broken-cd;
152	toshiba,mmc-wrprotect-disable;
153	pinctrl-names = "default";
154	pinctrl-0 = <&sdhi1_pins>;
155	status = "okay";
156};
157