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