Commit | Line | Data |
---|---|---|
69f36661 GL |
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/; | |
31c46cbf | 12 | #include "r8a73a4.dtsi" |
dbffb5a1 | 13 | #include <dt-bindings/gpio/gpio.h> |
69f36661 GL |
14 | |
15 | / { | |
16 | model = "APE6EVM"; | |
17 | compatible = "renesas,ape6evm-reference", "renesas,r8a73a4"; | |
18 | ||
27bc8235 SH |
19 | aliases { |
20 | serial0 = &scifa0; | |
21 | }; | |
22 | ||
69f36661 | 23 | chosen { |
71787aaa GU |
24 | bootargs = "ignore_loglevel rw"; |
25 | stdout-path = &scifa0; | |
69f36661 GL |
26 | }; |
27 | ||
28 | memory@40000000 { | |
29 | device_type = "memory"; | |
30 | reg = <0 0x40000000 0 0x40000000>; | |
31 | }; | |
32 | ||
9701f442 MD |
33 | memory@200000000 { |
34 | device_type = "memory"; | |
35 | reg = <2 0x00000000 0 0x40000000>; | |
36 | }; | |
37 | ||
dbffb5a1 GL |
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 | ||
69f36661 GL |
66 | lbsc { |
67 | compatible = "simple-bus"; | |
68 | #address-cells = <1>; | |
69 | #size-cells = <1>; | |
b5c107f0 | 70 | ranges = <0 0 0 0x20000000>; |
69f36661 GL |
71 | }; |
72 | }; | |
b88cf6f7 GL |
73 | |
74 | &i2c5 { | |
eda3a4fa | 75 | status = "okay"; |
b88cf6f7 GL |
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 | }; | |
59b2bc34 | 96 | |
dfb846c9 SH |
97 | &cmt1 { |
98 | status = "okay"; | |
99 | }; | |
100 | ||
59b2bc34 | 101 | &pfc { |
eeafbdf3 | 102 | scifa0_pins: serial0 { |
59b2bc34 GL |
103 | renesas,groups = "scifa0_data"; |
104 | renesas,function = "scifa0"; | |
105 | }; | |
dbffb5a1 | 106 | |
eeafbdf3 | 107 | mmc0_pins: mmc { |
dbffb5a1 GL |
108 | renesas,groups = "mmc0_data8", "mmc0_ctrl"; |
109 | renesas,function = "mmc0"; | |
110 | }; | |
111 | ||
eeafbdf3 | 112 | sdhi0_pins: sd0 { |
dbffb5a1 GL |
113 | renesas,groups = "sdhi0_data4", "sdhi0_ctrl", "sdhi0_cd"; |
114 | renesas,function = "sdhi0"; | |
115 | }; | |
116 | ||
eeafbdf3 | 117 | sdhi1_pins: sd1 { |
dbffb5a1 GL |
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 | ||
27bc8235 SH |
132 | &scifa0 { |
133 | pinctrl-0 = <&scifa0_pins>; | |
134 | pinctrl-names = "default"; | |
135 | ||
136 | status = "okay"; | |
137 | }; | |
138 | ||
dbffb5a1 GL |
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"; | |
59b2bc34 | 156 | }; |