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>;
28 operating-points = <1196000 1315000>, /* kHz uV */
31 voltage-tolerance = <1>; /* 1% */
36 bootargs = "root=/dev/nfs ip=on ignore_loglevel rw";
37 stdout-path = "serial0:115200n8";
41 device_type = "memory";
42 reg = <0x40000000 0x20000000>;
45 reg_1p8v: regulator-1p8v {
46 compatible = "regulator-fixed";
47 regulator-name = "fixed-1.8V";
48 regulator-min-microvolt = <1800000>;
49 regulator-max-microvolt = <1800000>;
54 reg_3p3v: regulator-3p3v {
55 compatible = "regulator-fixed";
56 regulator-name = "fixed-3.3V";
57 regulator-min-microvolt = <3300000>;
58 regulator-max-microvolt = <3300000>;
63 vmmc_sdhi0: regulator-vmmc-sdhi0 {
64 compatible = "regulator-fixed";
65 regulator-name = "SDHI0 Vcc";
66 regulator-min-microvolt = <3300000>;
67 regulator-max-microvolt = <3300000>;
68 gpio = <&pfc 15 GPIO_ACTIVE_HIGH>;
72 vmmc_sdhi2: regulator-vmmc-sdhi2 {
73 compatible = "regulator-fixed";
74 regulator-name = "SDHI2 Vcc";
75 regulator-min-microvolt = <3300000>;
76 regulator-max-microvolt = <3300000>;
77 gpio = <&pfc 14 GPIO_ACTIVE_HIGH>;
82 compatible = "gpio-leds";
84 gpios = <&pfc 20 GPIO_ACTIVE_LOW>;
88 gpios = <&pfc 21 GPIO_ACTIVE_LOW>;
92 gpios = <&pfc 22 GPIO_ACTIVE_LOW>;
96 gpios = <&pfc 23 GPIO_ACTIVE_LOW>;
102 compatible = "gpio-keys";
105 gpios = <&pcf8575 8 GPIO_ACTIVE_LOW>;
106 linux,code = <KEY_BACK>;
111 gpios = <&pcf8575 9 GPIO_ACTIVE_LOW>;
112 linux,code = <KEY_RIGHT>;
117 gpios = <&pcf8575 10 GPIO_ACTIVE_LOW>;
118 linux,code = <KEY_LEFT>;
123 gpios = <&pcf8575 11 GPIO_ACTIVE_LOW>;
124 linux,code = <KEY_ENTER>;
129 gpios = <&pcf8575 12 GPIO_ACTIVE_LOW>;
130 linux,code = <KEY_UP>;
135 gpios = <&pcf8575 13 GPIO_ACTIVE_LOW>;
136 linux,code = <KEY_DOWN>;
141 gpios = <&pcf8575 14 GPIO_ACTIVE_LOW>;
142 linux,code = <KEY_HOME>;
148 gpios = <&pfc 159 GPIO_ACTIVE_LOW>;
149 linux,code = <KEY_WAKEUP>;
156 compatible = "simple-audio-card";
157 simple-audio-card,format = "left_j";
158 simple-audio-card,cpu {
159 sound-dai = <&sh_fsi2 0>;
161 simple-audio-card,codec {
162 sound-dai = <&ak4648>;
165 system-clock-frequency = <11289600>;
172 compatible = "smsc,lan9220", "smsc,lan9115";
173 reg = <0x10000000 0x100>;
175 interrupt-parent = <&irqpin0>;
176 interrupts = <3 IRQ_TYPE_EDGE_FALLING>;
179 smsc,save-mac-address;
180 vddvario-supply = <®_1p8v>;
181 vdd33a-supply = <®_3p3v>;
190 clock-frequency = <48000000>;
197 compatible = "asahi-kasei,ak8975";
199 interrupt-parent = <&irqpin3>;
200 interrupts = <4 IRQ_TYPE_EDGE_FALLING>;
204 compatible = "asahi-kasei,ak4648";
206 #sound-dai-cells = <0>;
210 compatible = "adi,adxl345";
212 interrupt-parent = <&irqpin3>;
213 interrupts = <2 IRQ_TYPE_LEVEL_HIGH>,
214 <3 IRQ_TYPE_LEVEL_HIGH>;
218 compatible = "ricoh,r2025sd";
223 compatible = "ams,as3711";
228 regulator-name = "1.315V CPU";
229 regulator-min-microvolt = <1050000>;
230 regulator-max-microvolt = <1350000>;
235 regulator-name = "1.8V";
236 regulator-min-microvolt = <1800000>;
237 regulator-max-microvolt = <1800000>;
242 regulator-name = "1.215V";
243 regulator-min-microvolt = <1215000>;
244 regulator-max-microvolt = <1235000>;
249 regulator-name = "2.8V CPU";
250 regulator-min-microvolt = <2800000>;
251 regulator-max-microvolt = <2800000>;
256 regulator-name = "3.0V CPU";
257 regulator-min-microvolt = <3000000>;
258 regulator-max-microvolt = <3000000>;
263 regulator-name = "2.8V";
264 regulator-min-microvolt = <2800000>;
265 regulator-max-microvolt = <2800000>;
270 regulator-name = "2.8V #2";
271 regulator-min-microvolt = <2800000>;
272 regulator-max-microvolt = <2800000>;
277 regulator-name = "1.15V CPU";
278 regulator-min-microvolt = <1150000>;
279 regulator-max-microvolt = <1150000>;
284 regulator-name = "1.15V CPU #2";
285 regulator-min-microvolt = <1150000>;
286 regulator-max-microvolt = <1150000>;
298 compatible = "sitronix,st1232";
300 interrupt-parent = <&irqpin1>;
301 interrupts = <0 IRQ_TYPE_EDGE_FALLING>;
306 pinctrl-0 = <&i2c3_pins>;
307 pinctrl-names = "default";
311 compatible = "nxp,pcf8575";
313 interrupt-parent = <&irqpin2>;
314 interrupts = <3 IRQ_TYPE_EDGE_FALLING>;
317 interrupt-controller;
318 #interrupt-cells = <2>;
323 pinctrl-0 = <&mmcif_pins>;
324 pinctrl-names = "default";
327 vmmc-supply = <®_1p8v>;
339 groups = "mmc0_data8_0", "mmc0_ctrl_0";
343 groups = "mmc0_data8_0";
349 scifa4_pins: scifa4 {
350 groups = "scifa4_data", "scifa4_ctrl";
355 groups = "sdhi0_data4", "sdhi0_ctrl", "sdhi0_cd", "sdhi0_wp";
360 groups = "sdhi2_data4", "sdhi2_ctrl";
365 groups = "fsia_mclk_in", "fsia_sclk_in",
366 "fsia_data_in", "fsia_data_out";
372 pinctrl-0 = <&scifa4_pins>;
373 pinctrl-names = "default";
380 pinctrl-0 = <&sdhi0_pins>;
381 pinctrl-names = "default";
383 vmmc-supply = <&vmmc_sdhi0>;
389 pinctrl-0 = <&sdhi2_pins>;
390 pinctrl-names = "default";
392 vmmc-supply = <&vmmc_sdhi2>;
399 pinctrl-0 = <&fsia_pins>;
400 pinctrl-names = "default";