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";
43 stdout-path = &scifa4;
47 device_type = "memory";
48 reg = <0x41000000 0x1e800000>;
51 reg_1p8v: regulator@0 {
52 compatible = "regulator-fixed";
53 regulator-name = "fixed-1.8V";
54 regulator-min-microvolt = <1800000>;
55 regulator-max-microvolt = <1800000>;
60 reg_3p3v: regulator@1 {
61 compatible = "regulator-fixed";
62 regulator-name = "fixed-3.3V";
63 regulator-min-microvolt = <3300000>;
64 regulator-max-microvolt = <3300000>;
69 vmmc_sdhi0: regulator@2 {
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@3 {
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 = "smsc,lan9220", "smsc,lan9115";
89 reg = <0x10000000 0x100>;
91 interrupt-parent = <&irqpin0>;
92 interrupts = <3 IRQ_TYPE_EDGE_FALLING>;
95 smsc,save-mac-address;
96 vddvario-supply = <®_1p8v>;
97 vdd33a-supply = <®_3p3v>;
101 compatible = "gpio-leds";
103 gpios = <&pfc 20 GPIO_ACTIVE_LOW>;
106 gpios = <&pfc 21 GPIO_ACTIVE_LOW>;
109 gpios = <&pfc 22 GPIO_ACTIVE_LOW>;
112 gpios = <&pfc 23 GPIO_ACTIVE_LOW>;
117 compatible = "gpio-keys";
120 gpios = <&pcf8575 8 GPIO_ACTIVE_LOW>;
121 linux,code = <KEY_BACK>;
126 gpios = <&pcf8575 9 GPIO_ACTIVE_LOW>;
127 linux,code = <KEY_RIGHT>;
132 gpios = <&pcf8575 10 GPIO_ACTIVE_LOW>;
133 linux,code = <KEY_LEFT>;
138 gpios = <&pcf8575 11 GPIO_ACTIVE_LOW>;
139 linux,code = <KEY_ENTER>;
144 gpios = <&pcf8575 12 GPIO_ACTIVE_LOW>;
145 linux,code = <KEY_UP>;
150 gpios = <&pcf8575 13 GPIO_ACTIVE_LOW>;
151 linux,code = <KEY_DOWN>;
156 gpios = <&pcf8575 14 GPIO_ACTIVE_LOW>;
157 linux,code = <KEY_HOME>;
163 compatible = "simple-audio-card";
164 simple-audio-card,format = "left_j";
165 simple-audio-card,cpu {
166 sound-dai = <&sh_fsi2 0>;
168 simple-audio-card,codec {
169 sound-dai = <&ak4648>;
172 system-clock-frequency = <11289600>;
184 compatible = "ams,as3711";
189 regulator-name = "1.315V CPU";
190 regulator-min-microvolt = <1050000>;
191 regulator-max-microvolt = <1350000>;
196 regulator-name = "1.8V";
197 regulator-min-microvolt = <1800000>;
198 regulator-max-microvolt = <1800000>;
203 regulator-name = "1.215V";
204 regulator-min-microvolt = <1215000>;
205 regulator-max-microvolt = <1235000>;
210 regulator-name = "2.8V CPU";
211 regulator-min-microvolt = <2800000>;
212 regulator-max-microvolt = <2800000>;
217 regulator-name = "3.0V CPU";
218 regulator-min-microvolt = <3000000>;
219 regulator-max-microvolt = <3000000>;
224 regulator-name = "2.8V";
225 regulator-min-microvolt = <2800000>;
226 regulator-max-microvolt = <2800000>;
231 regulator-name = "2.8V #2";
232 regulator-min-microvolt = <2800000>;
233 regulator-max-microvolt = <2800000>;
238 regulator-name = "1.15V CPU";
239 regulator-min-microvolt = <1150000>;
240 regulator-max-microvolt = <1150000>;
245 regulator-name = "1.15V CPU #2";
246 regulator-min-microvolt = <1150000>;
247 regulator-max-microvolt = <1150000>;
255 #sound-dai-cells = <0>;
256 compatible = "asahi-kasei,ak4648";
262 pinctrl-0 = <&i2c3_pins>;
263 pinctrl-names = "default";
267 compatible = "nxp,pcf8575";
269 interrupt-parent = <&irqpin2>;
270 interrupts = <3 IRQ_TYPE_EDGE_FALLING>;
273 interrupt-controller;
274 #interrupt-cells = <2>;
279 pinctrl-0 = <&mmcif_pins>;
280 pinctrl-names = "default";
283 vmmc-supply = <®_1p8v>;
289 renesas,groups = "i2c3_1";
290 renesas,function = "i2c3";
295 renesas,groups = "mmc0_data8_0", "mmc0_ctrl_0";
296 renesas,function = "mmc0";
299 renesas,groups = "mmc0_data8_0";
300 renesas,pins = "PORT279";
305 scifa4_pins: serial4 {
306 renesas,groups = "scifa4_data", "scifa4_ctrl";
307 renesas,function = "scifa4";
311 renesas,groups = "sdhi0_data4", "sdhi0_ctrl", "sdhi0_cd", "sdhi0_wp";
312 renesas,function = "sdhi0";
316 renesas,groups = "sdhi2_data4", "sdhi2_ctrl";
317 renesas,function = "sdhi2";
321 renesas,groups = "fsia_mclk_in", "fsia_sclk_in",
322 "fsia_data_in", "fsia_data_out";
323 renesas,function = "fsia";
328 pinctrl-0 = <&scifa4_pins>;
329 pinctrl-names = "default";
335 pinctrl-0 = <&sdhi0_pins>;
336 pinctrl-names = "default";
338 vmmc-supply = <&vmmc_sdhi0>;
344 pinctrl-0 = <&sdhi2_pins>;
345 pinctrl-names = "default";
347 vmmc-supply = <&vmmc_sdhi2>;
354 pinctrl-0 = <&fsia_pins>;
355 pinctrl-names = "default";