Maxime Ripard | 4790ecf | 2013-07-17 10:07:10 +0200 | [diff] [blame] | 1 | /* |
| 2 | * Copyright 2013 Maxime Ripard |
| 3 | * |
| 4 | * Maxime Ripard <maxime.ripard@free-electrons.com> |
| 5 | * |
Maxime Ripard | 394c56c | 2014-09-02 19:25:26 +0200 | [diff] [blame] | 6 | * This file is dual-licensed: you can use it either under the terms |
| 7 | * of the GPL or the X11 license, at your option. Note that this dual |
| 8 | * licensing only applies to this file, and not this project as a |
| 9 | * whole. |
Maxime Ripard | 4790ecf | 2013-07-17 10:07:10 +0200 | [diff] [blame] | 10 | * |
Maxime Ripard | 394c56c | 2014-09-02 19:25:26 +0200 | [diff] [blame] | 11 | * a) This library is free software; you can redistribute it and/or |
| 12 | * modify it under the terms of the GNU General Public License as |
| 13 | * published by the Free Software Foundation; either version 2 of the |
| 14 | * License, or (at your option) any later version. |
| 15 | * |
| 16 | * This library is distributed in the hope that it will be useful, |
| 17 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 18 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 19 | * GNU General Public License for more details. |
| 20 | * |
| 21 | * You should have received a copy of the GNU General Public |
| 22 | * License along with this library; if not, write to the Free |
| 23 | * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, |
| 24 | * MA 02110-1301 USA |
| 25 | * |
| 26 | * Or, alternatively, |
| 27 | * |
| 28 | * b) Permission is hereby granted, free of charge, to any person |
| 29 | * obtaining a copy of this software and associated documentation |
| 30 | * files (the "Software"), to deal in the Software without |
| 31 | * restriction, including without limitation the rights to use, |
| 32 | * copy, modify, merge, publish, distribute, sublicense, and/or |
| 33 | * sell copies of the Software, and to permit persons to whom the |
| 34 | * Software is furnished to do so, subject to the following |
| 35 | * conditions: |
| 36 | * |
| 37 | * The above copyright notice and this permission notice shall be |
| 38 | * included in all copies or substantial portions of the Software. |
| 39 | * |
| 40 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, |
| 41 | * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES |
| 42 | * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND |
| 43 | * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT |
| 44 | * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, |
| 45 | * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING |
| 46 | * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR |
| 47 | * OTHER DEALINGS IN THE SOFTWARE. |
Maxime Ripard | 4790ecf | 2013-07-17 10:07:10 +0200 | [diff] [blame] | 48 | */ |
| 49 | |
| 50 | /include/ "skeleton.dtsi" |
| 51 | |
| 52 | / { |
| 53 | interrupt-parent = <&gic>; |
| 54 | |
Emilio López | e751cce | 2013-11-16 15:17:29 -0300 | [diff] [blame] | 55 | aliases { |
Chen-Yu Tsai | 18428f7 | 2014-02-10 18:35:54 +0800 | [diff] [blame] | 56 | ethernet0 = &gmac; |
Maxime Ripard | 4566b4b | 2014-01-02 22:05:04 +0100 | [diff] [blame] | 57 | serial0 = &uart0; |
| 58 | serial1 = &uart1; |
| 59 | serial2 = &uart2; |
| 60 | serial3 = &uart3; |
| 61 | serial4 = &uart4; |
| 62 | serial5 = &uart5; |
| 63 | serial6 = &uart6; |
| 64 | serial7 = &uart7; |
Emilio López | e751cce | 2013-11-16 15:17:29 -0300 | [diff] [blame] | 65 | }; |
| 66 | |
Maxime Ripard | 4790ecf | 2013-07-17 10:07:10 +0200 | [diff] [blame] | 67 | cpus { |
| 68 | #address-cells = <1>; |
| 69 | #size-cells = <0>; |
| 70 | |
| 71 | cpu@0 { |
| 72 | compatible = "arm,cortex-a7"; |
| 73 | device_type = "cpu"; |
| 74 | reg = <0>; |
| 75 | }; |
| 76 | |
| 77 | cpu@1 { |
| 78 | compatible = "arm,cortex-a7"; |
| 79 | device_type = "cpu"; |
| 80 | reg = <1>; |
| 81 | }; |
| 82 | }; |
| 83 | |
| 84 | memory { |
| 85 | reg = <0x40000000 0x80000000>; |
| 86 | }; |
| 87 | |
Marc Zyngier | 7902763 | 2014-02-18 14:04:44 +0000 | [diff] [blame] | 88 | timer { |
| 89 | compatible = "arm,armv7-timer"; |
| 90 | interrupts = <1 13 0xf08>, |
| 91 | <1 14 0xf08>, |
| 92 | <1 11 0xf08>, |
| 93 | <1 10 0xf08>; |
| 94 | }; |
| 95 | |
Maxime Ripard | e29ea4d | 2014-04-17 21:54:41 +0200 | [diff] [blame] | 96 | pmu { |
| 97 | compatible = "arm,cortex-a7-pmu", "arm,cortex-a15-pmu"; |
| 98 | interrupts = <0 120 4>, |
| 99 | <0 121 4>; |
| 100 | }; |
| 101 | |
Maxime Ripard | 4790ecf | 2013-07-17 10:07:10 +0200 | [diff] [blame] | 102 | clocks { |
| 103 | #address-cells = <1>; |
| 104 | #size-cells = <1>; |
| 105 | ranges; |
| 106 | |
Chen-Yu Tsai | 06067a2 | 2014-02-03 09:51:44 +0800 | [diff] [blame] | 107 | osc24M: clk@01c20050 { |
Maxime Ripard | 4790ecf | 2013-07-17 10:07:10 +0200 | [diff] [blame] | 108 | #clock-cells = <0>; |
Maxime Ripard | bf6534a | 2014-02-06 09:55:58 +0100 | [diff] [blame] | 109 | compatible = "allwinner,sun4i-a10-osc-clk"; |
Maxime Ripard | de7dc93 | 2013-07-25 21:12:52 +0200 | [diff] [blame] | 110 | reg = <0x01c20050 0x4>; |
Maxime Ripard | 4790ecf | 2013-07-17 10:07:10 +0200 | [diff] [blame] | 111 | clock-frequency = <24000000>; |
Chen-Yu Tsai | 06067a2 | 2014-02-03 09:51:44 +0800 | [diff] [blame] | 112 | clock-output-names = "osc24M"; |
Maxime Ripard | 4790ecf | 2013-07-17 10:07:10 +0200 | [diff] [blame] | 113 | }; |
| 114 | |
Chen-Yu Tsai | 673fac7 | 2014-01-01 10:30:47 +0800 | [diff] [blame] | 115 | osc32k: clk@0 { |
Maxime Ripard | 4790ecf | 2013-07-17 10:07:10 +0200 | [diff] [blame] | 116 | #clock-cells = <0>; |
| 117 | compatible = "fixed-clock"; |
| 118 | clock-frequency = <32768>; |
Chen-Yu Tsai | 673fac7 | 2014-01-01 10:30:47 +0800 | [diff] [blame] | 119 | clock-output-names = "osc32k"; |
Maxime Ripard | 4790ecf | 2013-07-17 10:07:10 +0200 | [diff] [blame] | 120 | }; |
Maxime Ripard | de7dc93 | 2013-07-25 21:12:52 +0200 | [diff] [blame] | 121 | |
Chen-Yu Tsai | 06067a2 | 2014-02-03 09:51:44 +0800 | [diff] [blame] | 122 | pll1: clk@01c20000 { |
Maxime Ripard | de7dc93 | 2013-07-25 21:12:52 +0200 | [diff] [blame] | 123 | #clock-cells = <0>; |
Maxime Ripard | bf6534a | 2014-02-06 09:55:58 +0100 | [diff] [blame] | 124 | compatible = "allwinner,sun4i-a10-pll1-clk"; |
Maxime Ripard | de7dc93 | 2013-07-25 21:12:52 +0200 | [diff] [blame] | 125 | reg = <0x01c20000 0x4>; |
| 126 | clocks = <&osc24M>; |
Chen-Yu Tsai | 06067a2 | 2014-02-03 09:51:44 +0800 | [diff] [blame] | 127 | clock-output-names = "pll1"; |
Maxime Ripard | de7dc93 | 2013-07-25 21:12:52 +0200 | [diff] [blame] | 128 | }; |
| 129 | |
Chen-Yu Tsai | 06067a2 | 2014-02-03 09:51:44 +0800 | [diff] [blame] | 130 | pll4: clk@01c20018 { |
Maxime Ripard | de7dc93 | 2013-07-25 21:12:52 +0200 | [diff] [blame] | 131 | #clock-cells = <0>; |
Emilio López | 04ebcb5 | 2014-03-19 15:19:31 -0300 | [diff] [blame] | 132 | compatible = "allwinner,sun7i-a20-pll4-clk"; |
Emilio López | ec5589f | 2013-12-23 00:32:35 -0300 | [diff] [blame] | 133 | reg = <0x01c20018 0x4>; |
| 134 | clocks = <&osc24M>; |
Chen-Yu Tsai | 06067a2 | 2014-02-03 09:51:44 +0800 | [diff] [blame] | 135 | clock-output-names = "pll4"; |
Emilio López | ec5589f | 2013-12-23 00:32:35 -0300 | [diff] [blame] | 136 | }; |
| 137 | |
Chen-Yu Tsai | 06067a2 | 2014-02-03 09:51:44 +0800 | [diff] [blame] | 138 | pll5: clk@01c20020 { |
Emilio López | c3e5e66 | 2013-12-23 00:32:38 -0300 | [diff] [blame] | 139 | #clock-cells = <1>; |
Maxime Ripard | bf6534a | 2014-02-06 09:55:58 +0100 | [diff] [blame] | 140 | compatible = "allwinner,sun4i-a10-pll5-clk"; |
Emilio López | c3e5e66 | 2013-12-23 00:32:38 -0300 | [diff] [blame] | 141 | reg = <0x01c20020 0x4>; |
| 142 | clocks = <&osc24M>; |
| 143 | clock-output-names = "pll5_ddr", "pll5_other"; |
| 144 | }; |
| 145 | |
Chen-Yu Tsai | 06067a2 | 2014-02-03 09:51:44 +0800 | [diff] [blame] | 146 | pll6: clk@01c20028 { |
Emilio López | c3e5e66 | 2013-12-23 00:32:38 -0300 | [diff] [blame] | 147 | #clock-cells = <1>; |
Maxime Ripard | bf6534a | 2014-02-06 09:55:58 +0100 | [diff] [blame] | 148 | compatible = "allwinner,sun4i-a10-pll6-clk"; |
Emilio López | c3e5e66 | 2013-12-23 00:32:38 -0300 | [diff] [blame] | 149 | reg = <0x01c20028 0x4>; |
| 150 | clocks = <&osc24M>; |
| 151 | clock-output-names = "pll6_sata", "pll6_other", "pll6"; |
Maxime Ripard | de7dc93 | 2013-07-25 21:12:52 +0200 | [diff] [blame] | 152 | }; |
| 153 | |
Emilio López | 04ebcb5 | 2014-03-19 15:19:31 -0300 | [diff] [blame] | 154 | pll8: clk@01c20040 { |
| 155 | #clock-cells = <0>; |
| 156 | compatible = "allwinner,sun7i-a20-pll4-clk"; |
| 157 | reg = <0x01c20040 0x4>; |
| 158 | clocks = <&osc24M>; |
| 159 | clock-output-names = "pll8"; |
| 160 | }; |
| 161 | |
Maxime Ripard | de7dc93 | 2013-07-25 21:12:52 +0200 | [diff] [blame] | 162 | cpu: cpu@01c20054 { |
| 163 | #clock-cells = <0>; |
Maxime Ripard | bf6534a | 2014-02-06 09:55:58 +0100 | [diff] [blame] | 164 | compatible = "allwinner,sun4i-a10-cpu-clk"; |
Maxime Ripard | de7dc93 | 2013-07-25 21:12:52 +0200 | [diff] [blame] | 165 | reg = <0x01c20054 0x4>; |
Emilio López | c3e5e66 | 2013-12-23 00:32:38 -0300 | [diff] [blame] | 166 | clocks = <&osc32k>, <&osc24M>, <&pll1>, <&pll6 1>; |
Chen-Yu Tsai | 06067a2 | 2014-02-03 09:51:44 +0800 | [diff] [blame] | 167 | clock-output-names = "cpu"; |
Maxime Ripard | de7dc93 | 2013-07-25 21:12:52 +0200 | [diff] [blame] | 168 | }; |
| 169 | |
| 170 | axi: axi@01c20054 { |
| 171 | #clock-cells = <0>; |
Maxime Ripard | bf6534a | 2014-02-06 09:55:58 +0100 | [diff] [blame] | 172 | compatible = "allwinner,sun4i-a10-axi-clk"; |
Maxime Ripard | de7dc93 | 2013-07-25 21:12:52 +0200 | [diff] [blame] | 173 | reg = <0x01c20054 0x4>; |
| 174 | clocks = <&cpu>; |
Chen-Yu Tsai | 06067a2 | 2014-02-03 09:51:44 +0800 | [diff] [blame] | 175 | clock-output-names = "axi"; |
Maxime Ripard | de7dc93 | 2013-07-25 21:12:52 +0200 | [diff] [blame] | 176 | }; |
| 177 | |
| 178 | ahb: ahb@01c20054 { |
| 179 | #clock-cells = <0>; |
Maxime Ripard | bf6534a | 2014-02-06 09:55:58 +0100 | [diff] [blame] | 180 | compatible = "allwinner,sun4i-a10-ahb-clk"; |
Maxime Ripard | de7dc93 | 2013-07-25 21:12:52 +0200 | [diff] [blame] | 181 | reg = <0x01c20054 0x4>; |
| 182 | clocks = <&axi>; |
Chen-Yu Tsai | 06067a2 | 2014-02-03 09:51:44 +0800 | [diff] [blame] | 183 | clock-output-names = "ahb"; |
Maxime Ripard | de7dc93 | 2013-07-25 21:12:52 +0200 | [diff] [blame] | 184 | }; |
| 185 | |
Chen-Yu Tsai | 06067a2 | 2014-02-03 09:51:44 +0800 | [diff] [blame] | 186 | ahb_gates: clk@01c20060 { |
Maxime Ripard | de7dc93 | 2013-07-25 21:12:52 +0200 | [diff] [blame] | 187 | #clock-cells = <1>; |
| 188 | compatible = "allwinner,sun7i-a20-ahb-gates-clk"; |
| 189 | reg = <0x01c20060 0x8>; |
| 190 | clocks = <&ahb>; |
| 191 | clock-output-names = "ahb_usb0", "ahb_ehci0", |
| 192 | "ahb_ohci0", "ahb_ehci1", "ahb_ohci1", |
| 193 | "ahb_ss", "ahb_dma", "ahb_bist", "ahb_mmc0", |
| 194 | "ahb_mmc1", "ahb_mmc2", "ahb_mmc3", "ahb_ms", |
| 195 | "ahb_nand", "ahb_sdram", "ahb_ace", |
| 196 | "ahb_emac", "ahb_ts", "ahb_spi0", "ahb_spi1", |
| 197 | "ahb_spi2", "ahb_spi3", "ahb_sata", |
| 198 | "ahb_hstimer", "ahb_ve", "ahb_tvd", "ahb_tve0", |
| 199 | "ahb_tve1", "ahb_lcd0", "ahb_lcd1", "ahb_csi0", |
| 200 | "ahb_csi1", "ahb_hdmi1", "ahb_hdmi0", |
| 201 | "ahb_de_be0", "ahb_de_be1", "ahb_de_fe0", |
| 202 | "ahb_de_fe1", "ahb_gmac", "ahb_mp", |
| 203 | "ahb_mali"; |
| 204 | }; |
| 205 | |
| 206 | apb0: apb0@01c20054 { |
| 207 | #clock-cells = <0>; |
Maxime Ripard | bf6534a | 2014-02-06 09:55:58 +0100 | [diff] [blame] | 208 | compatible = "allwinner,sun4i-a10-apb0-clk"; |
Maxime Ripard | de7dc93 | 2013-07-25 21:12:52 +0200 | [diff] [blame] | 209 | reg = <0x01c20054 0x4>; |
| 210 | clocks = <&ahb>; |
Chen-Yu Tsai | 06067a2 | 2014-02-03 09:51:44 +0800 | [diff] [blame] | 211 | clock-output-names = "apb0"; |
Maxime Ripard | de7dc93 | 2013-07-25 21:12:52 +0200 | [diff] [blame] | 212 | }; |
| 213 | |
Chen-Yu Tsai | 06067a2 | 2014-02-03 09:51:44 +0800 | [diff] [blame] | 214 | apb0_gates: clk@01c20068 { |
Maxime Ripard | de7dc93 | 2013-07-25 21:12:52 +0200 | [diff] [blame] | 215 | #clock-cells = <1>; |
| 216 | compatible = "allwinner,sun7i-a20-apb0-gates-clk"; |
| 217 | reg = <0x01c20068 0x4>; |
| 218 | clocks = <&apb0>; |
| 219 | clock-output-names = "apb0_codec", "apb0_spdif", |
| 220 | "apb0_ac97", "apb0_iis0", "apb0_iis1", |
| 221 | "apb0_pio", "apb0_ir0", "apb0_ir1", |
| 222 | "apb0_iis2", "apb0_keypad"; |
| 223 | }; |
| 224 | |
Emilio López | acbcc0f | 2014-11-06 11:40:30 +0800 | [diff] [blame^] | 225 | apb1: clk@01c20058 { |
Maxime Ripard | de7dc93 | 2013-07-25 21:12:52 +0200 | [diff] [blame] | 226 | #clock-cells = <0>; |
Maxime Ripard | bf6534a | 2014-02-06 09:55:58 +0100 | [diff] [blame] | 227 | compatible = "allwinner,sun4i-a10-apb1-clk"; |
Maxime Ripard | de7dc93 | 2013-07-25 21:12:52 +0200 | [diff] [blame] | 228 | reg = <0x01c20058 0x4>; |
Emilio López | acbcc0f | 2014-11-06 11:40:30 +0800 | [diff] [blame^] | 229 | clocks = <&osc24M>, <&pll6 1>, <&osc32k>; |
Chen-Yu Tsai | 06067a2 | 2014-02-03 09:51:44 +0800 | [diff] [blame] | 230 | clock-output-names = "apb1"; |
Maxime Ripard | de7dc93 | 2013-07-25 21:12:52 +0200 | [diff] [blame] | 231 | }; |
| 232 | |
Chen-Yu Tsai | 06067a2 | 2014-02-03 09:51:44 +0800 | [diff] [blame] | 233 | apb1_gates: clk@01c2006c { |
Maxime Ripard | de7dc93 | 2013-07-25 21:12:52 +0200 | [diff] [blame] | 234 | #clock-cells = <1>; |
| 235 | compatible = "allwinner,sun7i-a20-apb1-gates-clk"; |
| 236 | reg = <0x01c2006c 0x4>; |
| 237 | clocks = <&apb1>; |
| 238 | clock-output-names = "apb1_i2c0", "apb1_i2c1", |
| 239 | "apb1_i2c2", "apb1_i2c3", "apb1_can", |
| 240 | "apb1_scr", "apb1_ps20", "apb1_ps21", |
| 241 | "apb1_i2c4", "apb1_uart0", "apb1_uart1", |
| 242 | "apb1_uart2", "apb1_uart3", "apb1_uart4", |
| 243 | "apb1_uart5", "apb1_uart6", "apb1_uart7"; |
| 244 | }; |
Emilio López | 1c92b95 | 2013-12-23 00:32:43 -0300 | [diff] [blame] | 245 | |
| 246 | nand_clk: clk@01c20080 { |
| 247 | #clock-cells = <0>; |
Maxime Ripard | bf6534a | 2014-02-06 09:55:58 +0100 | [diff] [blame] | 248 | compatible = "allwinner,sun4i-a10-mod0-clk"; |
Emilio López | 1c92b95 | 2013-12-23 00:32:43 -0300 | [diff] [blame] | 249 | reg = <0x01c20080 0x4>; |
| 250 | clocks = <&osc24M>, <&pll6 1>, <&pll5 1>; |
| 251 | clock-output-names = "nand"; |
| 252 | }; |
| 253 | |
| 254 | ms_clk: clk@01c20084 { |
| 255 | #clock-cells = <0>; |
Maxime Ripard | bf6534a | 2014-02-06 09:55:58 +0100 | [diff] [blame] | 256 | compatible = "allwinner,sun4i-a10-mod0-clk"; |
Emilio López | 1c92b95 | 2013-12-23 00:32:43 -0300 | [diff] [blame] | 257 | reg = <0x01c20084 0x4>; |
| 258 | clocks = <&osc24M>, <&pll6 1>, <&pll5 1>; |
| 259 | clock-output-names = "ms"; |
| 260 | }; |
| 261 | |
| 262 | mmc0_clk: clk@01c20088 { |
| 263 | #clock-cells = <0>; |
Maxime Ripard | bf6534a | 2014-02-06 09:55:58 +0100 | [diff] [blame] | 264 | compatible = "allwinner,sun4i-a10-mod0-clk"; |
Emilio López | 1c92b95 | 2013-12-23 00:32:43 -0300 | [diff] [blame] | 265 | reg = <0x01c20088 0x4>; |
| 266 | clocks = <&osc24M>, <&pll6 1>, <&pll5 1>; |
| 267 | clock-output-names = "mmc0"; |
| 268 | }; |
| 269 | |
| 270 | mmc1_clk: clk@01c2008c { |
| 271 | #clock-cells = <0>; |
Maxime Ripard | bf6534a | 2014-02-06 09:55:58 +0100 | [diff] [blame] | 272 | compatible = "allwinner,sun4i-a10-mod0-clk"; |
Emilio López | 1c92b95 | 2013-12-23 00:32:43 -0300 | [diff] [blame] | 273 | reg = <0x01c2008c 0x4>; |
| 274 | clocks = <&osc24M>, <&pll6 1>, <&pll5 1>; |
| 275 | clock-output-names = "mmc1"; |
| 276 | }; |
| 277 | |
| 278 | mmc2_clk: clk@01c20090 { |
| 279 | #clock-cells = <0>; |
Maxime Ripard | bf6534a | 2014-02-06 09:55:58 +0100 | [diff] [blame] | 280 | compatible = "allwinner,sun4i-a10-mod0-clk"; |
Emilio López | 1c92b95 | 2013-12-23 00:32:43 -0300 | [diff] [blame] | 281 | reg = <0x01c20090 0x4>; |
| 282 | clocks = <&osc24M>, <&pll6 1>, <&pll5 1>; |
| 283 | clock-output-names = "mmc2"; |
| 284 | }; |
| 285 | |
| 286 | mmc3_clk: clk@01c20094 { |
| 287 | #clock-cells = <0>; |
Maxime Ripard | bf6534a | 2014-02-06 09:55:58 +0100 | [diff] [blame] | 288 | compatible = "allwinner,sun4i-a10-mod0-clk"; |
Emilio López | 1c92b95 | 2013-12-23 00:32:43 -0300 | [diff] [blame] | 289 | reg = <0x01c20094 0x4>; |
| 290 | clocks = <&osc24M>, <&pll6 1>, <&pll5 1>; |
| 291 | clock-output-names = "mmc3"; |
| 292 | }; |
| 293 | |
| 294 | ts_clk: clk@01c20098 { |
| 295 | #clock-cells = <0>; |
Maxime Ripard | bf6534a | 2014-02-06 09:55:58 +0100 | [diff] [blame] | 296 | compatible = "allwinner,sun4i-a10-mod0-clk"; |
Emilio López | 1c92b95 | 2013-12-23 00:32:43 -0300 | [diff] [blame] | 297 | reg = <0x01c20098 0x4>; |
| 298 | clocks = <&osc24M>, <&pll6 1>, <&pll5 1>; |
| 299 | clock-output-names = "ts"; |
| 300 | }; |
| 301 | |
| 302 | ss_clk: clk@01c2009c { |
| 303 | #clock-cells = <0>; |
Maxime Ripard | bf6534a | 2014-02-06 09:55:58 +0100 | [diff] [blame] | 304 | compatible = "allwinner,sun4i-a10-mod0-clk"; |
Emilio López | 1c92b95 | 2013-12-23 00:32:43 -0300 | [diff] [blame] | 305 | reg = <0x01c2009c 0x4>; |
| 306 | clocks = <&osc24M>, <&pll6 1>, <&pll5 1>; |
| 307 | clock-output-names = "ss"; |
| 308 | }; |
| 309 | |
| 310 | spi0_clk: clk@01c200a0 { |
| 311 | #clock-cells = <0>; |
Maxime Ripard | bf6534a | 2014-02-06 09:55:58 +0100 | [diff] [blame] | 312 | compatible = "allwinner,sun4i-a10-mod0-clk"; |
Emilio López | 1c92b95 | 2013-12-23 00:32:43 -0300 | [diff] [blame] | 313 | reg = <0x01c200a0 0x4>; |
| 314 | clocks = <&osc24M>, <&pll6 1>, <&pll5 1>; |
| 315 | clock-output-names = "spi0"; |
| 316 | }; |
| 317 | |
| 318 | spi1_clk: clk@01c200a4 { |
| 319 | #clock-cells = <0>; |
Maxime Ripard | bf6534a | 2014-02-06 09:55:58 +0100 | [diff] [blame] | 320 | compatible = "allwinner,sun4i-a10-mod0-clk"; |
Emilio López | 1c92b95 | 2013-12-23 00:32:43 -0300 | [diff] [blame] | 321 | reg = <0x01c200a4 0x4>; |
| 322 | clocks = <&osc24M>, <&pll6 1>, <&pll5 1>; |
| 323 | clock-output-names = "spi1"; |
| 324 | }; |
| 325 | |
| 326 | spi2_clk: clk@01c200a8 { |
| 327 | #clock-cells = <0>; |
Maxime Ripard | bf6534a | 2014-02-06 09:55:58 +0100 | [diff] [blame] | 328 | compatible = "allwinner,sun4i-a10-mod0-clk"; |
Emilio López | 1c92b95 | 2013-12-23 00:32:43 -0300 | [diff] [blame] | 329 | reg = <0x01c200a8 0x4>; |
| 330 | clocks = <&osc24M>, <&pll6 1>, <&pll5 1>; |
| 331 | clock-output-names = "spi2"; |
| 332 | }; |
| 333 | |
| 334 | pata_clk: clk@01c200ac { |
| 335 | #clock-cells = <0>; |
Maxime Ripard | bf6534a | 2014-02-06 09:55:58 +0100 | [diff] [blame] | 336 | compatible = "allwinner,sun4i-a10-mod0-clk"; |
Emilio López | 1c92b95 | 2013-12-23 00:32:43 -0300 | [diff] [blame] | 337 | reg = <0x01c200ac 0x4>; |
| 338 | clocks = <&osc24M>, <&pll6 1>, <&pll5 1>; |
| 339 | clock-output-names = "pata"; |
| 340 | }; |
| 341 | |
| 342 | ir0_clk: clk@01c200b0 { |
| 343 | #clock-cells = <0>; |
Maxime Ripard | bf6534a | 2014-02-06 09:55:58 +0100 | [diff] [blame] | 344 | compatible = "allwinner,sun4i-a10-mod0-clk"; |
Emilio López | 1c92b95 | 2013-12-23 00:32:43 -0300 | [diff] [blame] | 345 | reg = <0x01c200b0 0x4>; |
| 346 | clocks = <&osc24M>, <&pll6 1>, <&pll5 1>; |
| 347 | clock-output-names = "ir0"; |
| 348 | }; |
| 349 | |
| 350 | ir1_clk: clk@01c200b4 { |
| 351 | #clock-cells = <0>; |
Maxime Ripard | bf6534a | 2014-02-06 09:55:58 +0100 | [diff] [blame] | 352 | compatible = "allwinner,sun4i-a10-mod0-clk"; |
Emilio López | 1c92b95 | 2013-12-23 00:32:43 -0300 | [diff] [blame] | 353 | reg = <0x01c200b4 0x4>; |
| 354 | clocks = <&osc24M>, <&pll6 1>, <&pll5 1>; |
| 355 | clock-output-names = "ir1"; |
| 356 | }; |
| 357 | |
Roman Byshko | 434e41b | 2014-02-07 16:21:53 +0100 | [diff] [blame] | 358 | usb_clk: clk@01c200cc { |
| 359 | #clock-cells = <1>; |
| 360 | #reset-cells = <1>; |
| 361 | compatible = "allwinner,sun4i-a10-usb-clk"; |
| 362 | reg = <0x01c200cc 0x4>; |
| 363 | clocks = <&pll6 1>; |
| 364 | clock-output-names = "usb_ohci0", "usb_ohci1", "usb_phy"; |
| 365 | }; |
| 366 | |
Emilio López | 1c92b95 | 2013-12-23 00:32:43 -0300 | [diff] [blame] | 367 | spi3_clk: clk@01c200d4 { |
| 368 | #clock-cells = <0>; |
Maxime Ripard | bf6534a | 2014-02-06 09:55:58 +0100 | [diff] [blame] | 369 | compatible = "allwinner,sun4i-a10-mod0-clk"; |
Emilio López | 1c92b95 | 2013-12-23 00:32:43 -0300 | [diff] [blame] | 370 | reg = <0x01c200d4 0x4>; |
| 371 | clocks = <&osc24M>, <&pll6 1>, <&pll5 1>; |
| 372 | clock-output-names = "spi3"; |
| 373 | }; |
Emilio López | 118c07a | 2013-12-23 00:32:44 -0300 | [diff] [blame] | 374 | |
| 375 | mbus_clk: clk@01c2015c { |
| 376 | #clock-cells = <0>; |
Maxime Ripard | 7868c5e | 2014-07-16 23:45:48 +0200 | [diff] [blame] | 377 | compatible = "allwinner,sun5i-a13-mbus-clk"; |
Emilio López | 118c07a | 2013-12-23 00:32:44 -0300 | [diff] [blame] | 378 | reg = <0x01c2015c 0x4>; |
| 379 | clocks = <&osc24M>, <&pll6 2>, <&pll5 1>; |
| 380 | clock-output-names = "mbus"; |
| 381 | }; |
Chen-Yu Tsai | 0aff037 | 2014-01-01 10:30:48 +0800 | [diff] [blame] | 382 | |
| 383 | /* |
Chen-Yu Tsai | daed5a8 | 2014-02-10 18:35:48 +0800 | [diff] [blame] | 384 | * The following two are dummy clocks, placeholders used in the gmac_tx |
| 385 | * clock. The gmac driver will choose one parent depending on the PHY |
| 386 | * interface mode, using clk_set_rate auto-reparenting. |
| 387 | * The actual TX clock rate is not controlled by the gmac_tx clock. |
| 388 | */ |
| 389 | mii_phy_tx_clk: clk@2 { |
| 390 | #clock-cells = <0>; |
| 391 | compatible = "fixed-clock"; |
| 392 | clock-frequency = <25000000>; |
| 393 | clock-output-names = "mii_phy_tx"; |
| 394 | }; |
| 395 | |
| 396 | gmac_int_tx_clk: clk@3 { |
| 397 | #clock-cells = <0>; |
| 398 | compatible = "fixed-clock"; |
| 399 | clock-frequency = <125000000>; |
| 400 | clock-output-names = "gmac_int_tx"; |
| 401 | }; |
| 402 | |
| 403 | gmac_tx_clk: clk@01c20164 { |
| 404 | #clock-cells = <0>; |
| 405 | compatible = "allwinner,sun7i-a20-gmac-clk"; |
| 406 | reg = <0x01c20164 0x4>; |
| 407 | clocks = <&mii_phy_tx_clk>, <&gmac_int_tx_clk>; |
| 408 | clock-output-names = "gmac_tx"; |
| 409 | }; |
| 410 | |
| 411 | /* |
Chen-Yu Tsai | 0aff037 | 2014-01-01 10:30:48 +0800 | [diff] [blame] | 412 | * Dummy clock used by output clocks |
| 413 | */ |
| 414 | osc24M_32k: clk@1 { |
| 415 | #clock-cells = <0>; |
| 416 | compatible = "fixed-factor-clock"; |
| 417 | clock-div = <750>; |
| 418 | clock-mult = <1>; |
| 419 | clocks = <&osc24M>; |
| 420 | clock-output-names = "osc24M_32k"; |
| 421 | }; |
| 422 | |
| 423 | clk_out_a: clk@01c201f0 { |
| 424 | #clock-cells = <0>; |
| 425 | compatible = "allwinner,sun7i-a20-out-clk"; |
| 426 | reg = <0x01c201f0 0x4>; |
| 427 | clocks = <&osc24M_32k>, <&osc32k>, <&osc24M>; |
| 428 | clock-output-names = "clk_out_a"; |
| 429 | }; |
| 430 | |
| 431 | clk_out_b: clk@01c201f4 { |
| 432 | #clock-cells = <0>; |
| 433 | compatible = "allwinner,sun7i-a20-out-clk"; |
| 434 | reg = <0x01c201f4 0x4>; |
| 435 | clocks = <&osc24M_32k>, <&osc32k>, <&osc24M>; |
| 436 | clock-output-names = "clk_out_b"; |
| 437 | }; |
Maxime Ripard | 4790ecf | 2013-07-17 10:07:10 +0200 | [diff] [blame] | 438 | }; |
| 439 | |
| 440 | soc@01c00000 { |
| 441 | compatible = "simple-bus"; |
| 442 | #address-cells = <1>; |
| 443 | #size-cells = <1>; |
| 444 | ranges; |
| 445 | |
Carlo Caione | 8ff973a | 2014-03-19 20:21:18 +0100 | [diff] [blame] | 446 | nmi_intc: interrupt-controller@01c00030 { |
| 447 | compatible = "allwinner,sun7i-a20-sc-nmi"; |
| 448 | interrupt-controller; |
| 449 | #interrupt-cells = <2>; |
| 450 | reg = <0x01c00030 0x0c>; |
| 451 | interrupts = <0 0 4>; |
| 452 | }; |
| 453 | |
Emilio López | 316e0b0 | 2014-08-04 17:09:59 -0300 | [diff] [blame] | 454 | dma: dma-controller@01c02000 { |
| 455 | compatible = "allwinner,sun4i-a10-dma"; |
| 456 | reg = <0x01c02000 0x1000>; |
| 457 | interrupts = <0 27 4>; |
| 458 | clocks = <&ahb_gates 6>; |
| 459 | #dma-cells = <2>; |
| 460 | }; |
| 461 | |
Maxime Ripard | 36ab3e7 | 2014-02-22 22:35:54 +0100 | [diff] [blame] | 462 | spi0: spi@01c05000 { |
| 463 | compatible = "allwinner,sun4i-a10-spi"; |
| 464 | reg = <0x01c05000 0x1000>; |
| 465 | interrupts = <0 10 4>; |
| 466 | clocks = <&ahb_gates 20>, <&spi0_clk>; |
| 467 | clock-names = "ahb", "mod"; |
Emilio López | ffec721 | 2014-08-04 17:10:02 -0300 | [diff] [blame] | 468 | dmas = <&dma 1 27>, <&dma 1 26>; |
| 469 | dma-names = "rx", "tx"; |
Maxime Ripard | 36ab3e7 | 2014-02-22 22:35:54 +0100 | [diff] [blame] | 470 | status = "disabled"; |
| 471 | #address-cells = <1>; |
| 472 | #size-cells = <0>; |
| 473 | }; |
| 474 | |
| 475 | spi1: spi@01c06000 { |
| 476 | compatible = "allwinner,sun4i-a10-spi"; |
| 477 | reg = <0x01c06000 0x1000>; |
| 478 | interrupts = <0 11 4>; |
| 479 | clocks = <&ahb_gates 21>, <&spi1_clk>; |
| 480 | clock-names = "ahb", "mod"; |
Emilio López | ffec721 | 2014-08-04 17:10:02 -0300 | [diff] [blame] | 481 | dmas = <&dma 1 9>, <&dma 1 8>; |
| 482 | dma-names = "rx", "tx"; |
Maxime Ripard | 36ab3e7 | 2014-02-22 22:35:54 +0100 | [diff] [blame] | 483 | status = "disabled"; |
| 484 | #address-cells = <1>; |
| 485 | #size-cells = <0>; |
| 486 | }; |
| 487 | |
Maxime Ripard | 2e804d0 | 2013-09-11 11:10:06 +0200 | [diff] [blame] | 488 | emac: ethernet@01c0b000 { |
Maxime Ripard | 1c70e09 | 2014-02-02 14:49:13 +0100 | [diff] [blame] | 489 | compatible = "allwinner,sun4i-a10-emac"; |
Maxime Ripard | 2e804d0 | 2013-09-11 11:10:06 +0200 | [diff] [blame] | 490 | reg = <0x01c0b000 0x1000>; |
Maxime Ripard | 378d0ae | 2013-12-10 19:37:21 +0100 | [diff] [blame] | 491 | interrupts = <0 55 4>; |
Maxime Ripard | 2e804d0 | 2013-09-11 11:10:06 +0200 | [diff] [blame] | 492 | clocks = <&ahb_gates 17>; |
| 493 | status = "disabled"; |
| 494 | }; |
| 495 | |
| 496 | mdio@01c0b080 { |
Maxime Ripard | 1c70e09 | 2014-02-02 14:49:13 +0100 | [diff] [blame] | 497 | compatible = "allwinner,sun4i-a10-mdio"; |
Maxime Ripard | 2e804d0 | 2013-09-11 11:10:06 +0200 | [diff] [blame] | 498 | reg = <0x01c0b080 0x14>; |
| 499 | status = "disabled"; |
| 500 | #address-cells = <1>; |
| 501 | #size-cells = <0>; |
| 502 | }; |
| 503 | |
Hans de Goede | dd29ce5 | 2014-05-02 17:57:26 +0200 | [diff] [blame] | 504 | mmc0: mmc@01c0f000 { |
| 505 | compatible = "allwinner,sun5i-a13-mmc"; |
| 506 | reg = <0x01c0f000 0x1000>; |
| 507 | clocks = <&ahb_gates 8>, <&mmc0_clk>; |
| 508 | clock-names = "ahb", "mmc"; |
| 509 | interrupts = <0 32 4>; |
| 510 | status = "disabled"; |
| 511 | }; |
| 512 | |
| 513 | mmc1: mmc@01c10000 { |
| 514 | compatible = "allwinner,sun5i-a13-mmc"; |
| 515 | reg = <0x01c10000 0x1000>; |
| 516 | clocks = <&ahb_gates 9>, <&mmc1_clk>; |
| 517 | clock-names = "ahb", "mmc"; |
| 518 | interrupts = <0 33 4>; |
| 519 | status = "disabled"; |
| 520 | }; |
| 521 | |
| 522 | mmc2: mmc@01c11000 { |
| 523 | compatible = "allwinner,sun5i-a13-mmc"; |
| 524 | reg = <0x01c11000 0x1000>; |
| 525 | clocks = <&ahb_gates 10>, <&mmc2_clk>; |
| 526 | clock-names = "ahb", "mmc"; |
| 527 | interrupts = <0 34 4>; |
| 528 | status = "disabled"; |
| 529 | }; |
| 530 | |
| 531 | mmc3: mmc@01c12000 { |
| 532 | compatible = "allwinner,sun5i-a13-mmc"; |
| 533 | reg = <0x01c12000 0x1000>; |
| 534 | clocks = <&ahb_gates 11>, <&mmc3_clk>; |
| 535 | clock-names = "ahb", "mmc"; |
| 536 | interrupts = <0 35 4>; |
| 537 | status = "disabled"; |
| 538 | }; |
| 539 | |
Roman Byshko | 9debd0a | 2014-03-01 20:26:25 +0100 | [diff] [blame] | 540 | usbphy: phy@01c13400 { |
| 541 | #phy-cells = <1>; |
| 542 | compatible = "allwinner,sun7i-a20-usb-phy"; |
| 543 | reg = <0x01c13400 0x10 0x01c14800 0x4 0x01c1c800 0x4>; |
| 544 | reg-names = "phy_ctrl", "pmu1", "pmu2"; |
| 545 | clocks = <&usb_clk 8>; |
| 546 | clock-names = "usb_phy"; |
| 547 | resets = <&usb_clk 1>, <&usb_clk 2>; |
| 548 | reset-names = "usb1_reset", "usb2_reset"; |
| 549 | status = "disabled"; |
| 550 | }; |
| 551 | |
| 552 | ehci0: usb@01c14000 { |
| 553 | compatible = "allwinner,sun7i-a20-ehci", "generic-ehci"; |
| 554 | reg = <0x01c14000 0x100>; |
| 555 | interrupts = <0 39 4>; |
| 556 | clocks = <&ahb_gates 1>; |
| 557 | phys = <&usbphy 1>; |
| 558 | phy-names = "usb"; |
| 559 | status = "disabled"; |
| 560 | }; |
| 561 | |
| 562 | ohci0: usb@01c14400 { |
| 563 | compatible = "allwinner,sun7i-a20-ohci", "generic-ohci"; |
| 564 | reg = <0x01c14400 0x100>; |
| 565 | interrupts = <0 64 4>; |
| 566 | clocks = <&usb_clk 6>, <&ahb_gates 2>; |
| 567 | phys = <&usbphy 1>; |
| 568 | phy-names = "usb"; |
| 569 | status = "disabled"; |
| 570 | }; |
| 571 | |
Maxime Ripard | 36ab3e7 | 2014-02-22 22:35:54 +0100 | [diff] [blame] | 572 | spi2: spi@01c17000 { |
| 573 | compatible = "allwinner,sun4i-a10-spi"; |
| 574 | reg = <0x01c17000 0x1000>; |
| 575 | interrupts = <0 12 4>; |
| 576 | clocks = <&ahb_gates 22>, <&spi2_clk>; |
| 577 | clock-names = "ahb", "mod"; |
Emilio López | ffec721 | 2014-08-04 17:10:02 -0300 | [diff] [blame] | 578 | dmas = <&dma 1 29>, <&dma 1 28>; |
| 579 | dma-names = "rx", "tx"; |
Maxime Ripard | 36ab3e7 | 2014-02-22 22:35:54 +0100 | [diff] [blame] | 580 | status = "disabled"; |
| 581 | #address-cells = <1>; |
| 582 | #size-cells = <0>; |
| 583 | }; |
| 584 | |
Hans de Goede | 902febf | 2014-03-01 20:26:22 +0100 | [diff] [blame] | 585 | ahci: sata@01c18000 { |
| 586 | compatible = "allwinner,sun4i-a10-ahci"; |
| 587 | reg = <0x01c18000 0x1000>; |
| 588 | interrupts = <0 56 4>; |
| 589 | clocks = <&pll6 0>, <&ahb_gates 25>; |
| 590 | status = "disabled"; |
| 591 | }; |
| 592 | |
Roman Byshko | 9debd0a | 2014-03-01 20:26:25 +0100 | [diff] [blame] | 593 | ehci1: usb@01c1c000 { |
| 594 | compatible = "allwinner,sun7i-a20-ehci", "generic-ehci"; |
| 595 | reg = <0x01c1c000 0x100>; |
| 596 | interrupts = <0 40 4>; |
| 597 | clocks = <&ahb_gates 3>; |
| 598 | phys = <&usbphy 2>; |
| 599 | phy-names = "usb"; |
| 600 | status = "disabled"; |
| 601 | }; |
| 602 | |
| 603 | ohci1: usb@01c1c400 { |
| 604 | compatible = "allwinner,sun7i-a20-ohci", "generic-ohci"; |
| 605 | reg = <0x01c1c400 0x100>; |
| 606 | interrupts = <0 65 4>; |
| 607 | clocks = <&usb_clk 7>, <&ahb_gates 4>; |
| 608 | phys = <&usbphy 2>; |
| 609 | phy-names = "usb"; |
| 610 | status = "disabled"; |
| 611 | }; |
| 612 | |
Maxime Ripard | 36ab3e7 | 2014-02-22 22:35:54 +0100 | [diff] [blame] | 613 | spi3: spi@01c1f000 { |
| 614 | compatible = "allwinner,sun4i-a10-spi"; |
| 615 | reg = <0x01c1f000 0x1000>; |
| 616 | interrupts = <0 50 4>; |
| 617 | clocks = <&ahb_gates 23>, <&spi3_clk>; |
| 618 | clock-names = "ahb", "mod"; |
Emilio López | ffec721 | 2014-08-04 17:10:02 -0300 | [diff] [blame] | 619 | dmas = <&dma 1 31>, <&dma 1 30>; |
| 620 | dma-names = "rx", "tx"; |
Maxime Ripard | 36ab3e7 | 2014-02-22 22:35:54 +0100 | [diff] [blame] | 621 | status = "disabled"; |
| 622 | #address-cells = <1>; |
| 623 | #size-cells = <0>; |
| 624 | }; |
| 625 | |
Maxime Ripard | 17eac03 | 2013-07-24 23:46:11 +0200 | [diff] [blame] | 626 | pio: pinctrl@01c20800 { |
| 627 | compatible = "allwinner,sun7i-a20-pinctrl"; |
| 628 | reg = <0x01c20800 0x400>; |
Maxime Ripard | 378d0ae | 2013-12-10 19:37:21 +0100 | [diff] [blame] | 629 | interrupts = <0 28 4>; |
Maxime Ripard | de7dc93 | 2013-07-25 21:12:52 +0200 | [diff] [blame] | 630 | clocks = <&apb0_gates 5>; |
Maxime Ripard | 17eac03 | 2013-07-24 23:46:11 +0200 | [diff] [blame] | 631 | gpio-controller; |
| 632 | interrupt-controller; |
Chen-Yu Tsai | 7d4ff96 | 2014-06-30 23:57:51 +0200 | [diff] [blame] | 633 | #interrupt-cells = <2>; |
Maxime Ripard | 17eac03 | 2013-07-24 23:46:11 +0200 | [diff] [blame] | 634 | #size-cells = <0>; |
| 635 | #gpio-cells = <3>; |
Maxime Ripard | 9f229ba | 2013-07-25 00:09:47 +0200 | [diff] [blame] | 636 | |
Alexandre Belloni | fd7898a | 2014-04-28 18:17:12 +0200 | [diff] [blame] | 637 | pwm0_pins_a: pwm0@0 { |
| 638 | allwinner,pins = "PB2"; |
| 639 | allwinner,function = "pwm"; |
| 640 | allwinner,drive = <0>; |
| 641 | allwinner,pull = <0>; |
| 642 | }; |
| 643 | |
| 644 | pwm1_pins_a: pwm1@0 { |
| 645 | allwinner,pins = "PI3"; |
| 646 | allwinner,function = "pwm"; |
| 647 | allwinner,drive = <0>; |
| 648 | allwinner,pull = <0>; |
| 649 | }; |
| 650 | |
Maxime Ripard | 9f229ba | 2013-07-25 00:09:47 +0200 | [diff] [blame] | 651 | uart0_pins_a: uart0@0 { |
| 652 | allwinner,pins = "PB22", "PB23"; |
| 653 | allwinner,function = "uart0"; |
| 654 | allwinner,drive = <0>; |
| 655 | allwinner,pull = <0>; |
| 656 | }; |
| 657 | |
Chen-Yu Tsai | 4261ec4 | 2014-01-14 22:49:50 +0800 | [diff] [blame] | 658 | uart2_pins_a: uart2@0 { |
| 659 | allwinner,pins = "PI16", "PI17", "PI18", "PI19"; |
| 660 | allwinner,function = "uart2"; |
| 661 | allwinner,drive = <0>; |
| 662 | allwinner,pull = <0>; |
| 663 | }; |
| 664 | |
Wills Wang | 7b5bace | 2014-08-19 15:33:00 +0800 | [diff] [blame] | 665 | uart3_pins_a: uart3@0 { |
| 666 | allwinner,pins = "PG6", "PG7", "PG8", "PG9"; |
| 667 | allwinner,function = "uart3"; |
| 668 | allwinner,drive = <0>; |
| 669 | allwinner,pull = <0>; |
| 670 | }; |
| 671 | |
| 672 | uart4_pins_a: uart4@0 { |
| 673 | allwinner,pins = "PG10", "PG11"; |
| 674 | allwinner,function = "uart4"; |
| 675 | allwinner,drive = <0>; |
| 676 | allwinner,pull = <0>; |
| 677 | }; |
| 678 | |
| 679 | uart5_pins_a: uart5@0 { |
| 680 | allwinner,pins = "PI10", "PI11"; |
| 681 | allwinner,function = "uart5"; |
| 682 | allwinner,drive = <0>; |
| 683 | allwinner,pull = <0>; |
| 684 | }; |
| 685 | |
Maxime Ripard | 9f229ba | 2013-07-25 00:09:47 +0200 | [diff] [blame] | 686 | uart6_pins_a: uart6@0 { |
| 687 | allwinner,pins = "PI12", "PI13"; |
| 688 | allwinner,function = "uart6"; |
| 689 | allwinner,drive = <0>; |
| 690 | allwinner,pull = <0>; |
| 691 | }; |
| 692 | |
| 693 | uart7_pins_a: uart7@0 { |
| 694 | allwinner,pins = "PI20", "PI21"; |
| 695 | allwinner,function = "uart7"; |
| 696 | allwinner,drive = <0>; |
| 697 | allwinner,pull = <0>; |
| 698 | }; |
Maxime Ripard | 756084c | 2013-09-11 11:10:07 +0200 | [diff] [blame] | 699 | |
Maxime Ripard | e5496a3 | 2013-08-31 23:08:49 +0200 | [diff] [blame] | 700 | i2c0_pins_a: i2c0@0 { |
| 701 | allwinner,pins = "PB0", "PB1"; |
| 702 | allwinner,function = "i2c0"; |
| 703 | allwinner,drive = <0>; |
| 704 | allwinner,pull = <0>; |
| 705 | }; |
| 706 | |
| 707 | i2c1_pins_a: i2c1@0 { |
| 708 | allwinner,pins = "PB18", "PB19"; |
| 709 | allwinner,function = "i2c1"; |
| 710 | allwinner,drive = <0>; |
| 711 | allwinner,pull = <0>; |
| 712 | }; |
| 713 | |
| 714 | i2c2_pins_a: i2c2@0 { |
| 715 | allwinner,pins = "PB20", "PB21"; |
| 716 | allwinner,function = "i2c2"; |
| 717 | allwinner,drive = <0>; |
| 718 | allwinner,pull = <0>; |
| 719 | }; |
| 720 | |
Wills Wang | 7b5bace | 2014-08-19 15:33:00 +0800 | [diff] [blame] | 721 | i2c3_pins_a: i2c3@0 { |
| 722 | allwinner,pins = "PI0", "PI1"; |
| 723 | allwinner,function = "i2c3"; |
| 724 | allwinner,drive = <0>; |
| 725 | allwinner,pull = <0>; |
| 726 | }; |
| 727 | |
Maxime Ripard | 756084c | 2013-09-11 11:10:07 +0200 | [diff] [blame] | 728 | emac_pins_a: emac0@0 { |
| 729 | allwinner,pins = "PA0", "PA1", "PA2", |
| 730 | "PA3", "PA4", "PA5", "PA6", |
| 731 | "PA7", "PA8", "PA9", "PA10", |
| 732 | "PA11", "PA12", "PA13", "PA14", |
| 733 | "PA15", "PA16"; |
| 734 | allwinner,function = "emac"; |
| 735 | allwinner,drive = <0>; |
| 736 | allwinner,pull = <0>; |
| 737 | }; |
Chen-Yu Tsai | f2e0759 | 2014-01-01 10:30:50 +0800 | [diff] [blame] | 738 | |
| 739 | clk_out_a_pins_a: clk_out_a@0 { |
| 740 | allwinner,pins = "PI12"; |
| 741 | allwinner,function = "clk_out_a"; |
| 742 | allwinner,drive = <0>; |
| 743 | allwinner,pull = <0>; |
| 744 | }; |
| 745 | |
| 746 | clk_out_b_pins_a: clk_out_b@0 { |
| 747 | allwinner,pins = "PI13"; |
| 748 | allwinner,function = "clk_out_b"; |
| 749 | allwinner,drive = <0>; |
| 750 | allwinner,pull = <0>; |
| 751 | }; |
Chen-Yu Tsai | 129ccbc | 2014-02-10 18:35:50 +0800 | [diff] [blame] | 752 | |
| 753 | gmac_pins_mii_a: gmac_mii@0 { |
| 754 | allwinner,pins = "PA0", "PA1", "PA2", |
| 755 | "PA3", "PA4", "PA5", "PA6", |
| 756 | "PA7", "PA8", "PA9", "PA10", |
| 757 | "PA11", "PA12", "PA13", "PA14", |
| 758 | "PA15", "PA16"; |
| 759 | allwinner,function = "gmac"; |
| 760 | allwinner,drive = <0>; |
| 761 | allwinner,pull = <0>; |
| 762 | }; |
| 763 | |
| 764 | gmac_pins_rgmii_a: gmac_rgmii@0 { |
| 765 | allwinner,pins = "PA0", "PA1", "PA2", |
| 766 | "PA3", "PA4", "PA5", "PA6", |
| 767 | "PA7", "PA8", "PA10", |
| 768 | "PA11", "PA12", "PA13", |
| 769 | "PA15", "PA16"; |
| 770 | allwinner,function = "gmac"; |
| 771 | /* |
| 772 | * data lines in RGMII mode use DDR mode |
| 773 | * and need a higher signal drive strength |
| 774 | */ |
| 775 | allwinner,drive = <3>; |
| 776 | allwinner,pull = <0>; |
| 777 | }; |
Maxime Ripard | 412f2c6 | 2014-02-22 22:35:58 +0100 | [diff] [blame] | 778 | |
| 779 | spi1_pins_a: spi1@0 { |
| 780 | allwinner,pins = "PI16", "PI17", "PI18", "PI19"; |
| 781 | allwinner,function = "spi1"; |
| 782 | allwinner,drive = <0>; |
| 783 | allwinner,pull = <0>; |
| 784 | }; |
| 785 | |
| 786 | spi2_pins_a: spi2@0 { |
| 787 | allwinner,pins = "PC19", "PC20", "PC21", "PC22"; |
| 788 | allwinner,function = "spi2"; |
| 789 | allwinner,drive = <0>; |
| 790 | allwinner,pull = <0>; |
| 791 | }; |
Hans de Goede | 11fbedf | 2014-05-02 17:57:27 +0200 | [diff] [blame] | 792 | |
Wills Wang | 7b5bace | 2014-08-19 15:33:00 +0800 | [diff] [blame] | 793 | spi2_pins_b: spi2@1 { |
| 794 | allwinner,pins = "PB14", "PB15", "PB16", "PB17"; |
| 795 | allwinner,function = "spi2"; |
| 796 | allwinner,drive = <0>; |
| 797 | allwinner,pull = <0>; |
| 798 | }; |
| 799 | |
Hans de Goede | 11fbedf | 2014-05-02 17:57:27 +0200 | [diff] [blame] | 800 | mmc0_pins_a: mmc0@0 { |
| 801 | allwinner,pins = "PF0","PF1","PF2","PF3","PF4","PF5"; |
| 802 | allwinner,function = "mmc0"; |
| 803 | allwinner,drive = <2>; |
| 804 | allwinner,pull = <0>; |
| 805 | }; |
| 806 | |
| 807 | mmc0_cd_pin_reference_design: mmc0_cd_pin@0 { |
| 808 | allwinner,pins = "PH1"; |
| 809 | allwinner,function = "gpio_in"; |
| 810 | allwinner,drive = <0>; |
| 811 | allwinner,pull = <1>; |
| 812 | }; |
| 813 | |
| 814 | mmc3_pins_a: mmc3@0 { |
| 815 | allwinner,pins = "PI4","PI5","PI6","PI7","PI8","PI9"; |
| 816 | allwinner,function = "mmc3"; |
| 817 | allwinner,drive = <2>; |
| 818 | allwinner,pull = <0>; |
| 819 | }; |
Alexander Bersenev | 0fc2b7a | 2014-06-09 00:08:11 +0600 | [diff] [blame] | 820 | |
| 821 | ir0_pins_a: ir0@0 { |
| 822 | allwinner,pins = "PB3","PB4"; |
| 823 | allwinner,function = "ir0"; |
| 824 | allwinner,drive = <0>; |
| 825 | allwinner,pull = <0>; |
| 826 | }; |
| 827 | |
| 828 | ir1_pins_a: ir1@0 { |
| 829 | allwinner,pins = "PB22","PB23"; |
| 830 | allwinner,function = "ir1"; |
| 831 | allwinner,drive = <0>; |
| 832 | allwinner,pull = <0>; |
| 833 | }; |
Maxime Ripard | 17eac03 | 2013-07-24 23:46:11 +0200 | [diff] [blame] | 834 | }; |
| 835 | |
Maxime Ripard | 4790ecf | 2013-07-17 10:07:10 +0200 | [diff] [blame] | 836 | timer@01c20c00 { |
Maxime Ripard | b4f2644 | 2014-02-06 10:40:32 +0100 | [diff] [blame] | 837 | compatible = "allwinner,sun4i-a10-timer"; |
Maxime Ripard | 4790ecf | 2013-07-17 10:07:10 +0200 | [diff] [blame] | 838 | reg = <0x01c20c00 0x90>; |
Maxime Ripard | 378d0ae | 2013-12-10 19:37:21 +0100 | [diff] [blame] | 839 | interrupts = <0 22 4>, |
| 840 | <0 23 4>, |
| 841 | <0 24 4>, |
| 842 | <0 25 4>, |
| 843 | <0 67 4>, |
| 844 | <0 68 4>; |
Maxime Ripard | 4790ecf | 2013-07-17 10:07:10 +0200 | [diff] [blame] | 845 | clocks = <&osc24M>; |
| 846 | }; |
| 847 | |
| 848 | wdt: watchdog@01c20c90 { |
Maxime Ripard | ca5d04d | 2014-02-07 22:29:26 +0100 | [diff] [blame] | 849 | compatible = "allwinner,sun4i-a10-wdt"; |
Maxime Ripard | 4790ecf | 2013-07-17 10:07:10 +0200 | [diff] [blame] | 850 | reg = <0x01c20c90 0x10>; |
| 851 | }; |
| 852 | |
Carlo Caione | b5d905c | 2013-10-16 20:30:26 +0200 | [diff] [blame] | 853 | rtc: rtc@01c20d00 { |
| 854 | compatible = "allwinner,sun7i-a20-rtc"; |
| 855 | reg = <0x01c20d00 0x20>; |
Maxime Ripard | 2f41898 | 2014-02-01 16:46:16 +0100 | [diff] [blame] | 856 | interrupts = <0 24 4>; |
Carlo Caione | b5d905c | 2013-10-16 20:30:26 +0200 | [diff] [blame] | 857 | }; |
| 858 | |
Alexandre Belloni | 8ec40c2 | 2014-04-28 18:17:13 +0200 | [diff] [blame] | 859 | pwm: pwm@01c20e00 { |
| 860 | compatible = "allwinner,sun7i-a20-pwm"; |
| 861 | reg = <0x01c20e00 0xc>; |
| 862 | clocks = <&osc24M>; |
| 863 | #pwm-cells = <3>; |
| 864 | status = "disabled"; |
| 865 | }; |
| 866 | |
Alexander Bersenev | c1a0ee3 | 2014-06-21 17:04:05 +0600 | [diff] [blame] | 867 | ir0: ir@01c21800 { |
Hans de Goede | 1715a38 | 2014-06-30 23:57:54 +0200 | [diff] [blame] | 868 | compatible = "allwinner,sun4i-a10-ir"; |
Alexander Bersenev | c1a0ee3 | 2014-06-21 17:04:05 +0600 | [diff] [blame] | 869 | clocks = <&apb0_gates 6>, <&ir0_clk>; |
| 870 | clock-names = "apb", "ir"; |
| 871 | interrupts = <0 5 4>; |
| 872 | reg = <0x01c21800 0x40>; |
| 873 | status = "disabled"; |
| 874 | }; |
| 875 | |
| 876 | ir1: ir@01c21c00 { |
Hans de Goede | 1715a38 | 2014-06-30 23:57:54 +0200 | [diff] [blame] | 877 | compatible = "allwinner,sun4i-a10-ir"; |
Alexander Bersenev | c1a0ee3 | 2014-06-21 17:04:05 +0600 | [diff] [blame] | 878 | clocks = <&apb0_gates 7>, <&ir1_clk>; |
| 879 | clock-names = "apb", "ir"; |
| 880 | interrupts = <0 6 4>; |
| 881 | reg = <0x01c21c00 0x40>; |
| 882 | status = "disabled"; |
| 883 | }; |
| 884 | |
Oliver Schinagl | 2bad969 | 2013-09-03 12:33:28 +0200 | [diff] [blame] | 885 | sid: eeprom@01c23800 { |
| 886 | compatible = "allwinner,sun7i-a20-sid"; |
| 887 | reg = <0x01c23800 0x200>; |
| 888 | }; |
| 889 | |
Hans de Goede | 00f7ed8 | 2013-12-31 17:20:52 +0100 | [diff] [blame] | 890 | rtp: rtp@01c25000 { |
Maxime Ripard | 40dd8f3 | 2014-02-02 14:52:40 +0100 | [diff] [blame] | 891 | compatible = "allwinner,sun4i-a10-ts"; |
Hans de Goede | 00f7ed8 | 2013-12-31 17:20:52 +0100 | [diff] [blame] | 892 | reg = <0x01c25000 0x100>; |
| 893 | interrupts = <0 29 4>; |
| 894 | }; |
| 895 | |
Maxime Ripard | 4790ecf | 2013-07-17 10:07:10 +0200 | [diff] [blame] | 896 | uart0: serial@01c28000 { |
| 897 | compatible = "snps,dw-apb-uart"; |
| 898 | reg = <0x01c28000 0x400>; |
Maxime Ripard | 378d0ae | 2013-12-10 19:37:21 +0100 | [diff] [blame] | 899 | interrupts = <0 1 4>; |
Maxime Ripard | 4790ecf | 2013-07-17 10:07:10 +0200 | [diff] [blame] | 900 | reg-shift = <2>; |
| 901 | reg-io-width = <4>; |
Maxime Ripard | de7dc93 | 2013-07-25 21:12:52 +0200 | [diff] [blame] | 902 | clocks = <&apb1_gates 16>; |
Maxime Ripard | 4790ecf | 2013-07-17 10:07:10 +0200 | [diff] [blame] | 903 | status = "disabled"; |
| 904 | }; |
| 905 | |
| 906 | uart1: serial@01c28400 { |
| 907 | compatible = "snps,dw-apb-uart"; |
| 908 | reg = <0x01c28400 0x400>; |
Maxime Ripard | 378d0ae | 2013-12-10 19:37:21 +0100 | [diff] [blame] | 909 | interrupts = <0 2 4>; |
Maxime Ripard | 4790ecf | 2013-07-17 10:07:10 +0200 | [diff] [blame] | 910 | reg-shift = <2>; |
| 911 | reg-io-width = <4>; |
Maxime Ripard | de7dc93 | 2013-07-25 21:12:52 +0200 | [diff] [blame] | 912 | clocks = <&apb1_gates 17>; |
Maxime Ripard | 4790ecf | 2013-07-17 10:07:10 +0200 | [diff] [blame] | 913 | status = "disabled"; |
| 914 | }; |
| 915 | |
| 916 | uart2: serial@01c28800 { |
| 917 | compatible = "snps,dw-apb-uart"; |
| 918 | reg = <0x01c28800 0x400>; |
Maxime Ripard | 378d0ae | 2013-12-10 19:37:21 +0100 | [diff] [blame] | 919 | interrupts = <0 3 4>; |
Maxime Ripard | 4790ecf | 2013-07-17 10:07:10 +0200 | [diff] [blame] | 920 | reg-shift = <2>; |
| 921 | reg-io-width = <4>; |
Maxime Ripard | de7dc93 | 2013-07-25 21:12:52 +0200 | [diff] [blame] | 922 | clocks = <&apb1_gates 18>; |
Maxime Ripard | 4790ecf | 2013-07-17 10:07:10 +0200 | [diff] [blame] | 923 | status = "disabled"; |
| 924 | }; |
| 925 | |
| 926 | uart3: serial@01c28c00 { |
| 927 | compatible = "snps,dw-apb-uart"; |
| 928 | reg = <0x01c28c00 0x400>; |
Maxime Ripard | 378d0ae | 2013-12-10 19:37:21 +0100 | [diff] [blame] | 929 | interrupts = <0 4 4>; |
Maxime Ripard | 4790ecf | 2013-07-17 10:07:10 +0200 | [diff] [blame] | 930 | reg-shift = <2>; |
| 931 | reg-io-width = <4>; |
Maxime Ripard | de7dc93 | 2013-07-25 21:12:52 +0200 | [diff] [blame] | 932 | clocks = <&apb1_gates 19>; |
Maxime Ripard | 4790ecf | 2013-07-17 10:07:10 +0200 | [diff] [blame] | 933 | status = "disabled"; |
| 934 | }; |
| 935 | |
| 936 | uart4: serial@01c29000 { |
| 937 | compatible = "snps,dw-apb-uart"; |
| 938 | reg = <0x01c29000 0x400>; |
Maxime Ripard | 378d0ae | 2013-12-10 19:37:21 +0100 | [diff] [blame] | 939 | interrupts = <0 17 4>; |
Maxime Ripard | 4790ecf | 2013-07-17 10:07:10 +0200 | [diff] [blame] | 940 | reg-shift = <2>; |
| 941 | reg-io-width = <4>; |
Maxime Ripard | de7dc93 | 2013-07-25 21:12:52 +0200 | [diff] [blame] | 942 | clocks = <&apb1_gates 20>; |
Maxime Ripard | 4790ecf | 2013-07-17 10:07:10 +0200 | [diff] [blame] | 943 | status = "disabled"; |
| 944 | }; |
| 945 | |
| 946 | uart5: serial@01c29400 { |
| 947 | compatible = "snps,dw-apb-uart"; |
| 948 | reg = <0x01c29400 0x400>; |
Maxime Ripard | 378d0ae | 2013-12-10 19:37:21 +0100 | [diff] [blame] | 949 | interrupts = <0 18 4>; |
Maxime Ripard | 4790ecf | 2013-07-17 10:07:10 +0200 | [diff] [blame] | 950 | reg-shift = <2>; |
| 951 | reg-io-width = <4>; |
Maxime Ripard | de7dc93 | 2013-07-25 21:12:52 +0200 | [diff] [blame] | 952 | clocks = <&apb1_gates 21>; |
Maxime Ripard | 4790ecf | 2013-07-17 10:07:10 +0200 | [diff] [blame] | 953 | status = "disabled"; |
| 954 | }; |
| 955 | |
| 956 | uart6: serial@01c29800 { |
| 957 | compatible = "snps,dw-apb-uart"; |
| 958 | reg = <0x01c29800 0x400>; |
Maxime Ripard | 378d0ae | 2013-12-10 19:37:21 +0100 | [diff] [blame] | 959 | interrupts = <0 19 4>; |
Maxime Ripard | 4790ecf | 2013-07-17 10:07:10 +0200 | [diff] [blame] | 960 | reg-shift = <2>; |
| 961 | reg-io-width = <4>; |
Maxime Ripard | de7dc93 | 2013-07-25 21:12:52 +0200 | [diff] [blame] | 962 | clocks = <&apb1_gates 22>; |
Maxime Ripard | 4790ecf | 2013-07-17 10:07:10 +0200 | [diff] [blame] | 963 | status = "disabled"; |
| 964 | }; |
| 965 | |
| 966 | uart7: serial@01c29c00 { |
| 967 | compatible = "snps,dw-apb-uart"; |
| 968 | reg = <0x01c29c00 0x400>; |
Maxime Ripard | 378d0ae | 2013-12-10 19:37:21 +0100 | [diff] [blame] | 969 | interrupts = <0 20 4>; |
Maxime Ripard | 4790ecf | 2013-07-17 10:07:10 +0200 | [diff] [blame] | 970 | reg-shift = <2>; |
| 971 | reg-io-width = <4>; |
Maxime Ripard | de7dc93 | 2013-07-25 21:12:52 +0200 | [diff] [blame] | 972 | clocks = <&apb1_gates 23>; |
Maxime Ripard | 4790ecf | 2013-07-17 10:07:10 +0200 | [diff] [blame] | 973 | status = "disabled"; |
| 974 | }; |
| 975 | |
Maxime Ripard | 428abbb | 2013-08-31 23:07:24 +0200 | [diff] [blame] | 976 | i2c0: i2c@01c2ac00 { |
Maxime Ripard | d275545 | 2014-03-31 14:54:58 +0200 | [diff] [blame] | 977 | compatible = "allwinner,sun7i-a20-i2c", "allwinner,sun4i-a10-i2c"; |
Maxime Ripard | 428abbb | 2013-08-31 23:07:24 +0200 | [diff] [blame] | 978 | reg = <0x01c2ac00 0x400>; |
Maxime Ripard | 378d0ae | 2013-12-10 19:37:21 +0100 | [diff] [blame] | 979 | interrupts = <0 7 4>; |
Maxime Ripard | 428abbb | 2013-08-31 23:07:24 +0200 | [diff] [blame] | 980 | clocks = <&apb1_gates 0>; |
Maxime Ripard | 428abbb | 2013-08-31 23:07:24 +0200 | [diff] [blame] | 981 | status = "disabled"; |
Hans de Goede | d1412ae | 2014-04-13 13:41:05 +0200 | [diff] [blame] | 982 | #address-cells = <1>; |
| 983 | #size-cells = <0>; |
Maxime Ripard | 428abbb | 2013-08-31 23:07:24 +0200 | [diff] [blame] | 984 | }; |
| 985 | |
| 986 | i2c1: i2c@01c2b000 { |
Maxime Ripard | d275545 | 2014-03-31 14:54:58 +0200 | [diff] [blame] | 987 | compatible = "allwinner,sun7i-a20-i2c", "allwinner,sun4i-a10-i2c"; |
Maxime Ripard | 428abbb | 2013-08-31 23:07:24 +0200 | [diff] [blame] | 988 | reg = <0x01c2b000 0x400>; |
Maxime Ripard | 378d0ae | 2013-12-10 19:37:21 +0100 | [diff] [blame] | 989 | interrupts = <0 8 4>; |
Maxime Ripard | 428abbb | 2013-08-31 23:07:24 +0200 | [diff] [blame] | 990 | clocks = <&apb1_gates 1>; |
Maxime Ripard | 428abbb | 2013-08-31 23:07:24 +0200 | [diff] [blame] | 991 | status = "disabled"; |
Hans de Goede | d1412ae | 2014-04-13 13:41:05 +0200 | [diff] [blame] | 992 | #address-cells = <1>; |
| 993 | #size-cells = <0>; |
Maxime Ripard | 428abbb | 2013-08-31 23:07:24 +0200 | [diff] [blame] | 994 | }; |
| 995 | |
| 996 | i2c2: i2c@01c2b400 { |
Maxime Ripard | d275545 | 2014-03-31 14:54:58 +0200 | [diff] [blame] | 997 | compatible = "allwinner,sun7i-a20-i2c", "allwinner,sun4i-a10-i2c"; |
Maxime Ripard | 428abbb | 2013-08-31 23:07:24 +0200 | [diff] [blame] | 998 | reg = <0x01c2b400 0x400>; |
Maxime Ripard | 378d0ae | 2013-12-10 19:37:21 +0100 | [diff] [blame] | 999 | interrupts = <0 9 4>; |
Maxime Ripard | 428abbb | 2013-08-31 23:07:24 +0200 | [diff] [blame] | 1000 | clocks = <&apb1_gates 2>; |
Maxime Ripard | 428abbb | 2013-08-31 23:07:24 +0200 | [diff] [blame] | 1001 | status = "disabled"; |
Hans de Goede | d1412ae | 2014-04-13 13:41:05 +0200 | [diff] [blame] | 1002 | #address-cells = <1>; |
| 1003 | #size-cells = <0>; |
Maxime Ripard | 428abbb | 2013-08-31 23:07:24 +0200 | [diff] [blame] | 1004 | }; |
| 1005 | |
| 1006 | i2c3: i2c@01c2b800 { |
Maxime Ripard | d275545 | 2014-03-31 14:54:58 +0200 | [diff] [blame] | 1007 | compatible = "allwinner,sun7i-a20-i2c", "allwinner,sun4i-a10-i2c"; |
Maxime Ripard | 428abbb | 2013-08-31 23:07:24 +0200 | [diff] [blame] | 1008 | reg = <0x01c2b800 0x400>; |
Maxime Ripard | 378d0ae | 2013-12-10 19:37:21 +0100 | [diff] [blame] | 1009 | interrupts = <0 88 4>; |
Maxime Ripard | 428abbb | 2013-08-31 23:07:24 +0200 | [diff] [blame] | 1010 | clocks = <&apb1_gates 3>; |
Maxime Ripard | 428abbb | 2013-08-31 23:07:24 +0200 | [diff] [blame] | 1011 | status = "disabled"; |
Hans de Goede | d1412ae | 2014-04-13 13:41:05 +0200 | [diff] [blame] | 1012 | #address-cells = <1>; |
| 1013 | #size-cells = <0>; |
Maxime Ripard | 428abbb | 2013-08-31 23:07:24 +0200 | [diff] [blame] | 1014 | }; |
| 1015 | |
Maxime Ripard | a386704 | 2014-04-18 21:13:08 +0200 | [diff] [blame] | 1016 | i2c4: i2c@01c2c000 { |
Maxime Ripard | d275545 | 2014-03-31 14:54:58 +0200 | [diff] [blame] | 1017 | compatible = "allwinner,sun7i-a20-i2c", "allwinner,sun4i-a10-i2c"; |
Maxime Ripard | a386704 | 2014-04-18 21:13:08 +0200 | [diff] [blame] | 1018 | reg = <0x01c2c000 0x400>; |
Maxime Ripard | 378d0ae | 2013-12-10 19:37:21 +0100 | [diff] [blame] | 1019 | interrupts = <0 89 4>; |
Maxime Ripard | 428abbb | 2013-08-31 23:07:24 +0200 | [diff] [blame] | 1020 | clocks = <&apb1_gates 15>; |
Maxime Ripard | 428abbb | 2013-08-31 23:07:24 +0200 | [diff] [blame] | 1021 | status = "disabled"; |
Hans de Goede | d1412ae | 2014-04-13 13:41:05 +0200 | [diff] [blame] | 1022 | #address-cells = <1>; |
| 1023 | #size-cells = <0>; |
Maxime Ripard | 428abbb | 2013-08-31 23:07:24 +0200 | [diff] [blame] | 1024 | }; |
| 1025 | |
Chen-Yu Tsai | c40b8d5 | 2014-02-10 18:35:49 +0800 | [diff] [blame] | 1026 | gmac: ethernet@01c50000 { |
| 1027 | compatible = "allwinner,sun7i-a20-gmac"; |
| 1028 | reg = <0x01c50000 0x10000>; |
| 1029 | interrupts = <0 85 4>; |
| 1030 | interrupt-names = "macirq"; |
| 1031 | clocks = <&ahb_gates 49>, <&gmac_tx_clk>; |
| 1032 | clock-names = "stmmaceth", "allwinner_gmac_tx"; |
| 1033 | snps,pbl = <2>; |
| 1034 | snps,fixed-burst; |
| 1035 | snps,force_sf_dma_mode; |
| 1036 | status = "disabled"; |
| 1037 | #address-cells = <1>; |
| 1038 | #size-cells = <0>; |
| 1039 | }; |
| 1040 | |
Maxime Ripard | 31f8ad3 | 2013-11-07 12:01:48 +0100 | [diff] [blame] | 1041 | hstimer@01c60000 { |
| 1042 | compatible = "allwinner,sun7i-a20-hstimer"; |
| 1043 | reg = <0x01c60000 0x1000>; |
Maxime Ripard | 2f41898 | 2014-02-01 16:46:16 +0100 | [diff] [blame] | 1044 | interrupts = <0 81 4>, |
| 1045 | <0 82 4>, |
| 1046 | <0 83 4>, |
| 1047 | <0 84 4>; |
Maxime Ripard | 31f8ad3 | 2013-11-07 12:01:48 +0100 | [diff] [blame] | 1048 | clocks = <&ahb_gates 28>; |
| 1049 | }; |
| 1050 | |
Maxime Ripard | 4790ecf | 2013-07-17 10:07:10 +0200 | [diff] [blame] | 1051 | gic: interrupt-controller@01c81000 { |
| 1052 | compatible = "arm,cortex-a7-gic", "arm,cortex-a15-gic"; |
| 1053 | reg = <0x01c81000 0x1000>, |
| 1054 | <0x01c82000 0x1000>, |
| 1055 | <0x01c84000 0x2000>, |
| 1056 | <0x01c86000 0x2000>; |
| 1057 | interrupt-controller; |
| 1058 | #interrupt-cells = <3>; |
| 1059 | interrupts = <1 9 0xf04>; |
| 1060 | }; |
| 1061 | }; |
| 1062 | }; |