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