1 // SPDX-License-Identifier: GPL-2.0
3 * Device Tree Source for the KZM-A9-GT board
5 * Copyright (C) 2012 Horms Solutions Ltd.
7 * Based on sh73a0-kzm9g.dts
8 * Copyright (C) 2012 Renesas Solutions Corp.
12 #include "sh73a0.dtsi"
13 #include <dt-bindings/gpio/gpio.h>
14 #include <dt-bindings/input/input.h>
15 #include <dt-bindings/interrupt-controller/irq.h>
19 compatible = "renesas,kzm9g", "renesas,sh73a0";
27 cpu0-supply = <&vdd_dvfs>;
34 voltage-tolerance = <1>; /* 1% */
39 bootargs = "root=/dev/nfs ip=on ignore_loglevel rw";
40 stdout-path = "serial0:115200n8";
44 device_type = "memory";
45 reg = <0x40000000 0x20000000>;
48 reg_1p8v: regulator-1p8v {
49 compatible = "regulator-fixed";
50 regulator-name = "fixed-1.8V";
51 regulator-min-microvolt = <1800000>;
52 regulator-max-microvolt = <1800000>;
57 reg_3p3v: regulator-3p3v {
58 compatible = "regulator-fixed";
59 regulator-name = "fixed-3.3V";
60 regulator-min-microvolt = <3300000>;
61 regulator-max-microvolt = <3300000>;
66 vmmc_sdhi0: regulator-vmmc-sdhi0 {
67 compatible = "regulator-fixed";
68 regulator-name = "SDHI0 Vcc";
69 regulator-min-microvolt = <3300000>;
70 regulator-max-microvolt = <3300000>;
71 gpio = <&pfc 15 GPIO_ACTIVE_HIGH>;
75 vmmc_sdhi2: regulator-vmmc-sdhi2 {
76 compatible = "regulator-fixed";
77 regulator-name = "SDHI2 Vcc";
78 regulator-min-microvolt = <3300000>;
79 regulator-max-microvolt = <3300000>;
80 gpio = <&pfc 14 GPIO_ACTIVE_HIGH>;
85 compatible = "gpio-leds";
87 gpios = <&pfc 20 GPIO_ACTIVE_LOW>;
91 gpios = <&pfc 21 GPIO_ACTIVE_LOW>;
95 gpios = <&pfc 22 GPIO_ACTIVE_LOW>;
99 gpios = <&pfc 23 GPIO_ACTIVE_LOW>;
105 compatible = "gpio-keys";
108 gpios = <&pcf8575 8 GPIO_ACTIVE_LOW>;
109 linux,code = <KEY_BACK>;
114 gpios = <&pcf8575 9 GPIO_ACTIVE_LOW>;
115 linux,code = <KEY_RIGHT>;
120 gpios = <&pcf8575 10 GPIO_ACTIVE_LOW>;
121 linux,code = <KEY_LEFT>;
126 gpios = <&pcf8575 11 GPIO_ACTIVE_LOW>;
127 linux,code = <KEY_ENTER>;
132 gpios = <&pcf8575 12 GPIO_ACTIVE_LOW>;
133 linux,code = <KEY_UP>;
138 gpios = <&pcf8575 13 GPIO_ACTIVE_LOW>;
139 linux,code = <KEY_DOWN>;
144 gpios = <&pcf8575 14 GPIO_ACTIVE_LOW>;
145 linux,code = <KEY_HOME>;
151 gpios = <&pfc 159 GPIO_ACTIVE_LOW>;
152 linux,code = <KEY_WAKEUP>;
159 compatible = "simple-audio-card";
160 simple-audio-card,format = "left_j";
161 simple-audio-card,cpu {
162 sound-dai = <&sh_fsi2 0>;
164 simple-audio-card,codec {
165 sound-dai = <&ak4648>;
168 system-clock-frequency = <11289600>;
175 compatible = "smsc,lan9220", "smsc,lan9115";
176 reg = <0x10000000 0x100>;
178 interrupt-parent = <&irqpin0>;
179 interrupts = <3 IRQ_TYPE_EDGE_FALLING>;
182 smsc,save-mac-address;
183 vddvario-supply = <®_1p8v>;
184 vdd33a-supply = <®_3p3v>;
193 clock-frequency = <48000000>;
200 compatible = "asahi-kasei,ak8975";
202 interrupt-parent = <&irqpin3>;
203 interrupts = <4 IRQ_TYPE_EDGE_FALLING>;
207 compatible = "asahi-kasei,ak4648";
209 #sound-dai-cells = <0>;
213 compatible = "adi,adxl345";
215 interrupt-parent = <&irqpin3>;
216 interrupts = <2 IRQ_TYPE_LEVEL_HIGH>,
217 <3 IRQ_TYPE_LEVEL_HIGH>;
221 compatible = "ricoh,r2025sd";
226 compatible = "ams,as3711";
231 regulator-name = "1.315V CPU";
232 regulator-min-microvolt = <1050000>;
233 regulator-max-microvolt = <1350000>;
238 regulator-name = "1.8V";
239 regulator-min-microvolt = <1800000>;
240 regulator-max-microvolt = <1800000>;
245 regulator-name = "1.215V";
246 regulator-min-microvolt = <1215000>;
247 regulator-max-microvolt = <1235000>;
252 regulator-name = "2.8V CPU";
253 regulator-min-microvolt = <2800000>;
254 regulator-max-microvolt = <2800000>;
259 regulator-name = "3.0V CPU";
260 regulator-min-microvolt = <3000000>;
261 regulator-max-microvolt = <3000000>;
266 regulator-name = "2.8V";
267 regulator-min-microvolt = <2800000>;
268 regulator-max-microvolt = <2800000>;
273 regulator-name = "2.8V #2";
274 regulator-min-microvolt = <2800000>;
275 regulator-max-microvolt = <2800000>;
280 regulator-name = "1.15V CPU";
281 regulator-min-microvolt = <1150000>;
282 regulator-max-microvolt = <1150000>;
287 regulator-name = "1.15V CPU #2";
288 regulator-min-microvolt = <1150000>;
289 regulator-max-microvolt = <1150000>;
301 compatible = "sitronix,st1232";
303 interrupt-parent = <&irqpin1>;
304 interrupts = <0 IRQ_TYPE_EDGE_FALLING>;
309 pinctrl-0 = <&i2c3_pins>;
310 pinctrl-names = "default";
314 compatible = "nxp,pcf8575";
316 interrupt-parent = <&irqpin2>;
317 interrupts = <3 IRQ_TYPE_EDGE_FALLING>;
320 interrupt-controller;
321 #interrupt-cells = <2>;
326 pinctrl-0 = <&mmcif_pins>;
327 pinctrl-names = "default";
330 vmmc-supply = <®_1p8v>;
342 groups = "mmc0_data8_0", "mmc0_ctrl_0";
346 groups = "mmc0_data8_0";
352 scifa4_pins: scifa4 {
353 groups = "scifa4_data", "scifa4_ctrl";
358 groups = "sdhi0_data4", "sdhi0_ctrl", "sdhi0_cd", "sdhi0_wp";
363 groups = "sdhi2_data4", "sdhi2_ctrl";
368 groups = "fsia_mclk_in", "fsia_sclk_in",
369 "fsia_data_in", "fsia_data_out";
375 pinctrl-0 = <&scifa4_pins>;
376 pinctrl-names = "default";
383 pinctrl-0 = <&sdhi0_pins>;
384 pinctrl-names = "default";
386 vmmc-supply = <&vmmc_sdhi0>;
392 pinctrl-0 = <&sdhi2_pins>;
393 pinctrl-names = "default";
395 vmmc-supply = <&vmmc_sdhi2>;
402 pinctrl-0 = <&fsia_pins>;
403 pinctrl-names = "default";