Commit | Line | Data |
---|---|---|
b8b82b29 SH |
1 | /* |
2 | * Device Tree Source for the KZM-A9-GT board | |
3 | * | |
4 | * Copyright (C) 2012 Horms Solutions Ltd. | |
5 | * | |
6 | * Based on sh73a0-kzm9g.dts | |
7 | * Copyright (C) 2012 Renesas Solutions Corp. | |
8 | * | |
9 | * This file is licensed under the terms of the GNU General Public License | |
10 | * version 2. This program is licensed "as is" without any warranty of any | |
11 | * kind, whether express or implied. | |
12 | */ | |
13 | ||
14 | /dts-v1/; | |
546e5d3e | 15 | /include/ "sh73a0.dtsi" |
b8b82b29 SH |
16 | |
17 | / { | |
18 | model = "KZM-A9-GT"; | |
19 | compatible = "renesas,kzm9g-reference", "renesas,sh73a0"; | |
20 | ||
251ed173 GL |
21 | cpus { |
22 | cpu@0 { | |
23 | cpu0-supply = <&vdd_dvfs>; | |
24 | operating-points = < | |
25 | /* kHz uV */ | |
26 | 1196000 1315000 | |
27 | 598000 1175000 | |
28 | 398667 1065000 | |
29 | >; | |
30 | voltage-tolerance = <1>; /* 1% */ | |
31 | }; | |
32 | }; | |
33 | ||
b8b82b29 SH |
34 | chosen { |
35 | bootargs = "console=tty0 console=ttySC4,115200 root=/dev/nfs ip=dhcp ignore_loglevel earlyprintk=sh-sci.4,115200"; | |
36 | }; | |
37 | ||
38 | memory { | |
39 | device_type = "memory"; | |
40 | reg = <0x41000000 0x1e800000>; | |
41 | }; | |
42 | ||
f017d011 | 43 | reg_1p8v: regulator@0 { |
b8b82b29 SH |
44 | compatible = "regulator-fixed"; |
45 | regulator-name = "fixed-1.8V"; | |
46 | regulator-min-microvolt = <1800000>; | |
47 | regulator-max-microvolt = <1800000>; | |
f017d011 GL |
48 | regulator-always-on; |
49 | regulator-boot-on; | |
50 | }; | |
51 | ||
c791c036 | 52 | reg_3p3v: regulator@1 { |
f017d011 | 53 | compatible = "regulator-fixed"; |
c791c036 GL |
54 | regulator-name = "fixed-3.3V"; |
55 | regulator-min-microvolt = <3300000>; | |
56 | regulator-max-microvolt = <3300000>; | |
f017d011 GL |
57 | regulator-always-on; |
58 | regulator-boot-on; | |
59 | }; | |
8c1de8ee GL |
60 | |
61 | lan9220@10000000 { | |
62 | compatible = "smsc,lan9220", "smsc,lan9115"; | |
63 | reg = <0x10000000 0x100>; | |
64 | phy-mode = "mii"; | |
65 | interrupt-parent = <&irqpin0>; | |
66 | interrupts = <3 0>; /* active low */ | |
67 | reg-io-width = <4>; | |
68 | smsc,irq-push-pull; | |
69 | smsc,save-mac-address; | |
70 | vddvario-supply = <®_1p8v>; | |
71 | vdd33a-supply = <®_3p3v>; | |
72 | }; | |
b8b82b29 SH |
73 | }; |
74 | ||
251ed173 GL |
75 | &i2c0 { |
76 | as3711@40 { | |
77 | compatible = "ams,as3711"; | |
78 | reg = <0x40>; | |
79 | ||
80 | regulators { | |
81 | vdd_dvfs: sd1 { | |
82 | regulator-name = "1.315V CPU"; | |
83 | regulator-min-microvolt = <1050000>; | |
84 | regulator-max-microvolt = <1350000>; | |
85 | regulator-always-on; | |
86 | regulator-boot-on; | |
87 | }; | |
88 | sd2 { | |
89 | regulator-name = "1.8V"; | |
90 | regulator-min-microvolt = <1800000>; | |
91 | regulator-max-microvolt = <1800000>; | |
92 | regulator-always-on; | |
93 | regulator-boot-on; | |
94 | }; | |
95 | sd4 { | |
96 | regulator-name = "1.215V"; | |
97 | regulator-min-microvolt = <1215000>; | |
98 | regulator-max-microvolt = <1235000>; | |
99 | regulator-always-on; | |
100 | regulator-boot-on; | |
101 | }; | |
102 | ldo2 { | |
103 | regulator-name = "2.8V CPU"; | |
104 | regulator-min-microvolt = <2800000>; | |
105 | regulator-max-microvolt = <2800000>; | |
106 | regulator-always-on; | |
107 | regulator-boot-on; | |
108 | }; | |
109 | ldo3 { | |
110 | regulator-name = "3.0V CPU"; | |
111 | regulator-min-microvolt = <3000000>; | |
112 | regulator-max-microvolt = <3000000>; | |
113 | regulator-always-on; | |
114 | regulator-boot-on; | |
115 | }; | |
116 | ldo4 { | |
117 | regulator-name = "2.8V"; | |
118 | regulator-min-microvolt = <2800000>; | |
119 | regulator-max-microvolt = <2800000>; | |
120 | regulator-always-on; | |
121 | regulator-boot-on; | |
122 | }; | |
123 | ldo5 { | |
124 | regulator-name = "2.8V #2"; | |
125 | regulator-min-microvolt = <2800000>; | |
126 | regulator-max-microvolt = <2800000>; | |
127 | regulator-always-on; | |
128 | regulator-boot-on; | |
129 | }; | |
130 | ldo7 { | |
131 | regulator-name = "1.15V CPU"; | |
132 | regulator-min-microvolt = <1150000>; | |
133 | regulator-max-microvolt = <1150000>; | |
134 | regulator-always-on; | |
135 | regulator-boot-on; | |
136 | }; | |
137 | ldo8 { | |
138 | regulator-name = "1.15V CPU #2"; | |
139 | regulator-min-microvolt = <1150000>; | |
140 | regulator-max-microvolt = <1150000>; | |
141 | regulator-always-on; | |
142 | regulator-boot-on; | |
143 | }; | |
144 | }; | |
145 | }; | |
146 | }; | |
147 | ||
b8b82b29 | 148 | &mmcif { |
f017d011 GL |
149 | bus-width = <8>; |
150 | vmmc-supply = <®_1p8v>; | |
546e5d3e GL |
151 | status = "okay"; |
152 | }; | |
153 | ||
154 | &sdhi0 { | |
155 | vmmc-supply = <®_3p3v>; | |
156 | bus-width = <4>; | |
157 | status = "okay"; | |
158 | }; | |
159 | ||
160 | &sdhi2 { | |
161 | vmmc-supply = <®_3p3v>; | |
162 | bus-width = <4>; | |
163 | broken-cd; | |
164 | status = "okay"; | |
b8b82b29 | 165 | }; |