blob: 5972abb55f9cfbbf85cbc133eef788a9635e17d5 [file] [log] [blame]
Simon Hormanb8b82b22012-11-22 00:34:25 +09001/*
2 * Device Tree Source for the KZM-A9-GT board
3 *
4 * Copyright (C) 2012 Horms Solutions Ltd.
5 *
6 * Based on sh73a0-kzm9g.dts
7 * Copyright (C) 2012 Renesas Solutions Corp.
8 *
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.
12 */
13
14/dts-v1/;
Guennadi Liakhovetski546e5d32013-03-19 13:47:43 +010015/include/ "sh73a0.dtsi"
Simon Hormanb8b82b22012-11-22 00:34:25 +090016
17/ {
18 model = "KZM-A9-GT";
19 compatible = "renesas,kzm9g-reference", "renesas,sh73a0";
20
21 chosen {
22 bootargs = "console=tty0 console=ttySC4,115200 root=/dev/nfs ip=dhcp ignore_loglevel earlyprintk=sh-sci.4,115200";
23 };
24
25 memory {
26 device_type = "memory";
27 reg = <0x41000000 0x1e800000>;
28 };
29
Guennadi Liakhovetskif017d012013-02-08 19:38:27 +010030 reg_1p8v: regulator@0 {
Simon Hormanb8b82b22012-11-22 00:34:25 +090031 compatible = "regulator-fixed";
32 regulator-name = "fixed-1.8V";
33 regulator-min-microvolt = <1800000>;
34 regulator-max-microvolt = <1800000>;
Guennadi Liakhovetskif017d012013-02-08 19:38:27 +010035 regulator-always-on;
36 regulator-boot-on;
37 };
38
Guennadi Liakhovetskic791c032013-03-19 13:47:39 +010039 reg_3p3v: regulator@1 {
Guennadi Liakhovetskif017d012013-02-08 19:38:27 +010040 compatible = "regulator-fixed";
Guennadi Liakhovetskic791c032013-03-19 13:47:39 +010041 regulator-name = "fixed-3.3V";
42 regulator-min-microvolt = <3300000>;
43 regulator-max-microvolt = <3300000>;
Guennadi Liakhovetskif017d012013-02-08 19:38:27 +010044 regulator-always-on;
45 regulator-boot-on;
46 };
Guennadi Liakhovetski8c1de8e2013-03-21 17:05:44 +010047
48 lan9220@10000000 {
49 compatible = "smsc,lan9220", "smsc,lan9115";
50 reg = <0x10000000 0x100>;
51 phy-mode = "mii";
52 interrupt-parent = <&irqpin0>;
53 interrupts = <3 0>; /* active low */
54 reg-io-width = <4>;
55 smsc,irq-push-pull;
56 smsc,save-mac-address;
57 vddvario-supply = <&reg_1p8v>;
58 vdd33a-supply = <&reg_3p3v>;
59 };
Simon Hormanb8b82b22012-11-22 00:34:25 +090060};
61
62&mmcif {
Guennadi Liakhovetskif017d012013-02-08 19:38:27 +010063 bus-width = <8>;
64 vmmc-supply = <&reg_1p8v>;
Guennadi Liakhovetski546e5d32013-03-19 13:47:43 +010065 status = "okay";
66};
67
68&sdhi0 {
69 vmmc-supply = <&reg_3p3v>;
70 bus-width = <4>;
71 status = "okay";
72};
73
74&sdhi2 {
75 vmmc-supply = <&reg_3p3v>;
76 bus-width = <4>;
77 broken-cd;
78 status = "okay";
Simon Hormanb8b82b22012-11-22 00:34:25 +090079};