Maxime Ripard | d4da2eb | 2012-11-14 20:17:04 +0100 | [diff] [blame] | 1 | /* |
| 2 | * Copyright 2012 Maxime Ripard |
| 3 | * |
| 4 | * Maxime Ripard <maxime.ripard@free-electrons.com> |
| 5 | * |
| 6 | * The code contained herein is licensed under the GNU General Public |
| 7 | * License. You may obtain a copy of the GNU General Public License |
| 8 | * Version 2 or later at the following locations: |
| 9 | * |
| 10 | * http://www.opensource.org/licenses/gpl-license.html |
| 11 | * http://www.gnu.org/copyleft/gpl.html |
| 12 | */ |
| 13 | |
Maxime Ripard | 7145570 | 2014-12-16 22:59:54 +0100 | [diff] [blame] | 14 | #include "skeleton.dtsi" |
Maxime Ripard | d4da2eb | 2012-11-14 20:17:04 +0100 | [diff] [blame] | 15 | |
Chen-Yu Tsai | 32a5d2d | 2015-01-12 12:34:06 +0800 | [diff] [blame] | 16 | #include <dt-bindings/thermal/thermal.h> |
| 17 | |
Maxime Ripard | 1f9f6a7 | 2014-12-16 22:59:56 +0100 | [diff] [blame] | 18 | #include <dt-bindings/dma/sun4i-a10.h> |
Maxime Ripard | 092a0c3 | 2014-12-16 22:59:57 +0100 | [diff] [blame] | 19 | #include <dt-bindings/pinctrl/sun4i-a10.h> |
Maxime Ripard | d4da2eb | 2012-11-14 20:17:04 +0100 | [diff] [blame] | 20 | |
| 21 | / { |
Maxime Ripard | 69144e3 | 2013-03-13 20:07:37 +0100 | [diff] [blame] | 22 | interrupt-parent = <&intc>; |
| 23 | |
Hans de Goede | fd18c7e | 2015-01-19 14:05:12 +0100 | [diff] [blame] | 24 | chosen { |
| 25 | #address-cells = <1>; |
| 26 | #size-cells = <1>; |
| 27 | ranges; |
| 28 | |
| 29 | framebuffer@0 { |
| 30 | compatible = "allwinner,simple-framebuffer", |
| 31 | "simple-framebuffer"; |
| 32 | allwinner,pipeline = "de_be0-lcd0"; |
| 33 | clocks = <&pll5 1>, <&ahb_gates 36>, <&ahb_gates 44>; |
| 34 | status = "disabled"; |
| 35 | }; |
| 36 | }; |
| 37 | |
Maxime Ripard | 69144e3 | 2013-03-13 20:07:37 +0100 | [diff] [blame] | 38 | cpus { |
Arnd Bergmann | 8b2efa89 | 2013-06-10 16:48:36 +0200 | [diff] [blame] | 39 | #address-cells = <1>; |
| 40 | #size-cells = <0>; |
Chen-Yu Tsai | 882facf7 | 2015-01-06 10:35:20 +0800 | [diff] [blame] | 41 | |
| 42 | cpu0: cpu@0 { |
Lorenzo Pieralisi | 14c44aa | 2013-04-18 18:41:57 +0100 | [diff] [blame] | 43 | device_type = "cpu"; |
Maxime Ripard | 69144e3 | 2013-03-13 20:07:37 +0100 | [diff] [blame] | 44 | compatible = "arm,cortex-a8"; |
Lorenzo Pieralisi | 14c44aa | 2013-04-18 18:41:57 +0100 | [diff] [blame] | 45 | reg = <0x0>; |
Chen-Yu Tsai | 882facf7 | 2015-01-06 10:35:20 +0800 | [diff] [blame] | 46 | clocks = <&cpu>; |
| 47 | clock-latency = <244144>; /* 8 32k periods */ |
| 48 | operating-points = < |
| 49 | /* kHz uV */ |
Chen-Yu Tsai | 882facf7 | 2015-01-06 10:35:20 +0800 | [diff] [blame] | 50 | 1008000 1400000 |
| 51 | 912000 1350000 |
| 52 | 864000 1300000 |
| 53 | 624000 1200000 |
| 54 | 576000 1200000 |
| 55 | 432000 1200000 |
| 56 | >; |
| 57 | #cooling-cells = <2>; |
| 58 | cooling-min-level = <0>; |
Chen-Yu Tsai | 370a9b5 | 2015-03-25 00:53:27 +0800 | [diff] [blame] | 59 | cooling-max-level = <5>; |
Maxime Ripard | 69144e3 | 2013-03-13 20:07:37 +0100 | [diff] [blame] | 60 | }; |
| 61 | }; |
| 62 | |
Chen-Yu Tsai | 32a5d2d | 2015-01-12 12:34:06 +0800 | [diff] [blame] | 63 | thermal-zones { |
| 64 | cpu_thermal { |
| 65 | /* milliseconds */ |
| 66 | polling-delay-passive = <250>; |
| 67 | polling-delay = <1000>; |
| 68 | thermal-sensors = <&rtp>; |
| 69 | |
| 70 | cooling-maps { |
| 71 | map0 { |
| 72 | trip = <&cpu_alert0>; |
| 73 | cooling-device = <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; |
| 74 | }; |
| 75 | }; |
| 76 | |
| 77 | trips { |
| 78 | cpu_alert0: cpu_alert0 { |
| 79 | /* milliCelsius */ |
| 80 | temperature = <850000>; |
| 81 | hysteresis = <2000>; |
| 82 | type = "passive"; |
| 83 | }; |
| 84 | |
| 85 | cpu_crit: cpu_crit { |
| 86 | /* milliCelsius */ |
| 87 | temperature = <100000>; |
| 88 | hysteresis = <2000>; |
| 89 | type = "critical"; |
| 90 | }; |
| 91 | }; |
Maxime Ripard | d4da2eb | 2012-11-14 20:17:04 +0100 | [diff] [blame] | 92 | }; |
| 93 | }; |
| 94 | |
Maxime Ripard | d4da2eb | 2012-11-14 20:17:04 +0100 | [diff] [blame] | 95 | memory { |
| 96 | reg = <0x40000000 0x20000000>; |
| 97 | }; |
Maxime Ripard | 9e2dcb2 | 2013-01-18 22:30:36 +0100 | [diff] [blame] | 98 | |
Maxime Ripard | 69144e3 | 2013-03-13 20:07:37 +0100 | [diff] [blame] | 99 | clocks { |
| 100 | #address-cells = <1>; |
| 101 | #size-cells = <1>; |
| 102 | ranges; |
| 103 | |
| 104 | /* |
| 105 | * This is a dummy clock, to be used as placeholder on |
| 106 | * other mux clocks when a specific parent clock is not |
| 107 | * yet implemented. It should be dropped when the driver |
| 108 | * is complete. |
| 109 | */ |
| 110 | dummy: dummy { |
| 111 | #clock-cells = <0>; |
| 112 | compatible = "fixed-clock"; |
| 113 | clock-frequency = <0>; |
| 114 | }; |
| 115 | |
Chen-Yu Tsai | 3dce832 | 2014-02-03 09:51:42 +0800 | [diff] [blame] | 116 | osc24M: clk@01c20050 { |
Maxime Ripard | 69144e3 | 2013-03-13 20:07:37 +0100 | [diff] [blame] | 117 | #clock-cells = <0>; |
Maxime Ripard | bf6534a | 2014-02-06 09:55:58 +0100 | [diff] [blame] | 118 | compatible = "allwinner,sun4i-a10-osc-clk"; |
Maxime Ripard | 69144e3 | 2013-03-13 20:07:37 +0100 | [diff] [blame] | 119 | reg = <0x01c20050 0x4>; |
Emilio López | 92fd6e0 | 2013-04-09 10:48:04 -0300 | [diff] [blame] | 120 | clock-frequency = <24000000>; |
Chen-Yu Tsai | 3dce832 | 2014-02-03 09:51:42 +0800 | [diff] [blame] | 121 | clock-output-names = "osc24M"; |
Maxime Ripard | 69144e3 | 2013-03-13 20:07:37 +0100 | [diff] [blame] | 122 | }; |
| 123 | |
Chen-Yu Tsai | 3dce832 | 2014-02-03 09:51:42 +0800 | [diff] [blame] | 124 | osc32k: clk@0 { |
Maxime Ripard | 69144e3 | 2013-03-13 20:07:37 +0100 | [diff] [blame] | 125 | #clock-cells = <0>; |
| 126 | compatible = "fixed-clock"; |
| 127 | clock-frequency = <32768>; |
Chen-Yu Tsai | 3dce832 | 2014-02-03 09:51:42 +0800 | [diff] [blame] | 128 | clock-output-names = "osc32k"; |
Maxime Ripard | 69144e3 | 2013-03-13 20:07:37 +0100 | [diff] [blame] | 129 | }; |
| 130 | |
Chen-Yu Tsai | 3dce832 | 2014-02-03 09:51:42 +0800 | [diff] [blame] | 131 | pll1: clk@01c20000 { |
Maxime Ripard | 69144e3 | 2013-03-13 20:07:37 +0100 | [diff] [blame] | 132 | #clock-cells = <0>; |
Maxime Ripard | bf6534a | 2014-02-06 09:55:58 +0100 | [diff] [blame] | 133 | compatible = "allwinner,sun4i-a10-pll1-clk"; |
Maxime Ripard | 69144e3 | 2013-03-13 20:07:37 +0100 | [diff] [blame] | 134 | reg = <0x01c20000 0x4>; |
| 135 | clocks = <&osc24M>; |
Chen-Yu Tsai | 3dce832 | 2014-02-03 09:51:42 +0800 | [diff] [blame] | 136 | clock-output-names = "pll1"; |
Maxime Ripard | 69144e3 | 2013-03-13 20:07:37 +0100 | [diff] [blame] | 137 | }; |
| 138 | |
Chen-Yu Tsai | 3dce832 | 2014-02-03 09:51:42 +0800 | [diff] [blame] | 139 | pll4: clk@01c20018 { |
Emilio López | ec5589f | 2013-12-23 00:32:35 -0300 | [diff] [blame] | 140 | #clock-cells = <0>; |
Maxime Ripard | bf6534a | 2014-02-06 09:55:58 +0100 | [diff] [blame] | 141 | compatible = "allwinner,sun4i-a10-pll1-clk"; |
Emilio López | ec5589f | 2013-12-23 00:32:35 -0300 | [diff] [blame] | 142 | reg = <0x01c20018 0x4>; |
| 143 | clocks = <&osc24M>; |
Chen-Yu Tsai | 3dce832 | 2014-02-03 09:51:42 +0800 | [diff] [blame] | 144 | clock-output-names = "pll4"; |
Emilio López | ec5589f | 2013-12-23 00:32:35 -0300 | [diff] [blame] | 145 | }; |
| 146 | |
Chen-Yu Tsai | 3dce832 | 2014-02-03 09:51:42 +0800 | [diff] [blame] | 147 | pll5: clk@01c20020 { |
Emilio López | c3e5e66 | 2013-12-23 00:32:38 -0300 | [diff] [blame] | 148 | #clock-cells = <1>; |
Maxime Ripard | bf6534a | 2014-02-06 09:55:58 +0100 | [diff] [blame] | 149 | compatible = "allwinner,sun4i-a10-pll5-clk"; |
Emilio López | c3e5e66 | 2013-12-23 00:32:38 -0300 | [diff] [blame] | 150 | reg = <0x01c20020 0x4>; |
| 151 | clocks = <&osc24M>; |
| 152 | clock-output-names = "pll5_ddr", "pll5_other"; |
| 153 | }; |
| 154 | |
Chen-Yu Tsai | 3dce832 | 2014-02-03 09:51:42 +0800 | [diff] [blame] | 155 | pll6: clk@01c20028 { |
Emilio López | c3e5e66 | 2013-12-23 00:32:38 -0300 | [diff] [blame] | 156 | #clock-cells = <1>; |
Maxime Ripard | bf6534a | 2014-02-06 09:55:58 +0100 | [diff] [blame] | 157 | compatible = "allwinner,sun4i-a10-pll6-clk"; |
Emilio López | c3e5e66 | 2013-12-23 00:32:38 -0300 | [diff] [blame] | 158 | reg = <0x01c20028 0x4>; |
| 159 | clocks = <&osc24M>; |
| 160 | clock-output-names = "pll6_sata", "pll6_other", "pll6"; |
| 161 | }; |
| 162 | |
Maxime Ripard | 69144e3 | 2013-03-13 20:07:37 +0100 | [diff] [blame] | 163 | /* dummy is 200M */ |
| 164 | cpu: cpu@01c20054 { |
| 165 | #clock-cells = <0>; |
Maxime Ripard | bf6534a | 2014-02-06 09:55:58 +0100 | [diff] [blame] | 166 | compatible = "allwinner,sun4i-a10-cpu-clk"; |
Maxime Ripard | 69144e3 | 2013-03-13 20:07:37 +0100 | [diff] [blame] | 167 | reg = <0x01c20054 0x4>; |
| 168 | clocks = <&osc32k>, <&osc24M>, <&pll1>, <&dummy>; |
Chen-Yu Tsai | 3dce832 | 2014-02-03 09:51:42 +0800 | [diff] [blame] | 169 | clock-output-names = "cpu"; |
Maxime Ripard | 69144e3 | 2013-03-13 20:07:37 +0100 | [diff] [blame] | 170 | }; |
| 171 | |
| 172 | axi: axi@01c20054 { |
| 173 | #clock-cells = <0>; |
Maxime Ripard | bf6534a | 2014-02-06 09:55:58 +0100 | [diff] [blame] | 174 | compatible = "allwinner,sun4i-a10-axi-clk"; |
Maxime Ripard | 69144e3 | 2013-03-13 20:07:37 +0100 | [diff] [blame] | 175 | reg = <0x01c20054 0x4>; |
| 176 | clocks = <&cpu>; |
Chen-Yu Tsai | 3dce832 | 2014-02-03 09:51:42 +0800 | [diff] [blame] | 177 | clock-output-names = "axi"; |
Maxime Ripard | 69144e3 | 2013-03-13 20:07:37 +0100 | [diff] [blame] | 178 | }; |
| 179 | |
Chen-Yu Tsai | 3dce832 | 2014-02-03 09:51:42 +0800 | [diff] [blame] | 180 | axi_gates: clk@01c2005c { |
Maxime Ripard | 69144e3 | 2013-03-13 20:07:37 +0100 | [diff] [blame] | 181 | #clock-cells = <1>; |
Maxime Ripard | bf6534a | 2014-02-06 09:55:58 +0100 | [diff] [blame] | 182 | compatible = "allwinner,sun4i-a10-axi-gates-clk"; |
Maxime Ripard | 69144e3 | 2013-03-13 20:07:37 +0100 | [diff] [blame] | 183 | reg = <0x01c2005c 0x4>; |
| 184 | clocks = <&axi>; |
| 185 | clock-output-names = "axi_dram"; |
| 186 | }; |
| 187 | |
| 188 | ahb: ahb@01c20054 { |
| 189 | #clock-cells = <0>; |
Maxime Ripard | bf6534a | 2014-02-06 09:55:58 +0100 | [diff] [blame] | 190 | compatible = "allwinner,sun4i-a10-ahb-clk"; |
Maxime Ripard | 69144e3 | 2013-03-13 20:07:37 +0100 | [diff] [blame] | 191 | reg = <0x01c20054 0x4>; |
| 192 | clocks = <&axi>; |
Chen-Yu Tsai | 3dce832 | 2014-02-03 09:51:42 +0800 | [diff] [blame] | 193 | clock-output-names = "ahb"; |
Maxime Ripard | 69144e3 | 2013-03-13 20:07:37 +0100 | [diff] [blame] | 194 | }; |
| 195 | |
Chen-Yu Tsai | 3dce832 | 2014-02-03 09:51:42 +0800 | [diff] [blame] | 196 | ahb_gates: clk@01c20060 { |
Maxime Ripard | 69144e3 | 2013-03-13 20:07:37 +0100 | [diff] [blame] | 197 | #clock-cells = <1>; |
Maxime Ripard | 70be4ee6 | 2013-04-19 22:14:41 +0200 | [diff] [blame] | 198 | compatible = "allwinner,sun5i-a13-ahb-gates-clk"; |
Maxime Ripard | 69144e3 | 2013-03-13 20:07:37 +0100 | [diff] [blame] | 199 | reg = <0x01c20060 0x8>; |
| 200 | clocks = <&ahb>; |
Maxime Ripard | 70be4ee6 | 2013-04-19 22:14:41 +0200 | [diff] [blame] | 201 | clock-output-names = "ahb_usbotg", "ahb_ehci", "ahb_ohci", |
| 202 | "ahb_ss", "ahb_dma", "ahb_bist", "ahb_mmc0", |
| 203 | "ahb_mmc1", "ahb_mmc2", "ahb_nand", "ahb_sdram", |
| 204 | "ahb_spi0", "ahb_spi1", "ahb_spi2", "ahb_stimer", |
| 205 | "ahb_ve", "ahb_lcd", "ahb_csi", "ahb_de_be", |
| 206 | "ahb_de_fe", "ahb_iep", "ahb_mali400"; |
Maxime Ripard | 69144e3 | 2013-03-13 20:07:37 +0100 | [diff] [blame] | 207 | }; |
| 208 | |
| 209 | apb0: apb0@01c20054 { |
| 210 | #clock-cells = <0>; |
Maxime Ripard | bf6534a | 2014-02-06 09:55:58 +0100 | [diff] [blame] | 211 | compatible = "allwinner,sun4i-a10-apb0-clk"; |
Maxime Ripard | 69144e3 | 2013-03-13 20:07:37 +0100 | [diff] [blame] | 212 | reg = <0x01c20054 0x4>; |
| 213 | clocks = <&ahb>; |
Chen-Yu Tsai | 3dce832 | 2014-02-03 09:51:42 +0800 | [diff] [blame] | 214 | clock-output-names = "apb0"; |
Maxime Ripard | 69144e3 | 2013-03-13 20:07:37 +0100 | [diff] [blame] | 215 | }; |
| 216 | |
Chen-Yu Tsai | 3dce832 | 2014-02-03 09:51:42 +0800 | [diff] [blame] | 217 | apb0_gates: clk@01c20068 { |
Maxime Ripard | 69144e3 | 2013-03-13 20:07:37 +0100 | [diff] [blame] | 218 | #clock-cells = <1>; |
Maxime Ripard | 70be4ee6 | 2013-04-19 22:14:41 +0200 | [diff] [blame] | 219 | compatible = "allwinner,sun5i-a13-apb0-gates-clk"; |
Maxime Ripard | 69144e3 | 2013-03-13 20:07:37 +0100 | [diff] [blame] | 220 | reg = <0x01c20068 0x4>; |
| 221 | clocks = <&apb0>; |
Maxime Ripard | 70be4ee6 | 2013-04-19 22:14:41 +0200 | [diff] [blame] | 222 | clock-output-names = "apb0_codec", "apb0_pio", "apb0_ir"; |
Maxime Ripard | 69144e3 | 2013-03-13 20:07:37 +0100 | [diff] [blame] | 223 | }; |
| 224 | |
Emilio López | acbcc0f | 2014-11-06 11:40:30 +0800 | [diff] [blame] | 225 | apb1: clk@01c20058 { |
Maxime Ripard | 69144e3 | 2013-03-13 20:07:37 +0100 | [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 | 69144e3 | 2013-03-13 20:07:37 +0100 | [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 | 3dce832 | 2014-02-03 09:51:42 +0800 | [diff] [blame] | 230 | clock-output-names = "apb1"; |
Maxime Ripard | 69144e3 | 2013-03-13 20:07:37 +0100 | [diff] [blame] | 231 | }; |
| 232 | |
Chen-Yu Tsai | 3dce832 | 2014-02-03 09:51:42 +0800 | [diff] [blame] | 233 | apb1_gates: clk@01c2006c { |
Maxime Ripard | 69144e3 | 2013-03-13 20:07:37 +0100 | [diff] [blame] | 234 | #clock-cells = <1>; |
Maxime Ripard | 70be4ee6 | 2013-04-19 22:14:41 +0200 | [diff] [blame] | 235 | compatible = "allwinner,sun5i-a13-apb1-gates-clk"; |
Maxime Ripard | 69144e3 | 2013-03-13 20:07:37 +0100 | [diff] [blame] | 236 | reg = <0x01c2006c 0x4>; |
| 237 | clocks = <&apb1>; |
| 238 | clock-output-names = "apb1_i2c0", "apb1_i2c1", |
Maxime Ripard | 70be4ee6 | 2013-04-19 22:14:41 +0200 | [diff] [blame] | 239 | "apb1_i2c2", "apb1_uart1", "apb1_uart3"; |
Maxime Ripard | 69144e3 | 2013-03-13 20:07:37 +0100 | [diff] [blame] | 240 | }; |
Emilio López | 8dc36bf | 2013-12-23 00:32:42 -0300 | [diff] [blame] | 241 | |
| 242 | nand_clk: clk@01c20080 { |
| 243 | #clock-cells = <0>; |
Maxime Ripard | bf6534a | 2014-02-06 09:55:58 +0100 | [diff] [blame] | 244 | compatible = "allwinner,sun4i-a10-mod0-clk"; |
Emilio López | 8dc36bf | 2013-12-23 00:32:42 -0300 | [diff] [blame] | 245 | reg = <0x01c20080 0x4>; |
| 246 | clocks = <&osc24M>, <&pll6 1>, <&pll5 1>; |
| 247 | clock-output-names = "nand"; |
| 248 | }; |
| 249 | |
| 250 | ms_clk: clk@01c20084 { |
| 251 | #clock-cells = <0>; |
Maxime Ripard | bf6534a | 2014-02-06 09:55:58 +0100 | [diff] [blame] | 252 | compatible = "allwinner,sun4i-a10-mod0-clk"; |
Emilio López | 8dc36bf | 2013-12-23 00:32:42 -0300 | [diff] [blame] | 253 | reg = <0x01c20084 0x4>; |
| 254 | clocks = <&osc24M>, <&pll6 1>, <&pll5 1>; |
| 255 | clock-output-names = "ms"; |
| 256 | }; |
| 257 | |
| 258 | mmc0_clk: clk@01c20088 { |
Maxime Ripard | d8c3a39 | 2014-07-11 19:39:06 +0200 | [diff] [blame] | 259 | #clock-cells = <1>; |
| 260 | compatible = "allwinner,sun4i-a10-mmc-clk"; |
Emilio López | 8dc36bf | 2013-12-23 00:32:42 -0300 | [diff] [blame] | 261 | reg = <0x01c20088 0x4>; |
| 262 | clocks = <&osc24M>, <&pll6 1>, <&pll5 1>; |
Maxime Ripard | d8c3a39 | 2014-07-11 19:39:06 +0200 | [diff] [blame] | 263 | clock-output-names = "mmc0", |
| 264 | "mmc0_output", |
| 265 | "mmc0_sample"; |
Emilio López | 8dc36bf | 2013-12-23 00:32:42 -0300 | [diff] [blame] | 266 | }; |
| 267 | |
| 268 | mmc1_clk: clk@01c2008c { |
Maxime Ripard | d8c3a39 | 2014-07-11 19:39:06 +0200 | [diff] [blame] | 269 | #clock-cells = <1>; |
| 270 | compatible = "allwinner,sun4i-a10-mmc-clk"; |
Emilio López | 8dc36bf | 2013-12-23 00:32:42 -0300 | [diff] [blame] | 271 | reg = <0x01c2008c 0x4>; |
| 272 | clocks = <&osc24M>, <&pll6 1>, <&pll5 1>; |
Maxime Ripard | d8c3a39 | 2014-07-11 19:39:06 +0200 | [diff] [blame] | 273 | clock-output-names = "mmc1", |
| 274 | "mmc1_output", |
| 275 | "mmc1_sample"; |
Emilio López | 8dc36bf | 2013-12-23 00:32:42 -0300 | [diff] [blame] | 276 | }; |
| 277 | |
| 278 | mmc2_clk: clk@01c20090 { |
Maxime Ripard | d8c3a39 | 2014-07-11 19:39:06 +0200 | [diff] [blame] | 279 | #clock-cells = <1>; |
| 280 | compatible = "allwinner,sun4i-a10-mmc-clk"; |
Emilio López | 8dc36bf | 2013-12-23 00:32:42 -0300 | [diff] [blame] | 281 | reg = <0x01c20090 0x4>; |
| 282 | clocks = <&osc24M>, <&pll6 1>, <&pll5 1>; |
Maxime Ripard | d8c3a39 | 2014-07-11 19:39:06 +0200 | [diff] [blame] | 283 | clock-output-names = "mmc2", |
| 284 | "mmc2_output", |
| 285 | "mmc2_sample"; |
Emilio López | 8dc36bf | 2013-12-23 00:32:42 -0300 | [diff] [blame] | 286 | }; |
| 287 | |
| 288 | ts_clk: clk@01c20098 { |
| 289 | #clock-cells = <0>; |
Maxime Ripard | bf6534a | 2014-02-06 09:55:58 +0100 | [diff] [blame] | 290 | compatible = "allwinner,sun4i-a10-mod0-clk"; |
Emilio López | 8dc36bf | 2013-12-23 00:32:42 -0300 | [diff] [blame] | 291 | reg = <0x01c20098 0x4>; |
| 292 | clocks = <&osc24M>, <&pll6 1>, <&pll5 1>; |
| 293 | clock-output-names = "ts"; |
| 294 | }; |
| 295 | |
| 296 | ss_clk: clk@01c2009c { |
| 297 | #clock-cells = <0>; |
Maxime Ripard | bf6534a | 2014-02-06 09:55:58 +0100 | [diff] [blame] | 298 | compatible = "allwinner,sun4i-a10-mod0-clk"; |
Emilio López | 8dc36bf | 2013-12-23 00:32:42 -0300 | [diff] [blame] | 299 | reg = <0x01c2009c 0x4>; |
| 300 | clocks = <&osc24M>, <&pll6 1>, <&pll5 1>; |
| 301 | clock-output-names = "ss"; |
| 302 | }; |
| 303 | |
| 304 | spi0_clk: clk@01c200a0 { |
| 305 | #clock-cells = <0>; |
Maxime Ripard | bf6534a | 2014-02-06 09:55:58 +0100 | [diff] [blame] | 306 | compatible = "allwinner,sun4i-a10-mod0-clk"; |
Emilio López | 8dc36bf | 2013-12-23 00:32:42 -0300 | [diff] [blame] | 307 | reg = <0x01c200a0 0x4>; |
| 308 | clocks = <&osc24M>, <&pll6 1>, <&pll5 1>; |
| 309 | clock-output-names = "spi0"; |
| 310 | }; |
| 311 | |
| 312 | spi1_clk: clk@01c200a4 { |
| 313 | #clock-cells = <0>; |
Maxime Ripard | bf6534a | 2014-02-06 09:55:58 +0100 | [diff] [blame] | 314 | compatible = "allwinner,sun4i-a10-mod0-clk"; |
Emilio López | 8dc36bf | 2013-12-23 00:32:42 -0300 | [diff] [blame] | 315 | reg = <0x01c200a4 0x4>; |
| 316 | clocks = <&osc24M>, <&pll6 1>, <&pll5 1>; |
| 317 | clock-output-names = "spi1"; |
| 318 | }; |
| 319 | |
| 320 | spi2_clk: clk@01c200a8 { |
| 321 | #clock-cells = <0>; |
Maxime Ripard | bf6534a | 2014-02-06 09:55:58 +0100 | [diff] [blame] | 322 | compatible = "allwinner,sun4i-a10-mod0-clk"; |
Emilio López | 8dc36bf | 2013-12-23 00:32:42 -0300 | [diff] [blame] | 323 | reg = <0x01c200a8 0x4>; |
| 324 | clocks = <&osc24M>, <&pll6 1>, <&pll5 1>; |
| 325 | clock-output-names = "spi2"; |
| 326 | }; |
| 327 | |
| 328 | ir0_clk: clk@01c200b0 { |
| 329 | #clock-cells = <0>; |
Maxime Ripard | bf6534a | 2014-02-06 09:55:58 +0100 | [diff] [blame] | 330 | compatible = "allwinner,sun4i-a10-mod0-clk"; |
Emilio López | 8dc36bf | 2013-12-23 00:32:42 -0300 | [diff] [blame] | 331 | reg = <0x01c200b0 0x4>; |
| 332 | clocks = <&osc24M>, <&pll6 1>, <&pll5 1>; |
| 333 | clock-output-names = "ir0"; |
| 334 | }; |
Emilio López | 118c07a | 2013-12-23 00:32:44 -0300 | [diff] [blame] | 335 | |
Roman Byshko | 4c5d72f | 2014-02-07 16:21:52 +0100 | [diff] [blame] | 336 | usb_clk: clk@01c200cc { |
| 337 | #clock-cells = <1>; |
| 338 | #reset-cells = <1>; |
| 339 | compatible = "allwinner,sun5i-a13-usb-clk"; |
| 340 | reg = <0x01c200cc 0x4>; |
| 341 | clocks = <&pll6 1>; |
| 342 | clock-output-names = "usb_ohci0", "usb_phy"; |
| 343 | }; |
| 344 | |
Emilio López | 118c07a | 2013-12-23 00:32:44 -0300 | [diff] [blame] | 345 | mbus_clk: clk@01c2015c { |
| 346 | #clock-cells = <0>; |
Maxime Ripard | 7868c5e | 2014-07-16 23:45:48 +0200 | [diff] [blame] | 347 | compatible = "allwinner,sun5i-a13-mbus-clk"; |
Emilio López | 118c07a | 2013-12-23 00:32:44 -0300 | [diff] [blame] | 348 | reg = <0x01c2015c 0x4>; |
| 349 | clocks = <&osc24M>, <&pll6 1>, <&pll5 1>; |
| 350 | clock-output-names = "mbus"; |
| 351 | }; |
Maxime Ripard | 69144e3 | 2013-03-13 20:07:37 +0100 | [diff] [blame] | 352 | }; |
| 353 | |
Maxime Ripard | 278fe8b | 2013-08-03 16:07:36 +0200 | [diff] [blame] | 354 | soc@01c00000 { |
Maxime Ripard | 69144e3 | 2013-03-13 20:07:37 +0100 | [diff] [blame] | 355 | compatible = "simple-bus"; |
| 356 | #address-cells = <1>; |
| 357 | #size-cells = <1>; |
Maxime Ripard | 69144e3 | 2013-03-13 20:07:37 +0100 | [diff] [blame] | 358 | ranges; |
| 359 | |
Emilio López | 6a5775e | 2014-08-04 17:09:58 -0300 | [diff] [blame] | 360 | dma: dma-controller@01c02000 { |
| 361 | compatible = "allwinner,sun4i-a10-dma"; |
| 362 | reg = <0x01c02000 0x1000>; |
| 363 | interrupts = <27>; |
| 364 | clocks = <&ahb_gates 6>; |
| 365 | #dma-cells = <2>; |
| 366 | }; |
| 367 | |
Maxime Ripard | 8f8658b | 2014-02-22 22:35:57 +0100 | [diff] [blame] | 368 | spi0: spi@01c05000 { |
| 369 | compatible = "allwinner,sun4i-a10-spi"; |
| 370 | reg = <0x01c05000 0x1000>; |
| 371 | interrupts = <10>; |
| 372 | clocks = <&ahb_gates 20>, <&spi0_clk>; |
| 373 | clock-names = "ahb", "mod"; |
Maxime Ripard | 1f9f6a7 | 2014-12-16 22:59:56 +0100 | [diff] [blame] | 374 | dmas = <&dma SUN4I_DMA_DEDICATED 27>, |
| 375 | <&dma SUN4I_DMA_DEDICATED 26>; |
Emilio López | fed4c5c | 2014-08-04 17:10:01 -0300 | [diff] [blame] | 376 | dma-names = "rx", "tx"; |
Maxime Ripard | 8f8658b | 2014-02-22 22:35:57 +0100 | [diff] [blame] | 377 | status = "disabled"; |
| 378 | #address-cells = <1>; |
| 379 | #size-cells = <0>; |
| 380 | }; |
| 381 | |
| 382 | spi1: spi@01c06000 { |
| 383 | compatible = "allwinner,sun4i-a10-spi"; |
| 384 | reg = <0x01c06000 0x1000>; |
| 385 | interrupts = <11>; |
| 386 | clocks = <&ahb_gates 21>, <&spi1_clk>; |
| 387 | clock-names = "ahb", "mod"; |
Maxime Ripard | 1f9f6a7 | 2014-12-16 22:59:56 +0100 | [diff] [blame] | 388 | dmas = <&dma SUN4I_DMA_DEDICATED 9>, |
| 389 | <&dma SUN4I_DMA_DEDICATED 8>; |
Emilio López | fed4c5c | 2014-08-04 17:10:01 -0300 | [diff] [blame] | 390 | dma-names = "rx", "tx"; |
Maxime Ripard | 8f8658b | 2014-02-22 22:35:57 +0100 | [diff] [blame] | 391 | status = "disabled"; |
| 392 | #address-cells = <1>; |
| 393 | #size-cells = <0>; |
| 394 | }; |
| 395 | |
David Lanzendörfer | d3aed1d | 2014-05-02 17:57:21 +0200 | [diff] [blame] | 396 | mmc0: mmc@01c0f000 { |
| 397 | compatible = "allwinner,sun5i-a13-mmc"; |
| 398 | reg = <0x01c0f000 0x1000>; |
Maxime Ripard | d8c3a39 | 2014-07-11 19:39:06 +0200 | [diff] [blame] | 399 | clocks = <&ahb_gates 8>, |
| 400 | <&mmc0_clk 0>, |
| 401 | <&mmc0_clk 1>, |
| 402 | <&mmc0_clk 2>; |
| 403 | clock-names = "ahb", |
| 404 | "mmc", |
| 405 | "output", |
| 406 | "sample"; |
David Lanzendörfer | d3aed1d | 2014-05-02 17:57:21 +0200 | [diff] [blame] | 407 | interrupts = <32>; |
| 408 | status = "disabled"; |
| 409 | }; |
| 410 | |
| 411 | mmc2: mmc@01c11000 { |
| 412 | compatible = "allwinner,sun5i-a13-mmc"; |
| 413 | reg = <0x01c11000 0x1000>; |
Maxime Ripard | d8c3a39 | 2014-07-11 19:39:06 +0200 | [diff] [blame] | 414 | clocks = <&ahb_gates 10>, |
| 415 | <&mmc2_clk 0>, |
| 416 | <&mmc2_clk 1>, |
| 417 | <&mmc2_clk 2>; |
| 418 | clock-names = "ahb", |
| 419 | "mmc", |
| 420 | "output", |
| 421 | "sample"; |
David Lanzendörfer | d3aed1d | 2014-05-02 17:57:21 +0200 | [diff] [blame] | 422 | interrupts = <34>; |
| 423 | status = "disabled"; |
| 424 | }; |
| 425 | |
Roman Byshko | 06c7d52 | 2014-03-01 20:26:24 +0100 | [diff] [blame] | 426 | usbphy: phy@01c13400 { |
| 427 | #phy-cells = <1>; |
| 428 | compatible = "allwinner,sun5i-a13-usb-phy"; |
| 429 | reg = <0x01c13400 0x10 0x01c14800 0x4>; |
| 430 | reg-names = "phy_ctrl", "pmu1"; |
| 431 | clocks = <&usb_clk 8>; |
| 432 | clock-names = "usb_phy"; |
Chen-Yu Tsai | 4dba418 | 2014-12-18 19:10:35 +0800 | [diff] [blame] | 433 | resets = <&usb_clk 0>, <&usb_clk 1>; |
| 434 | reset-names = "usb0_reset", "usb1_reset"; |
Roman Byshko | 06c7d52 | 2014-03-01 20:26:24 +0100 | [diff] [blame] | 435 | status = "disabled"; |
| 436 | }; |
| 437 | |
| 438 | ehci0: usb@01c14000 { |
| 439 | compatible = "allwinner,sun5i-a13-ehci", "generic-ehci"; |
| 440 | reg = <0x01c14000 0x100>; |
| 441 | interrupts = <39>; |
| 442 | clocks = <&ahb_gates 1>; |
| 443 | phys = <&usbphy 1>; |
| 444 | phy-names = "usb"; |
| 445 | status = "disabled"; |
| 446 | }; |
| 447 | |
| 448 | ohci0: usb@01c14400 { |
| 449 | compatible = "allwinner,sun5i-a13-ohci", "generic-ohci"; |
| 450 | reg = <0x01c14400 0x100>; |
| 451 | interrupts = <40>; |
| 452 | clocks = <&usb_clk 6>, <&ahb_gates 2>; |
| 453 | phys = <&usbphy 1>; |
| 454 | phy-names = "usb"; |
| 455 | status = "disabled"; |
| 456 | }; |
| 457 | |
Maxime Ripard | 8f8658b | 2014-02-22 22:35:57 +0100 | [diff] [blame] | 458 | spi2: spi@01c17000 { |
| 459 | compatible = "allwinner,sun4i-a10-spi"; |
| 460 | reg = <0x01c17000 0x1000>; |
| 461 | interrupts = <12>; |
| 462 | clocks = <&ahb_gates 22>, <&spi2_clk>; |
| 463 | clock-names = "ahb", "mod"; |
Maxime Ripard | 1f9f6a7 | 2014-12-16 22:59:56 +0100 | [diff] [blame] | 464 | dmas = <&dma SUN4I_DMA_DEDICATED 29>, |
| 465 | <&dma SUN4I_DMA_DEDICATED 28>; |
Emilio López | fed4c5c | 2014-08-04 17:10:01 -0300 | [diff] [blame] | 466 | dma-names = "rx", "tx"; |
Maxime Ripard | 8f8658b | 2014-02-22 22:35:57 +0100 | [diff] [blame] | 467 | status = "disabled"; |
| 468 | #address-cells = <1>; |
| 469 | #size-cells = <0>; |
| 470 | }; |
| 471 | |
Maxime Ripard | 69144e3 | 2013-03-13 20:07:37 +0100 | [diff] [blame] | 472 | intc: interrupt-controller@01c20400 { |
Maxime Ripard | 09504a7 | 2014-02-07 21:50:26 +0100 | [diff] [blame] | 473 | compatible = "allwinner,sun4i-a10-ic"; |
Maxime Ripard | 69144e3 | 2013-03-13 20:07:37 +0100 | [diff] [blame] | 474 | reg = <0x01c20400 0x400>; |
| 475 | interrupt-controller; |
| 476 | #interrupt-cells = <1>; |
| 477 | }; |
| 478 | |
Maxime Ripard | e10911e | 2013-01-27 19:26:05 +0100 | [diff] [blame] | 479 | pio: pinctrl@01c20800 { |
Maxime Ripard | 9e2dcb2 | 2013-01-18 22:30:36 +0100 | [diff] [blame] | 480 | compatible = "allwinner,sun5i-a13-pinctrl"; |
| 481 | reg = <0x01c20800 0x400>; |
Maxime Ripard | 39138bc | 2013-04-06 15:00:48 +0200 | [diff] [blame] | 482 | interrupts = <28>; |
Emilio López | 36386d6 | 2013-03-27 18:20:41 -0300 | [diff] [blame] | 483 | clocks = <&apb0_gates 5>; |
Maxime Ripard | e10911e | 2013-01-27 19:26:05 +0100 | [diff] [blame] | 484 | gpio-controller; |
Maxime Ripard | 39138bc | 2013-04-06 15:00:48 +0200 | [diff] [blame] | 485 | interrupt-controller; |
Chen-Yu Tsai | 7d4ff96 | 2014-06-30 23:57:51 +0200 | [diff] [blame] | 486 | #interrupt-cells = <2>; |
Maxime Ripard | 9e2dcb2 | 2013-01-18 22:30:36 +0100 | [diff] [blame] | 487 | #size-cells = <0>; |
Maxime Ripard | e10911e | 2013-01-27 19:26:05 +0100 | [diff] [blame] | 488 | #gpio-cells = <3>; |
Maxime Ripard | 4348cc6 | 2013-01-18 22:30:37 +0100 | [diff] [blame] | 489 | |
| 490 | uart1_pins_a: uart1@0 { |
| 491 | allwinner,pins = "PE10", "PE11"; |
| 492 | allwinner,function = "uart1"; |
Maxime Ripard | 092a0c3 | 2014-12-16 22:59:57 +0100 | [diff] [blame] | 493 | allwinner,drive = <SUN4I_PINCTRL_10_MA>; |
| 494 | allwinner,pull = <SUN4I_PINCTRL_NO_PULL>; |
Maxime Ripard | 4348cc6 | 2013-01-18 22:30:37 +0100 | [diff] [blame] | 495 | }; |
| 496 | |
| 497 | uart1_pins_b: uart1@1 { |
| 498 | allwinner,pins = "PG3", "PG4"; |
| 499 | allwinner,function = "uart1"; |
Maxime Ripard | 092a0c3 | 2014-12-16 22:59:57 +0100 | [diff] [blame] | 500 | allwinner,drive = <SUN4I_PINCTRL_10_MA>; |
| 501 | allwinner,pull = <SUN4I_PINCTRL_NO_PULL>; |
Maxime Ripard | 4348cc6 | 2013-01-18 22:30:37 +0100 | [diff] [blame] | 502 | }; |
Maxime Ripard | b4d7c23 | 2013-03-10 13:36:02 +0100 | [diff] [blame] | 503 | |
| 504 | i2c0_pins_a: i2c0@0 { |
| 505 | allwinner,pins = "PB0", "PB1"; |
| 506 | allwinner,function = "i2c0"; |
Maxime Ripard | 092a0c3 | 2014-12-16 22:59:57 +0100 | [diff] [blame] | 507 | allwinner,drive = <SUN4I_PINCTRL_10_MA>; |
| 508 | allwinner,pull = <SUN4I_PINCTRL_NO_PULL>; |
Maxime Ripard | b4d7c23 | 2013-03-10 13:36:02 +0100 | [diff] [blame] | 509 | }; |
| 510 | |
| 511 | i2c1_pins_a: i2c1@0 { |
| 512 | allwinner,pins = "PB15", "PB16"; |
| 513 | allwinner,function = "i2c1"; |
Maxime Ripard | 092a0c3 | 2014-12-16 22:59:57 +0100 | [diff] [blame] | 514 | allwinner,drive = <SUN4I_PINCTRL_10_MA>; |
| 515 | allwinner,pull = <SUN4I_PINCTRL_NO_PULL>; |
Maxime Ripard | b4d7c23 | 2013-03-10 13:36:02 +0100 | [diff] [blame] | 516 | }; |
| 517 | |
| 518 | i2c2_pins_a: i2c2@0 { |
| 519 | allwinner,pins = "PB17", "PB18"; |
| 520 | allwinner,function = "i2c2"; |
Maxime Ripard | 092a0c3 | 2014-12-16 22:59:57 +0100 | [diff] [blame] | 521 | allwinner,drive = <SUN4I_PINCTRL_10_MA>; |
| 522 | allwinner,pull = <SUN4I_PINCTRL_NO_PULL>; |
Maxime Ripard | b4d7c23 | 2013-03-10 13:36:02 +0100 | [diff] [blame] | 523 | }; |
Hans de Goede | 6da50f1 | 2014-04-26 12:16:12 +0200 | [diff] [blame] | 524 | |
| 525 | mmc0_pins_a: mmc0@0 { |
| 526 | allwinner,pins = "PF0","PF1","PF2","PF3","PF4","PF5"; |
| 527 | allwinner,function = "mmc0"; |
Maxime Ripard | 092a0c3 | 2014-12-16 22:59:57 +0100 | [diff] [blame] | 528 | allwinner,drive = <SUN4I_PINCTRL_30_MA>; |
| 529 | allwinner,pull = <SUN4I_PINCTRL_NO_PULL>; |
Hans de Goede | 6da50f1 | 2014-04-26 12:16:12 +0200 | [diff] [blame] | 530 | }; |
Maxime Ripard | 9e2dcb2 | 2013-01-18 22:30:36 +0100 | [diff] [blame] | 531 | }; |
Maxime Ripard | 69144e3 | 2013-03-13 20:07:37 +0100 | [diff] [blame] | 532 | |
| 533 | timer@01c20c00 { |
Maxime Ripard | b4f2644 | 2014-02-06 10:40:32 +0100 | [diff] [blame] | 534 | compatible = "allwinner,sun4i-a10-timer"; |
Maxime Ripard | 69144e3 | 2013-03-13 20:07:37 +0100 | [diff] [blame] | 535 | reg = <0x01c20c00 0x90>; |
| 536 | interrupts = <22>; |
| 537 | clocks = <&osc24M>; |
| 538 | }; |
| 539 | |
| 540 | wdt: watchdog@01c20c90 { |
Maxime Ripard | ca5d04d | 2014-02-07 22:29:26 +0100 | [diff] [blame] | 541 | compatible = "allwinner,sun4i-a10-wdt"; |
Maxime Ripard | 69144e3 | 2013-03-13 20:07:37 +0100 | [diff] [blame] | 542 | reg = <0x01c20c90 0x10>; |
| 543 | }; |
| 544 | |
Hans de Goede | ec011af5 | 2014-12-23 11:13:21 +0100 | [diff] [blame] | 545 | lradc: lradc@01c22800 { |
| 546 | compatible = "allwinner,sun4i-a10-lradc-keys"; |
| 547 | reg = <0x01c22800 0x100>; |
| 548 | interrupts = <31>; |
| 549 | status = "disabled"; |
| 550 | }; |
| 551 | |
Oliver Schinagl | 2bad969 | 2013-09-03 12:33:28 +0200 | [diff] [blame] | 552 | sid: eeprom@01c23800 { |
Maxime Ripard | 043d56e | 2014-02-07 22:20:40 +0100 | [diff] [blame] | 553 | compatible = "allwinner,sun4i-a10-sid"; |
Oliver Schinagl | 2bad969 | 2013-09-03 12:33:28 +0200 | [diff] [blame] | 554 | reg = <0x01c23800 0x10>; |
| 555 | }; |
| 556 | |
Hans de Goede | f65c93a | 2013-12-31 17:20:51 +0100 | [diff] [blame] | 557 | rtp: rtp@01c25000 { |
Maxime Ripard | 40dd8f3 | 2014-02-02 14:52:40 +0100 | [diff] [blame] | 558 | compatible = "allwinner,sun4i-a10-ts"; |
Hans de Goede | f65c93a | 2013-12-31 17:20:51 +0100 | [diff] [blame] | 559 | reg = <0x01c25000 0x100>; |
| 560 | interrupts = <29>; |
Chen-Yu Tsai | 41e7afb | 2015-01-06 10:35:15 +0800 | [diff] [blame] | 561 | #thermal-sensor-cells = <0>; |
Hans de Goede | f65c93a | 2013-12-31 17:20:51 +0100 | [diff] [blame] | 562 | }; |
| 563 | |
Maxime Ripard | 69144e3 | 2013-03-13 20:07:37 +0100 | [diff] [blame] | 564 | uart1: serial@01c28400 { |
| 565 | compatible = "snps,dw-apb-uart"; |
| 566 | reg = <0x01c28400 0x400>; |
| 567 | interrupts = <2>; |
| 568 | reg-shift = <2>; |
| 569 | reg-io-width = <4>; |
| 570 | clocks = <&apb1_gates 17>; |
| 571 | status = "disabled"; |
| 572 | }; |
| 573 | |
| 574 | uart3: serial@01c28c00 { |
| 575 | compatible = "snps,dw-apb-uart"; |
| 576 | reg = <0x01c28c00 0x400>; |
| 577 | interrupts = <4>; |
| 578 | reg-shift = <2>; |
| 579 | reg-io-width = <4>; |
| 580 | clocks = <&apb1_gates 19>; |
| 581 | status = "disabled"; |
| 582 | }; |
Maxime Ripard | f1741fd | 2013-03-10 13:34:36 +0100 | [diff] [blame] | 583 | |
| 584 | i2c0: i2c@01c2ac00 { |
Maxime Ripard | d275545 | 2014-03-31 14:54:58 +0200 | [diff] [blame] | 585 | compatible = "allwinner,sun5i-a13-i2c", "allwinner,sun4i-a10-i2c"; |
Maxime Ripard | f1741fd | 2013-03-10 13:34:36 +0100 | [diff] [blame] | 586 | reg = <0x01c2ac00 0x400>; |
| 587 | interrupts = <7>; |
| 588 | clocks = <&apb1_gates 0>; |
Maxime Ripard | f1741fd | 2013-03-10 13:34:36 +0100 | [diff] [blame] | 589 | status = "disabled"; |
Hans de Goede | a470342 | 2014-04-13 13:41:04 +0200 | [diff] [blame] | 590 | #address-cells = <1>; |
| 591 | #size-cells = <0>; |
Maxime Ripard | f1741fd | 2013-03-10 13:34:36 +0100 | [diff] [blame] | 592 | }; |
| 593 | |
| 594 | i2c1: i2c@01c2b000 { |
Maxime Ripard | d275545 | 2014-03-31 14:54:58 +0200 | [diff] [blame] | 595 | compatible = "allwinner,sun5i-a13-i2c", "allwinner,sun4i-a10-i2c"; |
Maxime Ripard | f1741fd | 2013-03-10 13:34:36 +0100 | [diff] [blame] | 596 | reg = <0x01c2b000 0x400>; |
| 597 | interrupts = <8>; |
| 598 | clocks = <&apb1_gates 1>; |
Maxime Ripard | f1741fd | 2013-03-10 13:34:36 +0100 | [diff] [blame] | 599 | status = "disabled"; |
Hans de Goede | a470342 | 2014-04-13 13:41:04 +0200 | [diff] [blame] | 600 | #address-cells = <1>; |
| 601 | #size-cells = <0>; |
Maxime Ripard | f1741fd | 2013-03-10 13:34:36 +0100 | [diff] [blame] | 602 | }; |
| 603 | |
| 604 | i2c2: i2c@01c2b400 { |
Maxime Ripard | d275545 | 2014-03-31 14:54:58 +0200 | [diff] [blame] | 605 | compatible = "allwinner,sun5i-a13-i2c", "allwinner,sun4i-a10-i2c"; |
Maxime Ripard | f1741fd | 2013-03-10 13:34:36 +0100 | [diff] [blame] | 606 | reg = <0x01c2b400 0x400>; |
| 607 | interrupts = <9>; |
| 608 | clocks = <&apb1_gates 2>; |
Maxime Ripard | f1741fd | 2013-03-10 13:34:36 +0100 | [diff] [blame] | 609 | status = "disabled"; |
Hans de Goede | a470342 | 2014-04-13 13:41:04 +0200 | [diff] [blame] | 610 | #address-cells = <1>; |
| 611 | #size-cells = <0>; |
Maxime Ripard | f1741fd | 2013-03-10 13:34:36 +0100 | [diff] [blame] | 612 | }; |
Maxime Ripard | 4411902 | 2013-11-07 12:01:48 +0100 | [diff] [blame] | 613 | |
| 614 | timer@01c60000 { |
| 615 | compatible = "allwinner,sun5i-a13-hstimer"; |
| 616 | reg = <0x01c60000 0x1000>; |
| 617 | interrupts = <82>, <83>; |
| 618 | clocks = <&ahb_gates 28>; |
| 619 | }; |
Maxime Ripard | 9e2dcb2 | 2013-01-18 22:30:36 +0100 | [diff] [blame] | 620 | }; |
Maxime Ripard | d4da2eb | 2012-11-14 20:17:04 +0100 | [diff] [blame] | 621 | }; |