2 * Device Tree Source for the KZM-A9-GT board
4 * Copyright (C) 2012 Horms Solutions Ltd.
6 * Based on sh73a0-kzm9g.dts
7 * Copyright (C) 2012 Renesas Solutions Corp.
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.
15 #include "sh73a0.dtsi"
16 #include <dt-bindings/gpio/gpio.h>
17 #include <dt-bindings/input/input.h>
18 #include <dt-bindings/interrupt-controller/irq.h>
22 compatible = "renesas,kzm9g-reference", "renesas,sh73a0";
30 cpu0-supply = <&vdd_dvfs>;
37 voltage-tolerance = <1>; /* 1% */
42 bootargs = "console=tty0 console=ttySC4,115200 root=/dev/nfs ip=dhcp ignore_loglevel rw";
46 device_type = "memory";
47 reg = <0x41000000 0x1e800000>;
50 reg_1p8v: regulator@0 {
51 compatible = "regulator-fixed";
52 regulator-name = "fixed-1.8V";
53 regulator-min-microvolt = <1800000>;
54 regulator-max-microvolt = <1800000>;
59 reg_3p3v: regulator@1 {
60 compatible = "regulator-fixed";
61 regulator-name = "fixed-3.3V";
62 regulator-min-microvolt = <3300000>;
63 regulator-max-microvolt = <3300000>;
68 vmmc_sdhi0: regulator@2 {
69 compatible = "regulator-fixed";
70 regulator-name = "SDHI0 Vcc";
71 regulator-min-microvolt = <3300000>;
72 regulator-max-microvolt = <3300000>;
73 gpio = <&pfc 15 GPIO_ACTIVE_HIGH>;
77 vmmc_sdhi2: regulator@3 {
78 compatible = "regulator-fixed";
79 regulator-name = "SDHI2 Vcc";
80 regulator-min-microvolt = <3300000>;
81 regulator-max-microvolt = <3300000>;
82 gpio = <&pfc 14 GPIO_ACTIVE_HIGH>;
87 compatible = "smsc,lan9220", "smsc,lan9115";
88 reg = <0x10000000 0x100>;
90 interrupt-parent = <&irqpin0>;
91 interrupts = <3 IRQ_TYPE_EDGE_FALLING>;
94 smsc,save-mac-address;
95 vddvario-supply = <®_1p8v>;
96 vdd33a-supply = <®_3p3v>;
100 compatible = "gpio-leds";
102 gpios = <&pfc 20 GPIO_ACTIVE_LOW>;
105 gpios = <&pfc 21 GPIO_ACTIVE_LOW>;
108 gpios = <&pfc 22 GPIO_ACTIVE_LOW>;
111 gpios = <&pfc 23 GPIO_ACTIVE_LOW>;
116 compatible = "gpio-keys";
119 gpios = <&pcf8575 8 GPIO_ACTIVE_LOW>;
120 linux,code = <KEY_BACK>;
125 gpios = <&pcf8575 9 GPIO_ACTIVE_LOW>;
126 linux,code = <KEY_RIGHT>;
131 gpios = <&pcf8575 10 GPIO_ACTIVE_LOW>;
132 linux,code = <KEY_LEFT>;
137 gpios = <&pcf8575 11 GPIO_ACTIVE_LOW>;
138 linux,code = <KEY_ENTER>;
143 gpios = <&pcf8575 12 GPIO_ACTIVE_LOW>;
144 linux,code = <KEY_UP>;
149 gpios = <&pcf8575 13 GPIO_ACTIVE_LOW>;
150 linux,code = <KEY_DOWN>;
155 gpios = <&pcf8575 14 GPIO_ACTIVE_LOW>;
156 linux,code = <KEY_HOME>;
162 compatible = "simple-audio-card";
163 simple-audio-card,format = "left_j";
164 simple-audio-card,cpu {
165 sound-dai = <&sh_fsi2 0>;
167 simple-audio-card,codec {
168 sound-dai = <&ak4648>;
171 system-clock-frequency = <11289600>;
183 compatible = "ams,as3711";
188 regulator-name = "1.315V CPU";
189 regulator-min-microvolt = <1050000>;
190 regulator-max-microvolt = <1350000>;
195 regulator-name = "1.8V";
196 regulator-min-microvolt = <1800000>;
197 regulator-max-microvolt = <1800000>;
202 regulator-name = "1.215V";
203 regulator-min-microvolt = <1215000>;
204 regulator-max-microvolt = <1235000>;
209 regulator-name = "2.8V CPU";
210 regulator-min-microvolt = <2800000>;
211 regulator-max-microvolt = <2800000>;
216 regulator-name = "3.0V CPU";
217 regulator-min-microvolt = <3000000>;
218 regulator-max-microvolt = <3000000>;
223 regulator-name = "2.8V";
224 regulator-min-microvolt = <2800000>;
225 regulator-max-microvolt = <2800000>;
230 regulator-name = "2.8V #2";
231 regulator-min-microvolt = <2800000>;
232 regulator-max-microvolt = <2800000>;
237 regulator-name = "1.15V CPU";
238 regulator-min-microvolt = <1150000>;
239 regulator-max-microvolt = <1150000>;
244 regulator-name = "1.15V CPU #2";
245 regulator-min-microvolt = <1150000>;
246 regulator-max-microvolt = <1150000>;
253 ak4648: ak4648@0x12 {
254 #sound-dai-cells = <0>;
255 compatible = "asahi-kasei,ak4648";
261 pinctrl-0 = <&i2c3_pins>;
262 pinctrl-names = "default";
266 compatible = "nxp,pcf8575";
268 interrupt-parent = <&irqpin2>;
269 interrupts = <3 IRQ_TYPE_EDGE_FALLING>;
272 interrupt-controller;
273 #interrupt-cells = <2>;
278 pinctrl-0 = <&mmcif_pins>;
279 pinctrl-names = "default";
282 vmmc-supply = <®_1p8v>;
288 renesas,groups = "i2c3_1";
289 renesas,function = "i2c3";
294 renesas,groups = "mmc0_data8_0", "mmc0_ctrl_0";
295 renesas,function = "mmc0";
298 renesas,groups = "mmc0_data8_0";
299 renesas,pins = "PORT279";
304 scifa4_pins: serial4 {
305 renesas,groups = "scifa4_data", "scifa4_ctrl";
306 renesas,function = "scifa4";
310 renesas,groups = "sdhi0_data4", "sdhi0_ctrl", "sdhi0_cd", "sdhi0_wp";
311 renesas,function = "sdhi0";
315 renesas,groups = "sdhi2_data4", "sdhi2_ctrl";
316 renesas,function = "sdhi2";
320 renesas,groups = "fsia_mclk_in", "fsia_sclk_in",
321 "fsia_data_in", "fsia_data_out";
322 renesas,function = "fsia";
327 pinctrl-0 = <&scifa4_pins>;
328 pinctrl-names = "default";
334 pinctrl-0 = <&sdhi0_pins>;
335 pinctrl-names = "default";
337 vmmc-supply = <&vmmc_sdhi0>;
343 pinctrl-0 = <&sdhi2_pins>;
344 pinctrl-names = "default";
346 vmmc-supply = <&vmmc_sdhi2>;
353 pinctrl-0 = <&fsia_pins>;
354 pinctrl-names = "default";