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";
26 cpu0-supply = <&vdd_dvfs>;
33 voltage-tolerance = <1>; /* 1% */
38 bootargs = "console=tty0 console=ttySC4,115200 root=/dev/nfs ip=dhcp ignore_loglevel earlyprintk=sh-sci.4,115200 rw";
42 device_type = "memory";
43 reg = <0x41000000 0x1e800000>;
46 reg_1p8v: regulator@0 {
47 compatible = "regulator-fixed";
48 regulator-name = "fixed-1.8V";
49 regulator-min-microvolt = <1800000>;
50 regulator-max-microvolt = <1800000>;
55 reg_3p3v: regulator@1 {
56 compatible = "regulator-fixed";
57 regulator-name = "fixed-3.3V";
58 regulator-min-microvolt = <3300000>;
59 regulator-max-microvolt = <3300000>;
64 vmmc_sdhi0: regulator@2 {
65 compatible = "regulator-fixed";
66 regulator-name = "SDHI0 Vcc";
67 regulator-min-microvolt = <3300000>;
68 regulator-max-microvolt = <3300000>;
69 gpio = <&pfc 15 GPIO_ACTIVE_HIGH>;
73 vmmc_sdhi2: regulator@3 {
74 compatible = "regulator-fixed";
75 regulator-name = "SDHI2 Vcc";
76 regulator-min-microvolt = <3300000>;
77 regulator-max-microvolt = <3300000>;
78 gpio = <&pfc 14 GPIO_ACTIVE_HIGH>;
83 compatible = "smsc,lan9220", "smsc,lan9115";
84 reg = <0x10000000 0x100>;
86 interrupt-parent = <&irqpin0>;
87 interrupts = <3 IRQ_TYPE_EDGE_FALLING>;
90 smsc,save-mac-address;
91 vddvario-supply = <®_1p8v>;
92 vdd33a-supply = <®_3p3v>;
96 compatible = "gpio-leds";
98 gpios = <&pfc 20 GPIO_ACTIVE_LOW>;
101 gpios = <&pfc 21 GPIO_ACTIVE_LOW>;
104 gpios = <&pfc 22 GPIO_ACTIVE_LOW>;
107 gpios = <&pfc 23 GPIO_ACTIVE_LOW>;
112 compatible = "gpio-keys";
115 gpios = <&pcf8575 8 GPIO_ACTIVE_LOW>;
116 linux,code = <KEY_BACK>;
121 gpios = <&pcf8575 9 GPIO_ACTIVE_LOW>;
122 linux,code = <KEY_RIGHT>;
127 gpios = <&pcf8575 10 GPIO_ACTIVE_LOW>;
128 linux,code = <KEY_LEFT>;
133 gpios = <&pcf8575 11 GPIO_ACTIVE_LOW>;
134 linux,code = <KEY_ENTER>;
139 gpios = <&pcf8575 12 GPIO_ACTIVE_LOW>;
140 linux,code = <KEY_UP>;
145 gpios = <&pcf8575 13 GPIO_ACTIVE_LOW>;
146 linux,code = <KEY_DOWN>;
151 gpios = <&pcf8575 14 GPIO_ACTIVE_LOW>;
152 linux,code = <KEY_HOME>;
158 compatible = "simple-audio-card";
159 simple-audio-card,format = "left_j";
160 simple-audio-card,cpu {
161 sound-dai = <&sh_fsi2 0>;
163 simple-audio-card,codec {
164 sound-dai = <&ak4648>;
167 system-clock-frequency = <11289600>;
175 compatible = "ams,as3711";
180 regulator-name = "1.315V CPU";
181 regulator-min-microvolt = <1050000>;
182 regulator-max-microvolt = <1350000>;
187 regulator-name = "1.8V";
188 regulator-min-microvolt = <1800000>;
189 regulator-max-microvolt = <1800000>;
194 regulator-name = "1.215V";
195 regulator-min-microvolt = <1215000>;
196 regulator-max-microvolt = <1235000>;
201 regulator-name = "2.8V CPU";
202 regulator-min-microvolt = <2800000>;
203 regulator-max-microvolt = <2800000>;
208 regulator-name = "3.0V CPU";
209 regulator-min-microvolt = <3000000>;
210 regulator-max-microvolt = <3000000>;
215 regulator-name = "2.8V";
216 regulator-min-microvolt = <2800000>;
217 regulator-max-microvolt = <2800000>;
222 regulator-name = "2.8V #2";
223 regulator-min-microvolt = <2800000>;
224 regulator-max-microvolt = <2800000>;
229 regulator-name = "1.15V CPU";
230 regulator-min-microvolt = <1150000>;
231 regulator-max-microvolt = <1150000>;
236 regulator-name = "1.15V CPU #2";
237 regulator-min-microvolt = <1150000>;
238 regulator-max-microvolt = <1150000>;
245 ak4648: ak4648@0x12 {
246 #sound-dai-cells = <0>;
247 compatible = "asahi-kasei,ak4648";
253 pinctrl-0 = <&i2c3_pins>;
254 pinctrl-names = "default";
258 compatible = "nxp,pcf8575";
260 interrupt-parent = <&irqpin2>;
261 interrupts = <3 IRQ_TYPE_EDGE_FALLING>;
264 interrupt-controller;
265 #interrupt-cells = <2>;
270 pinctrl-0 = <&mmcif_pins>;
271 pinctrl-names = "default";
274 vmmc-supply = <®_1p8v>;
279 pinctrl-0 = <&scifa4_pins>;
280 pinctrl-names = "default";
283 renesas,groups = "i2c3_1";
284 renesas,function = "i2c3";
289 renesas,groups = "mmc0_data8_0", "mmc0_ctrl_0";
290 renesas,function = "mmc0";
293 renesas,groups = "mmc0_data8_0";
294 renesas,pins = "PORT279";
299 scifa4_pins: serial4 {
300 renesas,groups = "scifa4_data", "scifa4_ctrl";
301 renesas,function = "scifa4";
305 renesas,groups = "sdhi0_data4", "sdhi0_ctrl", "sdhi0_cd", "sdhi0_wp";
306 renesas,function = "sdhi0";
310 renesas,groups = "sdhi2_data4", "sdhi2_ctrl";
311 renesas,function = "sdhi2";
315 renesas,groups = "fsia_mclk_in", "fsia_sclk_in",
316 "fsia_data_in", "fsia_data_out";
317 renesas,function = "fsia";
322 pinctrl-0 = <&sdhi0_pins>;
323 pinctrl-names = "default";
325 vmmc-supply = <&vmmc_sdhi0>;
331 pinctrl-0 = <&sdhi2_pins>;
332 pinctrl-names = "default";
334 vmmc-supply = <&vmmc_sdhi2>;
341 pinctrl-0 = <&fsia_pins>;
342 pinctrl-names = "default";