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", "renesas,sh73a0";
30 cpu0-supply = <&vdd_dvfs>;
37 voltage-tolerance = <1>; /* 1% */
42 bootargs = "root=/dev/nfs ip=dhcp ignore_loglevel rw";
43 stdout-path = "serial0:115200n8";
47 device_type = "memory";
48 reg = <0x40000000 0x20000000>;
51 reg_1p8v: regulator-1p8v {
52 compatible = "regulator-fixed";
53 regulator-name = "fixed-1.8V";
54 regulator-min-microvolt = <1800000>;
55 regulator-max-microvolt = <1800000>;
60 reg_3p3v: regulator-3p3v {
61 compatible = "regulator-fixed";
62 regulator-name = "fixed-3.3V";
63 regulator-min-microvolt = <3300000>;
64 regulator-max-microvolt = <3300000>;
69 vmmc_sdhi0: regulator-vmmc-sdhi0 {
70 compatible = "regulator-fixed";
71 regulator-name = "SDHI0 Vcc";
72 regulator-min-microvolt = <3300000>;
73 regulator-max-microvolt = <3300000>;
74 gpio = <&pfc 15 GPIO_ACTIVE_HIGH>;
78 vmmc_sdhi2: regulator-vmmc-sdhi2 {
79 compatible = "regulator-fixed";
80 regulator-name = "SDHI2 Vcc";
81 regulator-min-microvolt = <3300000>;
82 regulator-max-microvolt = <3300000>;
83 gpio = <&pfc 14 GPIO_ACTIVE_HIGH>;
88 compatible = "gpio-leds";
90 gpios = <&pfc 20 GPIO_ACTIVE_LOW>;
94 gpios = <&pfc 21 GPIO_ACTIVE_LOW>;
98 gpios = <&pfc 22 GPIO_ACTIVE_LOW>;
102 gpios = <&pfc 23 GPIO_ACTIVE_LOW>;
108 compatible = "gpio-keys";
111 gpios = <&pcf8575 8 GPIO_ACTIVE_LOW>;
112 linux,code = <KEY_BACK>;
117 gpios = <&pcf8575 9 GPIO_ACTIVE_LOW>;
118 linux,code = <KEY_RIGHT>;
123 gpios = <&pcf8575 10 GPIO_ACTIVE_LOW>;
124 linux,code = <KEY_LEFT>;
129 gpios = <&pcf8575 11 GPIO_ACTIVE_LOW>;
130 linux,code = <KEY_ENTER>;
135 gpios = <&pcf8575 12 GPIO_ACTIVE_LOW>;
136 linux,code = <KEY_UP>;
141 gpios = <&pcf8575 13 GPIO_ACTIVE_LOW>;
142 linux,code = <KEY_DOWN>;
147 gpios = <&pcf8575 14 GPIO_ACTIVE_LOW>;
148 linux,code = <KEY_HOME>;
154 gpios = <&pfc 159 GPIO_ACTIVE_LOW>;
155 linux,code = <KEY_WAKEUP>;
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>;
178 compatible = "smsc,lan9220", "smsc,lan9115";
179 reg = <0x10000000 0x100>;
181 interrupt-parent = <&irqpin0>;
182 interrupts = <3 IRQ_TYPE_EDGE_FALLING>;
185 smsc,save-mac-address;
186 vddvario-supply = <®_1p8v>;
187 vdd33a-supply = <®_3p3v>;
196 clock-frequency = <48000000>;
203 compatible = "asahi-kasei,ak8975";
205 interrupt-parent = <&irqpin3>;
206 interrupts = <4 IRQ_TYPE_EDGE_FALLING>;
210 compatible = "asahi-kasei,ak4648";
212 #sound-dai-cells = <0>;
216 compatible = "adi,adxl345";
218 interrupt-parent = <&irqpin3>;
219 interrupts = <2 IRQ_TYPE_LEVEL_HIGH>,
220 <3 IRQ_TYPE_LEVEL_HIGH>;
224 compatible = "ricoh,r2025sd";
229 compatible = "ams,as3711";
234 regulator-name = "1.315V CPU";
235 regulator-min-microvolt = <1050000>;
236 regulator-max-microvolt = <1350000>;
241 regulator-name = "1.8V";
242 regulator-min-microvolt = <1800000>;
243 regulator-max-microvolt = <1800000>;
248 regulator-name = "1.215V";
249 regulator-min-microvolt = <1215000>;
250 regulator-max-microvolt = <1235000>;
255 regulator-name = "2.8V CPU";
256 regulator-min-microvolt = <2800000>;
257 regulator-max-microvolt = <2800000>;
262 regulator-name = "3.0V CPU";
263 regulator-min-microvolt = <3000000>;
264 regulator-max-microvolt = <3000000>;
269 regulator-name = "2.8V";
270 regulator-min-microvolt = <2800000>;
271 regulator-max-microvolt = <2800000>;
276 regulator-name = "2.8V #2";
277 regulator-min-microvolt = <2800000>;
278 regulator-max-microvolt = <2800000>;
283 regulator-name = "1.15V CPU";
284 regulator-min-microvolt = <1150000>;
285 regulator-max-microvolt = <1150000>;
290 regulator-name = "1.15V CPU #2";
291 regulator-min-microvolt = <1150000>;
292 regulator-max-microvolt = <1150000>;
304 compatible = "sitronix,st1232";
306 interrupt-parent = <&irqpin1>;
307 interrupts = <0 IRQ_TYPE_EDGE_FALLING>;
312 pinctrl-0 = <&i2c3_pins>;
313 pinctrl-names = "default";
317 compatible = "nxp,pcf8575";
319 interrupt-parent = <&irqpin2>;
320 interrupts = <3 IRQ_TYPE_EDGE_FALLING>;
323 interrupt-controller;
324 #interrupt-cells = <2>;
329 pinctrl-0 = <&mmcif_pins>;
330 pinctrl-names = "default";
333 vmmc-supply = <®_1p8v>;
345 groups = "mmc0_data8_0", "mmc0_ctrl_0";
349 groups = "mmc0_data8_0";
355 scifa4_pins: scifa4 {
356 groups = "scifa4_data", "scifa4_ctrl";
361 groups = "sdhi0_data4", "sdhi0_ctrl", "sdhi0_cd", "sdhi0_wp";
366 groups = "sdhi2_data4", "sdhi2_ctrl";
371 groups = "fsia_mclk_in", "fsia_sclk_in",
372 "fsia_data_in", "fsia_data_out";
378 pinctrl-0 = <&scifa4_pins>;
379 pinctrl-names = "default";
386 pinctrl-0 = <&sdhi0_pins>;
387 pinctrl-names = "default";
389 vmmc-supply = <&vmmc_sdhi0>;
395 pinctrl-0 = <&sdhi2_pins>;
396 pinctrl-names = "default";
398 vmmc-supply = <&vmmc_sdhi2>;
405 pinctrl-0 = <&fsia_pins>;
406 pinctrl-names = "default";