Simon Horman | b8b82b2 | 2012-11-22 00:34:25 +0900 | [diff] [blame] | 1 | /* |
| 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 Liakhovetski | 546e5d3 | 2013-03-19 13:47:43 +0100 | [diff] [blame] | 15 | /include/ "sh73a0.dtsi" |
Simon Horman | b8b82b2 | 2012-11-22 00:34:25 +0900 | [diff] [blame] | 16 | |
| 17 | / { |
| 18 | model = "KZM-A9-GT"; |
| 19 | compatible = "renesas,kzm9g-reference", "renesas,sh73a0"; |
| 20 | |
Guennadi Liakhovetski | 251ed17 | 2013-04-05 12:00:37 +0200 | [diff] [blame] | 21 | cpus { |
| 22 | cpu@0 { |
| 23 | cpu0-supply = <&vdd_dvfs>; |
| 24 | operating-points = < |
| 25 | /* kHz uV */ |
| 26 | 1196000 1315000 |
| 27 | 598000 1175000 |
| 28 | 398667 1065000 |
| 29 | >; |
| 30 | voltage-tolerance = <1>; /* 1% */ |
| 31 | }; |
| 32 | }; |
| 33 | |
Simon Horman | b8b82b2 | 2012-11-22 00:34:25 +0900 | [diff] [blame] | 34 | chosen { |
Laurent Pinchart | d2f463a | 2013-07-29 22:31:41 +0200 | [diff] [blame^] | 35 | bootargs = "console=tty0 console=ttySC4,115200 root=/dev/nfs ip=dhcp ignore_loglevel earlyprintk=sh-sci.4,115200 rw"; |
Simon Horman | b8b82b2 | 2012-11-22 00:34:25 +0900 | [diff] [blame] | 36 | }; |
| 37 | |
| 38 | memory { |
| 39 | device_type = "memory"; |
| 40 | reg = <0x41000000 0x1e800000>; |
| 41 | }; |
| 42 | |
Guennadi Liakhovetski | f017d01 | 2013-02-08 19:38:27 +0100 | [diff] [blame] | 43 | reg_1p8v: regulator@0 { |
Simon Horman | b8b82b2 | 2012-11-22 00:34:25 +0900 | [diff] [blame] | 44 | compatible = "regulator-fixed"; |
| 45 | regulator-name = "fixed-1.8V"; |
| 46 | regulator-min-microvolt = <1800000>; |
| 47 | regulator-max-microvolt = <1800000>; |
Guennadi Liakhovetski | f017d01 | 2013-02-08 19:38:27 +0100 | [diff] [blame] | 48 | regulator-always-on; |
| 49 | regulator-boot-on; |
| 50 | }; |
| 51 | |
Guennadi Liakhovetski | c791c03 | 2013-03-19 13:47:39 +0100 | [diff] [blame] | 52 | reg_3p3v: regulator@1 { |
Guennadi Liakhovetski | f017d01 | 2013-02-08 19:38:27 +0100 | [diff] [blame] | 53 | compatible = "regulator-fixed"; |
Guennadi Liakhovetski | c791c03 | 2013-03-19 13:47:39 +0100 | [diff] [blame] | 54 | regulator-name = "fixed-3.3V"; |
| 55 | regulator-min-microvolt = <3300000>; |
| 56 | regulator-max-microvolt = <3300000>; |
Guennadi Liakhovetski | f017d01 | 2013-02-08 19:38:27 +0100 | [diff] [blame] | 57 | regulator-always-on; |
| 58 | regulator-boot-on; |
| 59 | }; |
Guennadi Liakhovetski | 8c1de8e | 2013-03-21 17:05:44 +0100 | [diff] [blame] | 60 | |
| 61 | lan9220@10000000 { |
| 62 | compatible = "smsc,lan9220", "smsc,lan9115"; |
| 63 | reg = <0x10000000 0x100>; |
| 64 | phy-mode = "mii"; |
| 65 | interrupt-parent = <&irqpin0>; |
| 66 | interrupts = <3 0>; /* active low */ |
| 67 | reg-io-width = <4>; |
| 68 | smsc,irq-push-pull; |
| 69 | smsc,save-mac-address; |
| 70 | vddvario-supply = <®_1p8v>; |
| 71 | vdd33a-supply = <®_3p3v>; |
| 72 | }; |
Simon Horman | b8b82b2 | 2012-11-22 00:34:25 +0900 | [diff] [blame] | 73 | }; |
| 74 | |
Guennadi Liakhovetski | 251ed17 | 2013-04-05 12:00:37 +0200 | [diff] [blame] | 75 | &i2c0 { |
| 76 | as3711@40 { |
| 77 | compatible = "ams,as3711"; |
| 78 | reg = <0x40>; |
| 79 | |
| 80 | regulators { |
| 81 | vdd_dvfs: sd1 { |
| 82 | regulator-name = "1.315V CPU"; |
| 83 | regulator-min-microvolt = <1050000>; |
| 84 | regulator-max-microvolt = <1350000>; |
| 85 | regulator-always-on; |
| 86 | regulator-boot-on; |
| 87 | }; |
| 88 | sd2 { |
| 89 | regulator-name = "1.8V"; |
| 90 | regulator-min-microvolt = <1800000>; |
| 91 | regulator-max-microvolt = <1800000>; |
| 92 | regulator-always-on; |
| 93 | regulator-boot-on; |
| 94 | }; |
| 95 | sd4 { |
| 96 | regulator-name = "1.215V"; |
| 97 | regulator-min-microvolt = <1215000>; |
| 98 | regulator-max-microvolt = <1235000>; |
| 99 | regulator-always-on; |
| 100 | regulator-boot-on; |
| 101 | }; |
| 102 | ldo2 { |
| 103 | regulator-name = "2.8V CPU"; |
| 104 | regulator-min-microvolt = <2800000>; |
| 105 | regulator-max-microvolt = <2800000>; |
| 106 | regulator-always-on; |
| 107 | regulator-boot-on; |
| 108 | }; |
| 109 | ldo3 { |
| 110 | regulator-name = "3.0V CPU"; |
| 111 | regulator-min-microvolt = <3000000>; |
| 112 | regulator-max-microvolt = <3000000>; |
| 113 | regulator-always-on; |
| 114 | regulator-boot-on; |
| 115 | }; |
| 116 | ldo4 { |
| 117 | regulator-name = "2.8V"; |
| 118 | regulator-min-microvolt = <2800000>; |
| 119 | regulator-max-microvolt = <2800000>; |
| 120 | regulator-always-on; |
| 121 | regulator-boot-on; |
| 122 | }; |
| 123 | ldo5 { |
| 124 | regulator-name = "2.8V #2"; |
| 125 | regulator-min-microvolt = <2800000>; |
| 126 | regulator-max-microvolt = <2800000>; |
| 127 | regulator-always-on; |
| 128 | regulator-boot-on; |
| 129 | }; |
| 130 | ldo7 { |
| 131 | regulator-name = "1.15V CPU"; |
| 132 | regulator-min-microvolt = <1150000>; |
| 133 | regulator-max-microvolt = <1150000>; |
| 134 | regulator-always-on; |
| 135 | regulator-boot-on; |
| 136 | }; |
| 137 | ldo8 { |
| 138 | regulator-name = "1.15V CPU #2"; |
| 139 | regulator-min-microvolt = <1150000>; |
| 140 | regulator-max-microvolt = <1150000>; |
| 141 | regulator-always-on; |
| 142 | regulator-boot-on; |
| 143 | }; |
| 144 | }; |
| 145 | }; |
| 146 | }; |
| 147 | |
Simon Horman | b8b82b2 | 2012-11-22 00:34:25 +0900 | [diff] [blame] | 148 | &mmcif { |
Guennadi Liakhovetski | f017d01 | 2013-02-08 19:38:27 +0100 | [diff] [blame] | 149 | bus-width = <8>; |
| 150 | vmmc-supply = <®_1p8v>; |
Guennadi Liakhovetski | 546e5d3 | 2013-03-19 13:47:43 +0100 | [diff] [blame] | 151 | status = "okay"; |
| 152 | }; |
| 153 | |
| 154 | &sdhi0 { |
| 155 | vmmc-supply = <®_3p3v>; |
| 156 | bus-width = <4>; |
| 157 | status = "okay"; |
| 158 | }; |
| 159 | |
| 160 | &sdhi2 { |
| 161 | vmmc-supply = <®_3p3v>; |
| 162 | bus-width = <4>; |
| 163 | broken-cd; |
| 164 | status = "okay"; |
Simon Horman | b8b82b2 | 2012-11-22 00:34:25 +0900 | [diff] [blame] | 165 | }; |