]>
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 | ||
dbffb5a1 GL |
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 | ||
69f36661 GL |
56 | lbsc { |
57 | compatible = "simple-bus"; | |
58 | #address-cells = <1>; | |
59 | #size-cells = <1>; | |
60 | ranges = <0 0 0 0x80000000>; | |
61 | }; | |
62 | }; | |
b88cf6f7 GL |
63 | |
64 | &i2c5 { | |
eda3a4fa | 65 | status = "okay"; |
b88cf6f7 GL |
66 | vdd_dvfs: max8973@1b { |
67 | compatible = "maxim,max8973"; | |
68 | reg = <0x1b>; | |
69 | ||
70 | regulator-min-microvolt = <935000>; | |
71 | regulator-max-microvolt = <1200000>; | |
72 | regulator-boot-on; | |
73 | regulator-always-on; | |
74 | }; | |
75 | }; | |
76 | ||
77 | &cpu0 { | |
78 | cpu0-supply = <&vdd_dvfs>; | |
79 | operating-points = < | |
80 | /* kHz uV */ | |
81 | 1950000 1115000 | |
82 | 1462500 995000 | |
83 | >; | |
84 | voltage-tolerance = <1>; /* 1% */ | |
85 | }; | |
59b2bc34 GL |
86 | |
87 | &pfc { | |
88 | pinctrl-0 = <&scifa0_pins>; | |
89 | pinctrl-names = "default"; | |
90 | ||
eeafbdf3 | 91 | scifa0_pins: serial0 { |
59b2bc34 GL |
92 | renesas,groups = "scifa0_data"; |
93 | renesas,function = "scifa0"; | |
94 | }; | |
dbffb5a1 | 95 | |
eeafbdf3 | 96 | mmc0_pins: mmc { |
dbffb5a1 GL |
97 | renesas,groups = "mmc0_data8", "mmc0_ctrl"; |
98 | renesas,function = "mmc0"; | |
99 | }; | |
100 | ||
eeafbdf3 | 101 | sdhi0_pins: sd0 { |
dbffb5a1 GL |
102 | renesas,groups = "sdhi0_data4", "sdhi0_ctrl", "sdhi0_cd"; |
103 | renesas,function = "sdhi0"; | |
104 | }; | |
105 | ||
eeafbdf3 | 106 | sdhi1_pins: sd1 { |
dbffb5a1 GL |
107 | renesas,groups = "sdhi1_data4", "sdhi1_ctrl"; |
108 | renesas,function = "sdhi1"; | |
109 | }; | |
110 | }; | |
111 | ||
112 | &mmcif0 { | |
113 | vmmc-supply = <&vcc_mmc0>; | |
114 | bus-width = <8>; | |
115 | non-removable; | |
116 | pinctrl-names = "default"; | |
117 | pinctrl-0 = <&mmc0_pins>; | |
118 | status = "okay"; | |
119 | }; | |
120 | ||
121 | &sdhi0 { | |
122 | vmmc-supply = <&vcc_sdhi0>; | |
123 | bus-width = <4>; | |
124 | toshiba,mmc-wrprotect-disable; | |
125 | pinctrl-names = "default"; | |
126 | pinctrl-0 = <&sdhi0_pins>; | |
127 | status = "okay"; | |
128 | }; | |
129 | ||
130 | &sdhi1 { | |
131 | vmmc-supply = <&ape6evm_fixed_3v3>; | |
132 | bus-width = <4>; | |
133 | broken-cd; | |
134 | toshiba,mmc-wrprotect-disable; | |
135 | pinctrl-names = "default"; | |
136 | pinctrl-0 = <&sdhi1_pins>; | |
137 | status = "okay"; | |
59b2bc34 | 138 | }; |