Maxime Ripard | d3ae078 | 2013-06-09 10:40:53 +0200 | [diff] [blame] | 1 | /* |
| 2 | * Copyright 2013 Maxime Ripard |
| 3 | * |
| 4 | * Maxime Ripard <maxime.ripard@free-electrons.com> |
| 5 | * |
Maxime Ripard | 1d86b4b | 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 | d3ae078 | 2013-06-09 10:40:53 +0200 | [diff] [blame] | 10 | * |
Maxime Ripard | 1d86b4b | 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 | d3ae078 | 2013-06-09 10:40:53 +0200 | [diff] [blame] | 48 | */ |
| 49 | |
Maxime Ripard | 7145570 | 2014-12-16 22:59:54 +0100 | [diff] [blame] | 50 | #include "skeleton.dtsi" |
Maxime Ripard | d3ae078 | 2013-06-09 10:40:53 +0200 | [diff] [blame] | 51 | |
Maxime Ripard | 1f9f6a7 | 2014-12-16 22:59:56 +0100 | [diff] [blame] | 52 | #include <dt-bindings/dma/sun4i-a10.h> |
Maxime Ripard | 092a0c3 | 2014-12-16 22:59:57 +0100 | [diff] [blame] | 53 | #include <dt-bindings/pinctrl/sun4i-a10.h> |
Maxime Ripard | d3ae078 | 2013-06-09 10:40:53 +0200 | [diff] [blame] | 54 | |
| 55 | / { |
| 56 | interrupt-parent = <&intc>; |
| 57 | |
Emilio López | e751cce | 2013-11-16 15:17:29 -0300 | [diff] [blame] | 58 | aliases { |
| 59 | ethernet0 = &emac; |
| 60 | }; |
| 61 | |
Hans de Goede | d501841 | 2014-11-14 16:34:35 +0100 | [diff] [blame] | 62 | chosen { |
| 63 | #address-cells = <1>; |
| 64 | #size-cells = <1>; |
| 65 | ranges; |
| 66 | |
Hans de Goede | a9f8cda | 2014-11-18 12:07:13 +0100 | [diff] [blame] | 67 | framebuffer@0 { |
| 68 | compatible = "allwinner,simple-framebuffer", "simple-framebuffer"; |
| 69 | allwinner,pipeline = "de_be0-lcd0-hdmi"; |
Hans de Goede | 678e75d | 2014-11-16 17:09:32 +0100 | [diff] [blame] | 70 | clocks = <&pll5 1>, <&ahb_gates 36>, <&ahb_gates 43>, |
| 71 | <&ahb_gates 44>; |
Hans de Goede | d501841 | 2014-11-14 16:34:35 +0100 | [diff] [blame] | 72 | status = "disabled"; |
| 73 | }; |
Hans de Goede | fd18c7e | 2015-01-19 14:05:12 +0100 | [diff] [blame] | 74 | |
| 75 | framebuffer@1 { |
| 76 | compatible = "allwinner,simple-framebuffer", |
| 77 | "simple-framebuffer"; |
| 78 | allwinner,pipeline = "de_be0-lcd0"; |
| 79 | clocks = <&pll5 1>, <&ahb_gates 36>, <&ahb_gates 44>; |
| 80 | status = "disabled"; |
| 81 | }; |
Hans de Goede | d501841 | 2014-11-14 16:34:35 +0100 | [diff] [blame] | 82 | }; |
| 83 | |
Maxime Ripard | d3ae078 | 2013-06-09 10:40:53 +0200 | [diff] [blame] | 84 | cpus { |
| 85 | cpu@0 { |
| 86 | compatible = "arm,cortex-a8"; |
| 87 | }; |
| 88 | }; |
| 89 | |
| 90 | memory { |
| 91 | reg = <0x40000000 0x20000000>; |
| 92 | }; |
| 93 | |
| 94 | clocks { |
| 95 | #address-cells = <1>; |
| 96 | #size-cells = <1>; |
| 97 | ranges; |
| 98 | |
| 99 | /* |
| 100 | * This is a dummy clock, to be used as placeholder on |
| 101 | * other mux clocks when a specific parent clock is not |
| 102 | * yet implemented. It should be dropped when the driver |
| 103 | * is complete. |
| 104 | */ |
| 105 | dummy: dummy { |
| 106 | #clock-cells = <0>; |
| 107 | compatible = "fixed-clock"; |
| 108 | clock-frequency = <0>; |
| 109 | }; |
| 110 | |
Chen-Yu Tsai | 3dce832 | 2014-02-03 09:51:42 +0800 | [diff] [blame] | 111 | osc24M: clk@01c20050 { |
Maxime Ripard | d3ae078 | 2013-06-09 10:40:53 +0200 | [diff] [blame] | 112 | #clock-cells = <0>; |
Maxime Ripard | bf6534a | 2014-02-06 09:55:58 +0100 | [diff] [blame] | 113 | compatible = "allwinner,sun4i-a10-osc-clk"; |
Maxime Ripard | d3ae078 | 2013-06-09 10:40:53 +0200 | [diff] [blame] | 114 | reg = <0x01c20050 0x4>; |
| 115 | clock-frequency = <24000000>; |
Chen-Yu Tsai | 3dce832 | 2014-02-03 09:51:42 +0800 | [diff] [blame] | 116 | clock-output-names = "osc24M"; |
Maxime Ripard | d3ae078 | 2013-06-09 10:40:53 +0200 | [diff] [blame] | 117 | }; |
| 118 | |
Chen-Yu Tsai | 3dce832 | 2014-02-03 09:51:42 +0800 | [diff] [blame] | 119 | osc32k: clk@0 { |
Maxime Ripard | d3ae078 | 2013-06-09 10:40:53 +0200 | [diff] [blame] | 120 | #clock-cells = <0>; |
| 121 | compatible = "fixed-clock"; |
| 122 | clock-frequency = <32768>; |
Chen-Yu Tsai | 3dce832 | 2014-02-03 09:51:42 +0800 | [diff] [blame] | 123 | clock-output-names = "osc32k"; |
Maxime Ripard | d3ae078 | 2013-06-09 10:40:53 +0200 | [diff] [blame] | 124 | }; |
| 125 | |
Chen-Yu Tsai | 3dce832 | 2014-02-03 09:51:42 +0800 | [diff] [blame] | 126 | pll1: clk@01c20000 { |
Maxime Ripard | d3ae078 | 2013-06-09 10:40:53 +0200 | [diff] [blame] | 127 | #clock-cells = <0>; |
Maxime Ripard | bf6534a | 2014-02-06 09:55:58 +0100 | [diff] [blame] | 128 | compatible = "allwinner,sun4i-a10-pll1-clk"; |
Maxime Ripard | d3ae078 | 2013-06-09 10:40:53 +0200 | [diff] [blame] | 129 | reg = <0x01c20000 0x4>; |
| 130 | clocks = <&osc24M>; |
Chen-Yu Tsai | 3dce832 | 2014-02-03 09:51:42 +0800 | [diff] [blame] | 131 | clock-output-names = "pll1"; |
Maxime Ripard | d3ae078 | 2013-06-09 10:40:53 +0200 | [diff] [blame] | 132 | }; |
| 133 | |
Chen-Yu Tsai | 3dce832 | 2014-02-03 09:51:42 +0800 | [diff] [blame] | 134 | pll4: clk@01c20018 { |
Emilio López | ec5589f | 2013-12-23 00:32:35 -0300 | [diff] [blame] | 135 | #clock-cells = <0>; |
Maxime Ripard | bf6534a | 2014-02-06 09:55:58 +0100 | [diff] [blame] | 136 | compatible = "allwinner,sun4i-a10-pll1-clk"; |
Emilio López | ec5589f | 2013-12-23 00:32:35 -0300 | [diff] [blame] | 137 | reg = <0x01c20018 0x4>; |
| 138 | clocks = <&osc24M>; |
Chen-Yu Tsai | 3dce832 | 2014-02-03 09:51:42 +0800 | [diff] [blame] | 139 | clock-output-names = "pll4"; |
Emilio López | ec5589f | 2013-12-23 00:32:35 -0300 | [diff] [blame] | 140 | }; |
| 141 | |
Chen-Yu Tsai | 3dce832 | 2014-02-03 09:51:42 +0800 | [diff] [blame] | 142 | pll5: clk@01c20020 { |
Emilio López | c3e5e66 | 2013-12-23 00:32:38 -0300 | [diff] [blame] | 143 | #clock-cells = <1>; |
Maxime Ripard | bf6534a | 2014-02-06 09:55:58 +0100 | [diff] [blame] | 144 | compatible = "allwinner,sun4i-a10-pll5-clk"; |
Emilio López | c3e5e66 | 2013-12-23 00:32:38 -0300 | [diff] [blame] | 145 | reg = <0x01c20020 0x4>; |
| 146 | clocks = <&osc24M>; |
| 147 | clock-output-names = "pll5_ddr", "pll5_other"; |
| 148 | }; |
| 149 | |
Chen-Yu Tsai | 3dce832 | 2014-02-03 09:51:42 +0800 | [diff] [blame] | 150 | pll6: clk@01c20028 { |
Emilio López | c3e5e66 | 2013-12-23 00:32:38 -0300 | [diff] [blame] | 151 | #clock-cells = <1>; |
Maxime Ripard | bf6534a | 2014-02-06 09:55:58 +0100 | [diff] [blame] | 152 | compatible = "allwinner,sun4i-a10-pll6-clk"; |
Emilio López | c3e5e66 | 2013-12-23 00:32:38 -0300 | [diff] [blame] | 153 | reg = <0x01c20028 0x4>; |
| 154 | clocks = <&osc24M>; |
| 155 | clock-output-names = "pll6_sata", "pll6_other", "pll6"; |
| 156 | }; |
| 157 | |
Maxime Ripard | d3ae078 | 2013-06-09 10:40:53 +0200 | [diff] [blame] | 158 | /* dummy is 200M */ |
| 159 | cpu: cpu@01c20054 { |
| 160 | #clock-cells = <0>; |
Maxime Ripard | bf6534a | 2014-02-06 09:55:58 +0100 | [diff] [blame] | 161 | compatible = "allwinner,sun4i-a10-cpu-clk"; |
Maxime Ripard | d3ae078 | 2013-06-09 10:40:53 +0200 | [diff] [blame] | 162 | reg = <0x01c20054 0x4>; |
| 163 | clocks = <&osc32k>, <&osc24M>, <&pll1>, <&dummy>; |
Chen-Yu Tsai | 3dce832 | 2014-02-03 09:51:42 +0800 | [diff] [blame] | 164 | clock-output-names = "cpu"; |
Maxime Ripard | d3ae078 | 2013-06-09 10:40:53 +0200 | [diff] [blame] | 165 | }; |
| 166 | |
| 167 | axi: axi@01c20054 { |
| 168 | #clock-cells = <0>; |
Maxime Ripard | bf6534a | 2014-02-06 09:55:58 +0100 | [diff] [blame] | 169 | compatible = "allwinner,sun4i-a10-axi-clk"; |
Maxime Ripard | d3ae078 | 2013-06-09 10:40:53 +0200 | [diff] [blame] | 170 | reg = <0x01c20054 0x4>; |
| 171 | clocks = <&cpu>; |
Chen-Yu Tsai | 3dce832 | 2014-02-03 09:51:42 +0800 | [diff] [blame] | 172 | clock-output-names = "axi"; |
Maxime Ripard | d3ae078 | 2013-06-09 10:40:53 +0200 | [diff] [blame] | 173 | }; |
| 174 | |
Chen-Yu Tsai | 3dce832 | 2014-02-03 09:51:42 +0800 | [diff] [blame] | 175 | axi_gates: clk@01c2005c { |
Maxime Ripard | d3ae078 | 2013-06-09 10:40:53 +0200 | [diff] [blame] | 176 | #clock-cells = <1>; |
Maxime Ripard | bf6534a | 2014-02-06 09:55:58 +0100 | [diff] [blame] | 177 | compatible = "allwinner,sun4i-a10-axi-gates-clk"; |
Maxime Ripard | d3ae078 | 2013-06-09 10:40:53 +0200 | [diff] [blame] | 178 | reg = <0x01c2005c 0x4>; |
| 179 | clocks = <&axi>; |
| 180 | clock-output-names = "axi_dram"; |
| 181 | }; |
| 182 | |
| 183 | ahb: ahb@01c20054 { |
| 184 | #clock-cells = <0>; |
Maxime Ripard | bf6534a | 2014-02-06 09:55:58 +0100 | [diff] [blame] | 185 | compatible = "allwinner,sun4i-a10-ahb-clk"; |
Maxime Ripard | d3ae078 | 2013-06-09 10:40:53 +0200 | [diff] [blame] | 186 | reg = <0x01c20054 0x4>; |
| 187 | clocks = <&axi>; |
Chen-Yu Tsai | 3dce832 | 2014-02-03 09:51:42 +0800 | [diff] [blame] | 188 | clock-output-names = "ahb"; |
Maxime Ripard | d3ae078 | 2013-06-09 10:40:53 +0200 | [diff] [blame] | 189 | }; |
| 190 | |
Chen-Yu Tsai | 3dce832 | 2014-02-03 09:51:42 +0800 | [diff] [blame] | 191 | ahb_gates: clk@01c20060 { |
Maxime Ripard | d3ae078 | 2013-06-09 10:40:53 +0200 | [diff] [blame] | 192 | #clock-cells = <1>; |
Maxime Ripard | 29bb805 | 2013-07-16 11:28:58 +0200 | [diff] [blame] | 193 | compatible = "allwinner,sun5i-a10s-ahb-gates-clk"; |
Maxime Ripard | d3ae078 | 2013-06-09 10:40:53 +0200 | [diff] [blame] | 194 | reg = <0x01c20060 0x8>; |
| 195 | clocks = <&ahb>; |
Maxime Ripard | 29bb805 | 2013-07-16 11:28:58 +0200 | [diff] [blame] | 196 | clock-output-names = "ahb_usbotg", "ahb_ehci", "ahb_ohci", |
| 197 | "ahb_ss", "ahb_dma", "ahb_bist", "ahb_mmc0", |
| 198 | "ahb_mmc1", "ahb_mmc2", "ahb_nand", "ahb_sdram", |
| 199 | "ahb_emac", "ahb_ts", "ahb_spi0", "ahb_spi1", |
| 200 | "ahb_spi2", "ahb_gps", "ahb_stimer", "ahb_ve", |
| 201 | "ahb_tve", "ahb_lcd", "ahb_csi", "ahb_hdmi", |
| 202 | "ahb_de_be", "ahb_de_fe", "ahb_iep", "ahb_mali400"; |
Maxime Ripard | d3ae078 | 2013-06-09 10:40:53 +0200 | [diff] [blame] | 203 | }; |
| 204 | |
| 205 | apb0: apb0@01c20054 { |
| 206 | #clock-cells = <0>; |
Maxime Ripard | bf6534a | 2014-02-06 09:55:58 +0100 | [diff] [blame] | 207 | compatible = "allwinner,sun4i-a10-apb0-clk"; |
Maxime Ripard | d3ae078 | 2013-06-09 10:40:53 +0200 | [diff] [blame] | 208 | reg = <0x01c20054 0x4>; |
| 209 | clocks = <&ahb>; |
Chen-Yu Tsai | 3dce832 | 2014-02-03 09:51:42 +0800 | [diff] [blame] | 210 | clock-output-names = "apb0"; |
Maxime Ripard | d3ae078 | 2013-06-09 10:40:53 +0200 | [diff] [blame] | 211 | }; |
| 212 | |
Chen-Yu Tsai | 3dce832 | 2014-02-03 09:51:42 +0800 | [diff] [blame] | 213 | apb0_gates: clk@01c20068 { |
Maxime Ripard | d3ae078 | 2013-06-09 10:40:53 +0200 | [diff] [blame] | 214 | #clock-cells = <1>; |
Maxime Ripard | 29bb805 | 2013-07-16 11:28:58 +0200 | [diff] [blame] | 215 | compatible = "allwinner,sun5i-a10s-apb0-gates-clk"; |
Maxime Ripard | d3ae078 | 2013-06-09 10:40:53 +0200 | [diff] [blame] | 216 | reg = <0x01c20068 0x4>; |
| 217 | clocks = <&apb0>; |
Maxime Ripard | 29bb805 | 2013-07-16 11:28:58 +0200 | [diff] [blame] | 218 | clock-output-names = "apb0_codec", "apb0_iis", "apb0_pio", |
| 219 | "apb0_ir", "apb0_keypad"; |
Maxime Ripard | d3ae078 | 2013-06-09 10:40:53 +0200 | [diff] [blame] | 220 | }; |
| 221 | |
Emilio López | acbcc0f | 2014-11-06 11:40:30 +0800 | [diff] [blame] | 222 | apb1: clk@01c20058 { |
Maxime Ripard | d3ae078 | 2013-06-09 10:40:53 +0200 | [diff] [blame] | 223 | #clock-cells = <0>; |
Maxime Ripard | bf6534a | 2014-02-06 09:55:58 +0100 | [diff] [blame] | 224 | compatible = "allwinner,sun4i-a10-apb1-clk"; |
Maxime Ripard | d3ae078 | 2013-06-09 10:40:53 +0200 | [diff] [blame] | 225 | reg = <0x01c20058 0x4>; |
Emilio López | acbcc0f | 2014-11-06 11:40:30 +0800 | [diff] [blame] | 226 | clocks = <&osc24M>, <&pll6 1>, <&osc32k>; |
Chen-Yu Tsai | 3dce832 | 2014-02-03 09:51:42 +0800 | [diff] [blame] | 227 | clock-output-names = "apb1"; |
Maxime Ripard | d3ae078 | 2013-06-09 10:40:53 +0200 | [diff] [blame] | 228 | }; |
| 229 | |
Chen-Yu Tsai | 3dce832 | 2014-02-03 09:51:42 +0800 | [diff] [blame] | 230 | apb1_gates: clk@01c2006c { |
Maxime Ripard | d3ae078 | 2013-06-09 10:40:53 +0200 | [diff] [blame] | 231 | #clock-cells = <1>; |
Maxime Ripard | 29bb805 | 2013-07-16 11:28:58 +0200 | [diff] [blame] | 232 | compatible = "allwinner,sun5i-a10s-apb1-gates-clk"; |
Maxime Ripard | d3ae078 | 2013-06-09 10:40:53 +0200 | [diff] [blame] | 233 | reg = <0x01c2006c 0x4>; |
| 234 | clocks = <&apb1>; |
| 235 | clock-output-names = "apb1_i2c0", "apb1_i2c1", |
Maxime Ripard | 29bb805 | 2013-07-16 11:28:58 +0200 | [diff] [blame] | 236 | "apb1_i2c2", "apb1_uart0", "apb1_uart1", |
| 237 | "apb1_uart2", "apb1_uart3"; |
Maxime Ripard | d3ae078 | 2013-06-09 10:40:53 +0200 | [diff] [blame] | 238 | }; |
Emilio López | 8dc36bf | 2013-12-23 00:32:42 -0300 | [diff] [blame] | 239 | |
| 240 | nand_clk: clk@01c20080 { |
| 241 | #clock-cells = <0>; |
Maxime Ripard | bf6534a | 2014-02-06 09:55:58 +0100 | [diff] [blame] | 242 | compatible = "allwinner,sun4i-a10-mod0-clk"; |
Emilio López | 8dc36bf | 2013-12-23 00:32:42 -0300 | [diff] [blame] | 243 | reg = <0x01c20080 0x4>; |
| 244 | clocks = <&osc24M>, <&pll6 1>, <&pll5 1>; |
| 245 | clock-output-names = "nand"; |
| 246 | }; |
| 247 | |
| 248 | ms_clk: clk@01c20084 { |
| 249 | #clock-cells = <0>; |
Maxime Ripard | bf6534a | 2014-02-06 09:55:58 +0100 | [diff] [blame] | 250 | compatible = "allwinner,sun4i-a10-mod0-clk"; |
Emilio López | 8dc36bf | 2013-12-23 00:32:42 -0300 | [diff] [blame] | 251 | reg = <0x01c20084 0x4>; |
| 252 | clocks = <&osc24M>, <&pll6 1>, <&pll5 1>; |
| 253 | clock-output-names = "ms"; |
| 254 | }; |
| 255 | |
| 256 | mmc0_clk: clk@01c20088 { |
Maxime Ripard | d8c3a39 | 2014-07-11 19:39:06 +0200 | [diff] [blame] | 257 | #clock-cells = <1>; |
| 258 | compatible = "allwinner,sun4i-a10-mmc-clk"; |
Emilio López | 8dc36bf | 2013-12-23 00:32:42 -0300 | [diff] [blame] | 259 | reg = <0x01c20088 0x4>; |
| 260 | clocks = <&osc24M>, <&pll6 1>, <&pll5 1>; |
Maxime Ripard | d8c3a39 | 2014-07-11 19:39:06 +0200 | [diff] [blame] | 261 | clock-output-names = "mmc0", |
| 262 | "mmc0_output", |
| 263 | "mmc0_sample"; |
Emilio López | 8dc36bf | 2013-12-23 00:32:42 -0300 | [diff] [blame] | 264 | }; |
| 265 | |
| 266 | mmc1_clk: clk@01c2008c { |
Maxime Ripard | d8c3a39 | 2014-07-11 19:39:06 +0200 | [diff] [blame] | 267 | #clock-cells = <1>; |
| 268 | compatible = "allwinner,sun4i-a10-mmc-clk"; |
Emilio López | 8dc36bf | 2013-12-23 00:32:42 -0300 | [diff] [blame] | 269 | reg = <0x01c2008c 0x4>; |
| 270 | clocks = <&osc24M>, <&pll6 1>, <&pll5 1>; |
Maxime Ripard | d8c3a39 | 2014-07-11 19:39:06 +0200 | [diff] [blame] | 271 | clock-output-names = "mmc1", |
| 272 | "mmc1_output", |
| 273 | "mmc1_sample"; |
Emilio López | 8dc36bf | 2013-12-23 00:32:42 -0300 | [diff] [blame] | 274 | }; |
| 275 | |
| 276 | mmc2_clk: clk@01c20090 { |
Maxime Ripard | d8c3a39 | 2014-07-11 19:39:06 +0200 | [diff] [blame] | 277 | #clock-cells = <1>; |
| 278 | compatible = "allwinner,sun4i-a10-mmc-clk"; |
Emilio López | 8dc36bf | 2013-12-23 00:32:42 -0300 | [diff] [blame] | 279 | reg = <0x01c20090 0x4>; |
| 280 | clocks = <&osc24M>, <&pll6 1>, <&pll5 1>; |
Maxime Ripard | d8c3a39 | 2014-07-11 19:39:06 +0200 | [diff] [blame] | 281 | clock-output-names = "mmc2", |
| 282 | "mmc2_output", |
| 283 | "mmc2_sample"; |
Emilio López | 8dc36bf | 2013-12-23 00:32:42 -0300 | [diff] [blame] | 284 | }; |
| 285 | |
| 286 | ts_clk: clk@01c20098 { |
| 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 | 8dc36bf | 2013-12-23 00:32:42 -0300 | [diff] [blame] | 289 | reg = <0x01c20098 0x4>; |
| 290 | clocks = <&osc24M>, <&pll6 1>, <&pll5 1>; |
| 291 | clock-output-names = "ts"; |
| 292 | }; |
| 293 | |
| 294 | ss_clk: clk@01c2009c { |
| 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 | 8dc36bf | 2013-12-23 00:32:42 -0300 | [diff] [blame] | 297 | reg = <0x01c2009c 0x4>; |
| 298 | clocks = <&osc24M>, <&pll6 1>, <&pll5 1>; |
| 299 | clock-output-names = "ss"; |
| 300 | }; |
| 301 | |
| 302 | spi0_clk: clk@01c200a0 { |
| 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 | 8dc36bf | 2013-12-23 00:32:42 -0300 | [diff] [blame] | 305 | reg = <0x01c200a0 0x4>; |
| 306 | clocks = <&osc24M>, <&pll6 1>, <&pll5 1>; |
| 307 | clock-output-names = "spi0"; |
| 308 | }; |
| 309 | |
| 310 | spi1_clk: clk@01c200a4 { |
| 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 | 8dc36bf | 2013-12-23 00:32:42 -0300 | [diff] [blame] | 313 | reg = <0x01c200a4 0x4>; |
| 314 | clocks = <&osc24M>, <&pll6 1>, <&pll5 1>; |
| 315 | clock-output-names = "spi1"; |
| 316 | }; |
| 317 | |
| 318 | spi2_clk: clk@01c200a8 { |
| 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 | 8dc36bf | 2013-12-23 00:32:42 -0300 | [diff] [blame] | 321 | reg = <0x01c200a8 0x4>; |
| 322 | clocks = <&osc24M>, <&pll6 1>, <&pll5 1>; |
| 323 | clock-output-names = "spi2"; |
| 324 | }; |
| 325 | |
| 326 | ir0_clk: clk@01c200b0 { |
| 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 | 8dc36bf | 2013-12-23 00:32:42 -0300 | [diff] [blame] | 329 | reg = <0x01c200b0 0x4>; |
| 330 | clocks = <&osc24M>, <&pll6 1>, <&pll5 1>; |
| 331 | clock-output-names = "ir0"; |
| 332 | }; |
Emilio López | 118c07a | 2013-12-23 00:32:44 -0300 | [diff] [blame] | 333 | |
Roman Byshko | 4c5d72f | 2014-02-07 16:21:52 +0100 | [diff] [blame] | 334 | usb_clk: clk@01c200cc { |
| 335 | #clock-cells = <1>; |
| 336 | #reset-cells = <1>; |
| 337 | compatible = "allwinner,sun5i-a13-usb-clk"; |
| 338 | reg = <0x01c200cc 0x4>; |
| 339 | clocks = <&pll6 1>; |
| 340 | clock-output-names = "usb_ohci0", "usb_phy"; |
| 341 | }; |
| 342 | |
Emilio López | 118c07a | 2013-12-23 00:32:44 -0300 | [diff] [blame] | 343 | mbus_clk: clk@01c2015c { |
| 344 | #clock-cells = <0>; |
Maxime Ripard | 7868c5e | 2014-07-16 23:45:48 +0200 | [diff] [blame] | 345 | compatible = "allwinner,sun5i-a13-mbus-clk"; |
Emilio López | 118c07a | 2013-12-23 00:32:44 -0300 | [diff] [blame] | 346 | reg = <0x01c2015c 0x4>; |
| 347 | clocks = <&osc24M>, <&pll6 1>, <&pll5 1>; |
| 348 | clock-output-names = "mbus"; |
| 349 | }; |
Maxime Ripard | d3ae078 | 2013-06-09 10:40:53 +0200 | [diff] [blame] | 350 | }; |
| 351 | |
Maxime Ripard | 9e19929 | 2013-08-03 16:07:36 +0200 | [diff] [blame] | 352 | soc@01c00000 { |
Maxime Ripard | d3ae078 | 2013-06-09 10:40:53 +0200 | [diff] [blame] | 353 | compatible = "simple-bus"; |
| 354 | #address-cells = <1>; |
| 355 | #size-cells = <1>; |
Maxime Ripard | d3ae078 | 2013-06-09 10:40:53 +0200 | [diff] [blame] | 356 | ranges; |
| 357 | |
Emilio López | 6a5775e | 2014-08-04 17:09:58 -0300 | [diff] [blame] | 358 | dma: dma-controller@01c02000 { |
| 359 | compatible = "allwinner,sun4i-a10-dma"; |
| 360 | reg = <0x01c02000 0x1000>; |
| 361 | interrupts = <27>; |
| 362 | clocks = <&ahb_gates 6>; |
| 363 | #dma-cells = <2>; |
| 364 | }; |
| 365 | |
Maxime Ripard | 8a68956 | 2014-02-22 22:35:56 +0100 | [diff] [blame] | 366 | spi0: spi@01c05000 { |
| 367 | compatible = "allwinner,sun4i-a10-spi"; |
| 368 | reg = <0x01c05000 0x1000>; |
| 369 | interrupts = <10>; |
| 370 | clocks = <&ahb_gates 20>, <&spi0_clk>; |
| 371 | clock-names = "ahb", "mod"; |
Maxime Ripard | 1f9f6a7 | 2014-12-16 22:59:56 +0100 | [diff] [blame] | 372 | dmas = <&dma SUN4I_DMA_DEDICATED 27>, |
| 373 | <&dma SUN4I_DMA_DEDICATED 26>; |
Emilio López | fed4c5c | 2014-08-04 17:10:01 -0300 | [diff] [blame] | 374 | dma-names = "rx", "tx"; |
Maxime Ripard | 8a68956 | 2014-02-22 22:35:56 +0100 | [diff] [blame] | 375 | status = "disabled"; |
| 376 | #address-cells = <1>; |
| 377 | #size-cells = <0>; |
| 378 | }; |
| 379 | |
| 380 | spi1: spi@01c06000 { |
| 381 | compatible = "allwinner,sun4i-a10-spi"; |
| 382 | reg = <0x01c06000 0x1000>; |
| 383 | interrupts = <11>; |
| 384 | clocks = <&ahb_gates 21>, <&spi1_clk>; |
| 385 | clock-names = "ahb", "mod"; |
Maxime Ripard | 1f9f6a7 | 2014-12-16 22:59:56 +0100 | [diff] [blame] | 386 | dmas = <&dma SUN4I_DMA_DEDICATED 9>, |
| 387 | <&dma SUN4I_DMA_DEDICATED 8>; |
Emilio López | fed4c5c | 2014-08-04 17:10:01 -0300 | [diff] [blame] | 388 | dma-names = "rx", "tx"; |
Maxime Ripard | 8a68956 | 2014-02-22 22:35:56 +0100 | [diff] [blame] | 389 | status = "disabled"; |
| 390 | #address-cells = <1>; |
| 391 | #size-cells = <0>; |
| 392 | }; |
| 393 | |
Maxime Ripard | d3ae078 | 2013-06-09 10:40:53 +0200 | [diff] [blame] | 394 | emac: ethernet@01c0b000 { |
Maxime Ripard | 1c70e09 | 2014-02-02 14:49:13 +0100 | [diff] [blame] | 395 | compatible = "allwinner,sun4i-a10-emac"; |
Maxime Ripard | d3ae078 | 2013-06-09 10:40:53 +0200 | [diff] [blame] | 396 | reg = <0x01c0b000 0x1000>; |
| 397 | interrupts = <55>; |
| 398 | clocks = <&ahb_gates 17>; |
| 399 | status = "disabled"; |
| 400 | }; |
| 401 | |
Aleksei Mamlin | 92395f5 | 2015-01-19 22:35:22 +0300 | [diff] [blame] | 402 | mdio: mdio@01c0b080 { |
Maxime Ripard | 1c70e09 | 2014-02-02 14:49:13 +0100 | [diff] [blame] | 403 | compatible = "allwinner,sun4i-a10-mdio"; |
Maxime Ripard | d3ae078 | 2013-06-09 10:40:53 +0200 | [diff] [blame] | 404 | reg = <0x01c0b080 0x14>; |
| 405 | status = "disabled"; |
| 406 | #address-cells = <1>; |
| 407 | #size-cells = <0>; |
| 408 | }; |
| 409 | |
David Lanzendörfer | d3aed1d | 2014-05-02 17:57:21 +0200 | [diff] [blame] | 410 | mmc0: mmc@01c0f000 { |
| 411 | compatible = "allwinner,sun5i-a13-mmc"; |
| 412 | reg = <0x01c0f000 0x1000>; |
Maxime Ripard | d8c3a39 | 2014-07-11 19:39:06 +0200 | [diff] [blame] | 413 | clocks = <&ahb_gates 8>, |
| 414 | <&mmc0_clk 0>, |
| 415 | <&mmc0_clk 1>, |
| 416 | <&mmc0_clk 2>; |
| 417 | clock-names = "ahb", |
| 418 | "mmc", |
| 419 | "output", |
| 420 | "sample"; |
David Lanzendörfer | d3aed1d | 2014-05-02 17:57:21 +0200 | [diff] [blame] | 421 | interrupts = <32>; |
| 422 | status = "disabled"; |
| 423 | }; |
| 424 | |
| 425 | mmc1: mmc@01c10000 { |
| 426 | compatible = "allwinner,sun5i-a13-mmc"; |
| 427 | reg = <0x01c10000 0x1000>; |
Maxime Ripard | d8c3a39 | 2014-07-11 19:39:06 +0200 | [diff] [blame] | 428 | clocks = <&ahb_gates 9>, |
| 429 | <&mmc1_clk 0>, |
| 430 | <&mmc1_clk 1>, |
| 431 | <&mmc1_clk 2>; |
| 432 | clock-names = "ahb", |
| 433 | "mmc", |
| 434 | "output", |
| 435 | "sample"; |
David Lanzendörfer | d3aed1d | 2014-05-02 17:57:21 +0200 | [diff] [blame] | 436 | interrupts = <33>; |
| 437 | status = "disabled"; |
| 438 | }; |
| 439 | |
| 440 | mmc2: mmc@01c11000 { |
| 441 | compatible = "allwinner,sun5i-a13-mmc"; |
| 442 | reg = <0x01c11000 0x1000>; |
Maxime Ripard | d8c3a39 | 2014-07-11 19:39:06 +0200 | [diff] [blame] | 443 | clocks = <&ahb_gates 10>, |
| 444 | <&mmc2_clk 0>, |
| 445 | <&mmc2_clk 1>, |
| 446 | <&mmc2_clk 2>; |
| 447 | clock-names = "ahb", |
| 448 | "mmc", |
| 449 | "output", |
| 450 | "sample"; |
David Lanzendörfer | d3aed1d | 2014-05-02 17:57:21 +0200 | [diff] [blame] | 451 | interrupts = <34>; |
| 452 | status = "disabled"; |
| 453 | }; |
| 454 | |
Roman Byshko | 06c7d52 | 2014-03-01 20:26:24 +0100 | [diff] [blame] | 455 | usbphy: phy@01c13400 { |
| 456 | #phy-cells = <1>; |
| 457 | compatible = "allwinner,sun5i-a13-usb-phy"; |
| 458 | reg = <0x01c13400 0x10 0x01c14800 0x4>; |
| 459 | reg-names = "phy_ctrl", "pmu1"; |
| 460 | clocks = <&usb_clk 8>; |
| 461 | clock-names = "usb_phy"; |
Chen-Yu Tsai | 4dba418 | 2014-12-18 19:10:35 +0800 | [diff] [blame] | 462 | resets = <&usb_clk 0>, <&usb_clk 1>; |
| 463 | reset-names = "usb0_reset", "usb1_reset"; |
Roman Byshko | 06c7d52 | 2014-03-01 20:26:24 +0100 | [diff] [blame] | 464 | status = "disabled"; |
| 465 | }; |
| 466 | |
| 467 | ehci0: usb@01c14000 { |
| 468 | compatible = "allwinner,sun5i-a10s-ehci", "generic-ehci"; |
| 469 | reg = <0x01c14000 0x100>; |
| 470 | interrupts = <39>; |
| 471 | clocks = <&ahb_gates 1>; |
| 472 | phys = <&usbphy 1>; |
| 473 | phy-names = "usb"; |
| 474 | status = "disabled"; |
| 475 | }; |
| 476 | |
| 477 | ohci0: usb@01c14400 { |
| 478 | compatible = "allwinner,sun5i-a10s-ohci", "generic-ohci"; |
| 479 | reg = <0x01c14400 0x100>; |
| 480 | interrupts = <40>; |
| 481 | clocks = <&usb_clk 6>, <&ahb_gates 2>; |
| 482 | phys = <&usbphy 1>; |
| 483 | phy-names = "usb"; |
| 484 | status = "disabled"; |
| 485 | }; |
| 486 | |
Maxime Ripard | 8a68956 | 2014-02-22 22:35:56 +0100 | [diff] [blame] | 487 | spi2: spi@01c17000 { |
| 488 | compatible = "allwinner,sun4i-a10-spi"; |
| 489 | reg = <0x01c17000 0x1000>; |
| 490 | interrupts = <12>; |
| 491 | clocks = <&ahb_gates 22>, <&spi2_clk>; |
| 492 | clock-names = "ahb", "mod"; |
Maxime Ripard | 1f9f6a7 | 2014-12-16 22:59:56 +0100 | [diff] [blame] | 493 | dmas = <&dma SUN4I_DMA_DEDICATED 29>, |
| 494 | <&dma SUN4I_DMA_DEDICATED 28>; |
Emilio López | fed4c5c | 2014-08-04 17:10:01 -0300 | [diff] [blame] | 495 | dma-names = "rx", "tx"; |
Maxime Ripard | 8a68956 | 2014-02-22 22:35:56 +0100 | [diff] [blame] | 496 | status = "disabled"; |
| 497 | #address-cells = <1>; |
| 498 | #size-cells = <0>; |
| 499 | }; |
| 500 | |
Maxime Ripard | d3ae078 | 2013-06-09 10:40:53 +0200 | [diff] [blame] | 501 | intc: interrupt-controller@01c20400 { |
Maxime Ripard | 09504a7 | 2014-02-07 21:50:26 +0100 | [diff] [blame] | 502 | compatible = "allwinner,sun4i-a10-ic"; |
Maxime Ripard | d3ae078 | 2013-06-09 10:40:53 +0200 | [diff] [blame] | 503 | reg = <0x01c20400 0x400>; |
| 504 | interrupt-controller; |
| 505 | #interrupt-cells = <1>; |
| 506 | }; |
| 507 | |
| 508 | pio: pinctrl@01c20800 { |
| 509 | compatible = "allwinner,sun5i-a10s-pinctrl"; |
| 510 | reg = <0x01c20800 0x400>; |
| 511 | interrupts = <28>; |
| 512 | clocks = <&apb0_gates 5>; |
| 513 | gpio-controller; |
| 514 | interrupt-controller; |
Chen-Yu Tsai | 7d4ff96 | 2014-06-30 23:57:51 +0200 | [diff] [blame] | 515 | #interrupt-cells = <2>; |
Maxime Ripard | d3ae078 | 2013-06-09 10:40:53 +0200 | [diff] [blame] | 516 | #size-cells = <0>; |
| 517 | #gpio-cells = <3>; |
| 518 | |
| 519 | uart0_pins_a: uart0@0 { |
| 520 | allwinner,pins = "PB19", "PB20"; |
| 521 | allwinner,function = "uart0"; |
Maxime Ripard | 092a0c3 | 2014-12-16 22:59:57 +0100 | [diff] [blame] | 522 | allwinner,drive = <SUN4I_PINCTRL_10_MA>; |
| 523 | allwinner,pull = <SUN4I_PINCTRL_NO_PULL>; |
Maxime Ripard | d3ae078 | 2013-06-09 10:40:53 +0200 | [diff] [blame] | 524 | }; |
| 525 | |
| 526 | uart2_pins_a: uart2@0 { |
| 527 | allwinner,pins = "PC18", "PC19"; |
| 528 | allwinner,function = "uart2"; |
Maxime Ripard | 092a0c3 | 2014-12-16 22:59:57 +0100 | [diff] [blame] | 529 | allwinner,drive = <SUN4I_PINCTRL_10_MA>; |
| 530 | allwinner,pull = <SUN4I_PINCTRL_NO_PULL>; |
Maxime Ripard | d3ae078 | 2013-06-09 10:40:53 +0200 | [diff] [blame] | 531 | }; |
| 532 | |
| 533 | uart3_pins_a: uart3@0 { |
| 534 | allwinner,pins = "PG9", "PG10"; |
| 535 | allwinner,function = "uart3"; |
Maxime Ripard | 092a0c3 | 2014-12-16 22:59:57 +0100 | [diff] [blame] | 536 | allwinner,drive = <SUN4I_PINCTRL_10_MA>; |
| 537 | allwinner,pull = <SUN4I_PINCTRL_NO_PULL>; |
Maxime Ripard | d3ae078 | 2013-06-09 10:40:53 +0200 | [diff] [blame] | 538 | }; |
| 539 | |
| 540 | emac_pins_a: emac0@0 { |
| 541 | allwinner,pins = "PA0", "PA1", "PA2", |
| 542 | "PA3", "PA4", "PA5", "PA6", |
| 543 | "PA7", "PA8", "PA9", "PA10", |
| 544 | "PA11", "PA12", "PA13", "PA14", |
| 545 | "PA15", "PA16"; |
| 546 | allwinner,function = "emac"; |
Maxime Ripard | 092a0c3 | 2014-12-16 22:59:57 +0100 | [diff] [blame] | 547 | allwinner,drive = <SUN4I_PINCTRL_10_MA>; |
| 548 | allwinner,pull = <SUN4I_PINCTRL_NO_PULL>; |
Maxime Ripard | d3ae078 | 2013-06-09 10:40:53 +0200 | [diff] [blame] | 549 | }; |
Emilio López | 170ab43 | 2013-07-07 18:31:56 -0300 | [diff] [blame] | 550 | |
| 551 | i2c0_pins_a: i2c0@0 { |
| 552 | allwinner,pins = "PB0", "PB1"; |
| 553 | allwinner,function = "i2c0"; |
Maxime Ripard | 092a0c3 | 2014-12-16 22:59:57 +0100 | [diff] [blame] | 554 | allwinner,drive = <SUN4I_PINCTRL_10_MA>; |
| 555 | allwinner,pull = <SUN4I_PINCTRL_NO_PULL>; |
Emilio López | 170ab43 | 2013-07-07 18:31:56 -0300 | [diff] [blame] | 556 | }; |
| 557 | |
| 558 | i2c1_pins_a: i2c1@0 { |
| 559 | allwinner,pins = "PB15", "PB16"; |
| 560 | allwinner,function = "i2c1"; |
Maxime Ripard | 092a0c3 | 2014-12-16 22:59:57 +0100 | [diff] [blame] | 561 | allwinner,drive = <SUN4I_PINCTRL_10_MA>; |
| 562 | allwinner,pull = <SUN4I_PINCTRL_NO_PULL>; |
Emilio López | 170ab43 | 2013-07-07 18:31:56 -0300 | [diff] [blame] | 563 | }; |
| 564 | |
| 565 | i2c2_pins_a: i2c2@0 { |
| 566 | allwinner,pins = "PB17", "PB18"; |
| 567 | allwinner,function = "i2c2"; |
Maxime Ripard | 092a0c3 | 2014-12-16 22:59:57 +0100 | [diff] [blame] | 568 | allwinner,drive = <SUN4I_PINCTRL_10_MA>; |
| 569 | allwinner,pull = <SUN4I_PINCTRL_NO_PULL>; |
Emilio López | 170ab43 | 2013-07-07 18:31:56 -0300 | [diff] [blame] | 570 | }; |
Hans de Goede | 6da50f1 | 2014-04-26 12:16:12 +0200 | [diff] [blame] | 571 | |
| 572 | mmc0_pins_a: mmc0@0 { |
| 573 | allwinner,pins = "PF0","PF1","PF2","PF3","PF4","PF5"; |
| 574 | allwinner,function = "mmc0"; |
Maxime Ripard | 092a0c3 | 2014-12-16 22:59:57 +0100 | [diff] [blame] | 575 | allwinner,drive = <SUN4I_PINCTRL_30_MA>; |
| 576 | allwinner,pull = <SUN4I_PINCTRL_NO_PULL>; |
Hans de Goede | 6da50f1 | 2014-04-26 12:16:12 +0200 | [diff] [blame] | 577 | }; |
| 578 | |
| 579 | mmc1_pins_a: mmc1@0 { |
| 580 | allwinner,pins = "PG3","PG4","PG5","PG6","PG7","PG8"; |
| 581 | allwinner,function = "mmc1"; |
Maxime Ripard | 092a0c3 | 2014-12-16 22:59:57 +0100 | [diff] [blame] | 582 | allwinner,drive = <SUN4I_PINCTRL_30_MA>; |
| 583 | allwinner,pull = <SUN4I_PINCTRL_NO_PULL>; |
Hans de Goede | 6da50f1 | 2014-04-26 12:16:12 +0200 | [diff] [blame] | 584 | }; |
Maxime Ripard | d3ae078 | 2013-06-09 10:40:53 +0200 | [diff] [blame] | 585 | }; |
| 586 | |
| 587 | timer@01c20c00 { |
Maxime Ripard | b4f2644 | 2014-02-06 10:40:32 +0100 | [diff] [blame] | 588 | compatible = "allwinner,sun4i-a10-timer"; |
Maxime Ripard | d3ae078 | 2013-06-09 10:40:53 +0200 | [diff] [blame] | 589 | reg = <0x01c20c00 0x90>; |
| 590 | interrupts = <22>; |
| 591 | clocks = <&osc24M>; |
| 592 | }; |
| 593 | |
| 594 | wdt: watchdog@01c20c90 { |
Maxime Ripard | ca5d04d | 2014-02-07 22:29:26 +0100 | [diff] [blame] | 595 | compatible = "allwinner,sun4i-a10-wdt"; |
Maxime Ripard | d3ae078 | 2013-06-09 10:40:53 +0200 | [diff] [blame] | 596 | reg = <0x01c20c90 0x10>; |
| 597 | }; |
| 598 | |
Hans de Goede | ec011af5 | 2014-12-23 11:13:21 +0100 | [diff] [blame] | 599 | lradc: lradc@01c22800 { |
| 600 | compatible = "allwinner,sun4i-a10-lradc-keys"; |
| 601 | reg = <0x01c22800 0x100>; |
| 602 | interrupts = <31>; |
| 603 | status = "disabled"; |
| 604 | }; |
| 605 | |
Oliver Schinagl | 2bad969 | 2013-09-03 12:33:28 +0200 | [diff] [blame] | 606 | sid: eeprom@01c23800 { |
Maxime Ripard | 043d56e | 2014-02-07 22:20:40 +0100 | [diff] [blame] | 607 | compatible = "allwinner,sun4i-a10-sid"; |
Oliver Schinagl | 2bad969 | 2013-09-03 12:33:28 +0200 | [diff] [blame] | 608 | reg = <0x01c23800 0x10>; |
| 609 | }; |
| 610 | |
Hans de Goede | f65c93a | 2013-12-31 17:20:51 +0100 | [diff] [blame] | 611 | rtp: rtp@01c25000 { |
Maxime Ripard | 40dd8f3 | 2014-02-02 14:52:40 +0100 | [diff] [blame] | 612 | compatible = "allwinner,sun4i-a10-ts"; |
Hans de Goede | f65c93a | 2013-12-31 17:20:51 +0100 | [diff] [blame] | 613 | reg = <0x01c25000 0x100>; |
| 614 | interrupts = <29>; |
Chen-Yu Tsai | 41e7afb | 2015-01-06 10:35:15 +0800 | [diff] [blame] | 615 | #thermal-sensor-cells = <0>; |
Hans de Goede | f65c93a | 2013-12-31 17:20:51 +0100 | [diff] [blame] | 616 | }; |
| 617 | |
Maxime Ripard | d3ae078 | 2013-06-09 10:40:53 +0200 | [diff] [blame] | 618 | uart0: serial@01c28000 { |
| 619 | compatible = "snps,dw-apb-uart"; |
| 620 | reg = <0x01c28000 0x400>; |
| 621 | interrupts = <1>; |
| 622 | reg-shift = <2>; |
| 623 | reg-io-width = <4>; |
| 624 | clocks = <&apb1_gates 16>; |
| 625 | status = "disabled"; |
| 626 | }; |
| 627 | |
| 628 | uart1: serial@01c28400 { |
| 629 | compatible = "snps,dw-apb-uart"; |
| 630 | reg = <0x01c28400 0x400>; |
| 631 | interrupts = <2>; |
| 632 | reg-shift = <2>; |
| 633 | reg-io-width = <4>; |
| 634 | clocks = <&apb1_gates 17>; |
| 635 | status = "disabled"; |
| 636 | }; |
| 637 | |
| 638 | uart2: serial@01c28800 { |
| 639 | compatible = "snps,dw-apb-uart"; |
| 640 | reg = <0x01c28800 0x400>; |
| 641 | interrupts = <3>; |
| 642 | reg-shift = <2>; |
| 643 | reg-io-width = <4>; |
| 644 | clocks = <&apb1_gates 18>; |
| 645 | status = "disabled"; |
| 646 | }; |
| 647 | |
| 648 | uart3: serial@01c28c00 { |
| 649 | compatible = "snps,dw-apb-uart"; |
| 650 | reg = <0x01c28c00 0x400>; |
| 651 | interrupts = <4>; |
| 652 | reg-shift = <2>; |
| 653 | reg-io-width = <4>; |
| 654 | clocks = <&apb1_gates 19>; |
| 655 | status = "disabled"; |
| 656 | }; |
Emilio López | ca3d4ed | 2013-07-07 18:31:57 -0300 | [diff] [blame] | 657 | |
| 658 | i2c0: i2c@01c2ac00 { |
| 659 | #address-cells = <1>; |
| 660 | #size-cells = <0>; |
Maxime Ripard | d275545 | 2014-03-31 14:54:58 +0200 | [diff] [blame] | 661 | compatible = "allwinner,sun5i-a10s-i2c", "allwinner,sun4i-a10-i2c"; |
Emilio López | ca3d4ed | 2013-07-07 18:31:57 -0300 | [diff] [blame] | 662 | reg = <0x01c2ac00 0x400>; |
| 663 | interrupts = <7>; |
| 664 | clocks = <&apb1_gates 0>; |
Emilio López | ca3d4ed | 2013-07-07 18:31:57 -0300 | [diff] [blame] | 665 | status = "disabled"; |
| 666 | }; |
| 667 | |
| 668 | i2c1: i2c@01c2b000 { |
| 669 | #address-cells = <1>; |
| 670 | #size-cells = <0>; |
Maxime Ripard | d275545 | 2014-03-31 14:54:58 +0200 | [diff] [blame] | 671 | compatible = "allwinner,sun5i-a10s-i2c", "allwinner,sun4i-a10-i2c"; |
Emilio López | ca3d4ed | 2013-07-07 18:31:57 -0300 | [diff] [blame] | 672 | reg = <0x01c2b000 0x400>; |
| 673 | interrupts = <8>; |
| 674 | clocks = <&apb1_gates 1>; |
Emilio López | ca3d4ed | 2013-07-07 18:31:57 -0300 | [diff] [blame] | 675 | status = "disabled"; |
| 676 | }; |
| 677 | |
| 678 | i2c2: i2c@01c2b400 { |
| 679 | #address-cells = <1>; |
| 680 | #size-cells = <0>; |
Maxime Ripard | d275545 | 2014-03-31 14:54:58 +0200 | [diff] [blame] | 681 | compatible = "allwinner,sun5i-a10s-i2c", "allwinner,sun4i-a10-i2c"; |
Emilio López | ca3d4ed | 2013-07-07 18:31:57 -0300 | [diff] [blame] | 682 | reg = <0x01c2b400 0x400>; |
| 683 | interrupts = <9>; |
| 684 | clocks = <&apb1_gates 2>; |
Emilio López | ca3d4ed | 2013-07-07 18:31:57 -0300 | [diff] [blame] | 685 | status = "disabled"; |
| 686 | }; |
Maxime Ripard | f2b5002 | 2013-11-07 12:01:48 +0100 | [diff] [blame] | 687 | |
| 688 | timer@01c60000 { |
| 689 | compatible = "allwinner,sun5i-a13-hstimer"; |
| 690 | reg = <0x01c60000 0x1000>; |
| 691 | interrupts = <82>, <83>; |
| 692 | clocks = <&ahb_gates 28>; |
| 693 | }; |
Maxime Ripard | d3ae078 | 2013-06-09 10:40:53 +0200 | [diff] [blame] | 694 | }; |
| 695 | }; |