Maxime Ripard | 8aed3b3 | 2013-03-10 16:09:06 +0100 | [diff] [blame] | 1 | /* |
| 2 | * Copyright 2013 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 | |
| 14 | /include/ "skeleton.dtsi" |
| 15 | |
| 16 | / { |
| 17 | interrupt-parent = <&gic>; |
| 18 | |
Maxime Ripard | 54428d4 | 2014-01-02 22:05:04 +0100 | [diff] [blame] | 19 | aliases { |
| 20 | serial0 = &uart0; |
| 21 | serial1 = &uart1; |
| 22 | serial2 = &uart2; |
| 23 | serial3 = &uart3; |
| 24 | serial4 = &uart4; |
| 25 | serial5 = &uart5; |
| 26 | }; |
| 27 | |
| 28 | |
Maxime Ripard | 8aed3b3 | 2013-03-10 16:09:06 +0100 | [diff] [blame] | 29 | cpus { |
Maxime Ripard | ce78e35 | 2014-04-18 21:01:52 +0200 | [diff] [blame] | 30 | enable-method = "allwinner,sun6i-a31"; |
Maxime Ripard | 8aed3b3 | 2013-03-10 16:09:06 +0100 | [diff] [blame] | 31 | #address-cells = <1>; |
| 32 | #size-cells = <0>; |
| 33 | |
| 34 | cpu@0 { |
| 35 | compatible = "arm,cortex-a7"; |
| 36 | device_type = "cpu"; |
| 37 | reg = <0>; |
| 38 | }; |
| 39 | |
| 40 | cpu@1 { |
| 41 | compatible = "arm,cortex-a7"; |
| 42 | device_type = "cpu"; |
| 43 | reg = <1>; |
| 44 | }; |
| 45 | |
| 46 | cpu@2 { |
| 47 | compatible = "arm,cortex-a7"; |
| 48 | device_type = "cpu"; |
| 49 | reg = <2>; |
| 50 | }; |
| 51 | |
| 52 | cpu@3 { |
| 53 | compatible = "arm,cortex-a7"; |
| 54 | device_type = "cpu"; |
| 55 | reg = <3>; |
| 56 | }; |
| 57 | }; |
| 58 | |
| 59 | memory { |
| 60 | reg = <0x40000000 0x80000000>; |
| 61 | }; |
| 62 | |
Maxime Ripard | b5a10b7 | 2014-04-17 21:54:41 +0200 | [diff] [blame] | 63 | pmu { |
| 64 | compatible = "arm,cortex-a7-pmu", "arm,cortex-a15-pmu"; |
| 65 | interrupts = <0 120 4>, |
| 66 | <0 121 4>, |
| 67 | <0 122 4>, |
| 68 | <0 123 4>; |
| 69 | }; |
| 70 | |
Maxime Ripard | 8aed3b3 | 2013-03-10 16:09:06 +0100 | [diff] [blame] | 71 | clocks { |
| 72 | #address-cells = <1>; |
Maxime Ripard | 9809656 | 2013-07-23 23:54:19 +0200 | [diff] [blame] | 73 | #size-cells = <1>; |
| 74 | ranges; |
Maxime Ripard | 8aed3b3 | 2013-03-10 16:09:06 +0100 | [diff] [blame] | 75 | |
Maxime Ripard | 9809656 | 2013-07-23 23:54:19 +0200 | [diff] [blame] | 76 | osc24M: osc24M { |
Maxime Ripard | 8aed3b3 | 2013-03-10 16:09:06 +0100 | [diff] [blame] | 77 | #clock-cells = <0>; |
| 78 | compatible = "fixed-clock"; |
| 79 | clock-frequency = <24000000>; |
| 80 | }; |
Maxime Ripard | 9809656 | 2013-07-23 23:54:19 +0200 | [diff] [blame] | 81 | |
Chen-Yu Tsai | 7b5b290 | 2014-02-03 09:51:43 +0800 | [diff] [blame] | 82 | osc32k: clk@0 { |
Maxime Ripard | 9809656 | 2013-07-23 23:54:19 +0200 | [diff] [blame] | 83 | #clock-cells = <0>; |
| 84 | compatible = "fixed-clock"; |
| 85 | clock-frequency = <32768>; |
Chen-Yu Tsai | 7b5b290 | 2014-02-03 09:51:43 +0800 | [diff] [blame] | 86 | clock-output-names = "osc32k"; |
Maxime Ripard | 9809656 | 2013-07-23 23:54:19 +0200 | [diff] [blame] | 87 | }; |
| 88 | |
Chen-Yu Tsai | 7b5b290 | 2014-02-03 09:51:43 +0800 | [diff] [blame] | 89 | pll1: clk@01c20000 { |
Maxime Ripard | 9809656 | 2013-07-23 23:54:19 +0200 | [diff] [blame] | 90 | #clock-cells = <0>; |
| 91 | compatible = "allwinner,sun6i-a31-pll1-clk"; |
| 92 | reg = <0x01c20000 0x4>; |
| 93 | clocks = <&osc24M>; |
Chen-Yu Tsai | 7b5b290 | 2014-02-03 09:51:43 +0800 | [diff] [blame] | 94 | clock-output-names = "pll1"; |
Maxime Ripard | 9809656 | 2013-07-23 23:54:19 +0200 | [diff] [blame] | 95 | }; |
| 96 | |
Maxime Ripard | b0a09c7 | 2014-02-05 14:05:04 +0100 | [diff] [blame] | 97 | pll6: clk@01c20028 { |
Maxime Ripard | 9809656 | 2013-07-23 23:54:19 +0200 | [diff] [blame] | 98 | #clock-cells = <0>; |
Maxime Ripard | b0a09c7 | 2014-02-05 14:05:04 +0100 | [diff] [blame] | 99 | compatible = "allwinner,sun6i-a31-pll6-clk"; |
| 100 | reg = <0x01c20028 0x4>; |
| 101 | clocks = <&osc24M>; |
| 102 | clock-output-names = "pll6"; |
Maxime Ripard | 9809656 | 2013-07-23 23:54:19 +0200 | [diff] [blame] | 103 | }; |
| 104 | |
| 105 | cpu: cpu@01c20050 { |
| 106 | #clock-cells = <0>; |
Maxime Ripard | bf6534a | 2014-02-06 09:55:58 +0100 | [diff] [blame] | 107 | compatible = "allwinner,sun4i-a10-cpu-clk"; |
Maxime Ripard | 9809656 | 2013-07-23 23:54:19 +0200 | [diff] [blame] | 108 | reg = <0x01c20050 0x4>; |
| 109 | |
| 110 | /* |
| 111 | * PLL1 is listed twice here. |
| 112 | * While it looks suspicious, it's actually documented |
| 113 | * that way both in the datasheet and in the code from |
| 114 | * Allwinner. |
| 115 | */ |
| 116 | clocks = <&osc32k>, <&osc24M>, <&pll1>, <&pll1>; |
Chen-Yu Tsai | 7b5b290 | 2014-02-03 09:51:43 +0800 | [diff] [blame] | 117 | clock-output-names = "cpu"; |
Maxime Ripard | 9809656 | 2013-07-23 23:54:19 +0200 | [diff] [blame] | 118 | }; |
| 119 | |
| 120 | axi: axi@01c20050 { |
| 121 | #clock-cells = <0>; |
Maxime Ripard | bf6534a | 2014-02-06 09:55:58 +0100 | [diff] [blame] | 122 | compatible = "allwinner,sun4i-a10-axi-clk"; |
Maxime Ripard | 9809656 | 2013-07-23 23:54:19 +0200 | [diff] [blame] | 123 | reg = <0x01c20050 0x4>; |
| 124 | clocks = <&cpu>; |
Chen-Yu Tsai | 7b5b290 | 2014-02-03 09:51:43 +0800 | [diff] [blame] | 125 | clock-output-names = "axi"; |
Maxime Ripard | 9809656 | 2013-07-23 23:54:19 +0200 | [diff] [blame] | 126 | }; |
| 127 | |
| 128 | ahb1_mux: ahb1_mux@01c20054 { |
| 129 | #clock-cells = <0>; |
| 130 | compatible = "allwinner,sun6i-a31-ahb1-mux-clk"; |
| 131 | reg = <0x01c20054 0x4>; |
| 132 | clocks = <&osc32k>, <&osc24M>, <&axi>, <&pll6>; |
Chen-Yu Tsai | 7b5b290 | 2014-02-03 09:51:43 +0800 | [diff] [blame] | 133 | clock-output-names = "ahb1_mux"; |
Maxime Ripard | 9809656 | 2013-07-23 23:54:19 +0200 | [diff] [blame] | 134 | }; |
| 135 | |
| 136 | ahb1: ahb1@01c20054 { |
| 137 | #clock-cells = <0>; |
Maxime Ripard | bf6534a | 2014-02-06 09:55:58 +0100 | [diff] [blame] | 138 | compatible = "allwinner,sun4i-a10-ahb-clk"; |
Maxime Ripard | 9809656 | 2013-07-23 23:54:19 +0200 | [diff] [blame] | 139 | reg = <0x01c20054 0x4>; |
| 140 | clocks = <&ahb1_mux>; |
Chen-Yu Tsai | 7b5b290 | 2014-02-03 09:51:43 +0800 | [diff] [blame] | 141 | clock-output-names = "ahb1"; |
Maxime Ripard | 9809656 | 2013-07-23 23:54:19 +0200 | [diff] [blame] | 142 | }; |
| 143 | |
Chen-Yu Tsai | 7b5b290 | 2014-02-03 09:51:43 +0800 | [diff] [blame] | 144 | ahb1_gates: clk@01c20060 { |
Maxime Ripard | 9809656 | 2013-07-23 23:54:19 +0200 | [diff] [blame] | 145 | #clock-cells = <1>; |
| 146 | compatible = "allwinner,sun6i-a31-ahb1-gates-clk"; |
| 147 | reg = <0x01c20060 0x8>; |
| 148 | clocks = <&ahb1>; |
| 149 | clock-output-names = "ahb1_mipidsi", "ahb1_ss", |
| 150 | "ahb1_dma", "ahb1_mmc0", "ahb1_mmc1", |
| 151 | "ahb1_mmc2", "ahb1_mmc3", "ahb1_nand1", |
| 152 | "ahb1_nand0", "ahb1_sdram", |
| 153 | "ahb1_gmac", "ahb1_ts", "ahb1_hstimer", |
| 154 | "ahb1_spi0", "ahb1_spi1", "ahb1_spi2", |
| 155 | "ahb1_spi3", "ahb1_otg", "ahb1_ehci0", |
| 156 | "ahb1_ehci1", "ahb1_ohci0", |
| 157 | "ahb1_ohci1", "ahb1_ohci2", "ahb1_ve", |
| 158 | "ahb1_lcd0", "ahb1_lcd1", "ahb1_csi", |
| 159 | "ahb1_hdmi", "ahb1_de0", "ahb1_de1", |
| 160 | "ahb1_fe0", "ahb1_fe1", "ahb1_mp", |
| 161 | "ahb1_gpu", "ahb1_deu0", "ahb1_deu1", |
| 162 | "ahb1_drc0", "ahb1_drc1"; |
| 163 | }; |
| 164 | |
| 165 | apb1: apb1@01c20054 { |
| 166 | #clock-cells = <0>; |
Maxime Ripard | bf6534a | 2014-02-06 09:55:58 +0100 | [diff] [blame] | 167 | compatible = "allwinner,sun4i-a10-apb0-clk"; |
Maxime Ripard | 9809656 | 2013-07-23 23:54:19 +0200 | [diff] [blame] | 168 | reg = <0x01c20054 0x4>; |
| 169 | clocks = <&ahb1>; |
Chen-Yu Tsai | 7b5b290 | 2014-02-03 09:51:43 +0800 | [diff] [blame] | 170 | clock-output-names = "apb1"; |
Maxime Ripard | 9809656 | 2013-07-23 23:54:19 +0200 | [diff] [blame] | 171 | }; |
| 172 | |
Chen-Yu Tsai | 7b5b290 | 2014-02-03 09:51:43 +0800 | [diff] [blame] | 173 | apb1_gates: clk@01c20068 { |
Maxime Ripard | 9809656 | 2013-07-23 23:54:19 +0200 | [diff] [blame] | 174 | #clock-cells = <1>; |
| 175 | compatible = "allwinner,sun6i-a31-apb1-gates-clk"; |
| 176 | reg = <0x01c20068 0x4>; |
| 177 | clocks = <&apb1>; |
| 178 | clock-output-names = "apb1_codec", "apb1_digital_mic", |
| 179 | "apb1_pio", "apb1_daudio0", |
| 180 | "apb1_daudio1"; |
| 181 | }; |
| 182 | |
| 183 | apb2_mux: apb2_mux@01c20058 { |
| 184 | #clock-cells = <0>; |
Maxime Ripard | bf6534a | 2014-02-06 09:55:58 +0100 | [diff] [blame] | 185 | compatible = "allwinner,sun4i-a10-apb1-mux-clk"; |
Maxime Ripard | 9809656 | 2013-07-23 23:54:19 +0200 | [diff] [blame] | 186 | reg = <0x01c20058 0x4>; |
| 187 | clocks = <&osc32k>, <&osc24M>, <&pll6>, <&pll6>; |
Chen-Yu Tsai | 7b5b290 | 2014-02-03 09:51:43 +0800 | [diff] [blame] | 188 | clock-output-names = "apb2_mux"; |
Maxime Ripard | 9809656 | 2013-07-23 23:54:19 +0200 | [diff] [blame] | 189 | }; |
| 190 | |
| 191 | apb2: apb2@01c20058 { |
| 192 | #clock-cells = <0>; |
| 193 | compatible = "allwinner,sun6i-a31-apb2-div-clk"; |
| 194 | reg = <0x01c20058 0x4>; |
| 195 | clocks = <&apb2_mux>; |
Chen-Yu Tsai | 7b5b290 | 2014-02-03 09:51:43 +0800 | [diff] [blame] | 196 | clock-output-names = "apb2"; |
Maxime Ripard | 9809656 | 2013-07-23 23:54:19 +0200 | [diff] [blame] | 197 | }; |
| 198 | |
Chen-Yu Tsai | 7b5b290 | 2014-02-03 09:51:43 +0800 | [diff] [blame] | 199 | apb2_gates: clk@01c2006c { |
Maxime Ripard | 9809656 | 2013-07-23 23:54:19 +0200 | [diff] [blame] | 200 | #clock-cells = <1>; |
| 201 | compatible = "allwinner,sun6i-a31-apb2-gates-clk"; |
Maxime Ripard | 439d9f5 | 2013-09-24 16:30:05 +0300 | [diff] [blame] | 202 | reg = <0x01c2006c 0x4>; |
Maxime Ripard | 9809656 | 2013-07-23 23:54:19 +0200 | [diff] [blame] | 203 | clocks = <&apb2>; |
| 204 | clock-output-names = "apb2_i2c0", "apb2_i2c1", |
| 205 | "apb2_i2c2", "apb2_i2c3", "apb2_uart0", |
| 206 | "apb2_uart1", "apb2_uart2", "apb2_uart3", |
| 207 | "apb2_uart4", "apb2_uart5"; |
| 208 | }; |
Maxime Ripard | b0a09c7 | 2014-02-05 14:05:04 +0100 | [diff] [blame] | 209 | |
Hans de Goede | adc54c8 | 2014-05-02 17:57:23 +0200 | [diff] [blame] | 210 | mmc0_clk: clk@01c20088 { |
| 211 | #clock-cells = <0>; |
| 212 | compatible = "allwinner,sun4i-a10-mod0-clk"; |
| 213 | reg = <0x01c20088 0x4>; |
| 214 | clocks = <&osc24M>, <&pll6>; |
| 215 | clock-output-names = "mmc0"; |
| 216 | }; |
| 217 | |
| 218 | mmc1_clk: clk@01c2008c { |
| 219 | #clock-cells = <0>; |
| 220 | compatible = "allwinner,sun4i-a10-mod0-clk"; |
| 221 | reg = <0x01c2008c 0x4>; |
| 222 | clocks = <&osc24M>, <&pll6>; |
| 223 | clock-output-names = "mmc1"; |
| 224 | }; |
| 225 | |
| 226 | mmc2_clk: clk@01c20090 { |
| 227 | #clock-cells = <0>; |
| 228 | compatible = "allwinner,sun4i-a10-mod0-clk"; |
| 229 | reg = <0x01c20090 0x4>; |
| 230 | clocks = <&osc24M>, <&pll6>; |
| 231 | clock-output-names = "mmc2"; |
| 232 | }; |
| 233 | |
| 234 | mmc3_clk: clk@01c20094 { |
| 235 | #clock-cells = <0>; |
| 236 | compatible = "allwinner,sun4i-a10-mod0-clk"; |
| 237 | reg = <0x01c20094 0x4>; |
| 238 | clocks = <&osc24M>, <&pll6>; |
| 239 | clock-output-names = "mmc3"; |
| 240 | }; |
| 241 | |
Maxime Ripard | b0a09c7 | 2014-02-05 14:05:04 +0100 | [diff] [blame] | 242 | spi0_clk: clk@01c200a0 { |
| 243 | #clock-cells = <0>; |
Maxime Ripard | 225b021 | 2014-02-24 17:29:06 +0100 | [diff] [blame] | 244 | compatible = "allwinner,sun4i-a10-mod0-clk"; |
Maxime Ripard | b0a09c7 | 2014-02-05 14:05:04 +0100 | [diff] [blame] | 245 | reg = <0x01c200a0 0x4>; |
| 246 | clocks = <&osc24M>, <&pll6>; |
| 247 | clock-output-names = "spi0"; |
| 248 | }; |
| 249 | |
| 250 | spi1_clk: clk@01c200a4 { |
| 251 | #clock-cells = <0>; |
Maxime Ripard | 225b021 | 2014-02-24 17:29:06 +0100 | [diff] [blame] | 252 | compatible = "allwinner,sun4i-a10-mod0-clk"; |
Maxime Ripard | b0a09c7 | 2014-02-05 14:05:04 +0100 | [diff] [blame] | 253 | reg = <0x01c200a4 0x4>; |
| 254 | clocks = <&osc24M>, <&pll6>; |
| 255 | clock-output-names = "spi1"; |
| 256 | }; |
| 257 | |
| 258 | spi2_clk: clk@01c200a8 { |
| 259 | #clock-cells = <0>; |
Maxime Ripard | 225b021 | 2014-02-24 17:29:06 +0100 | [diff] [blame] | 260 | compatible = "allwinner,sun4i-a10-mod0-clk"; |
Maxime Ripard | b0a09c7 | 2014-02-05 14:05:04 +0100 | [diff] [blame] | 261 | reg = <0x01c200a8 0x4>; |
| 262 | clocks = <&osc24M>, <&pll6>; |
| 263 | clock-output-names = "spi2"; |
| 264 | }; |
| 265 | |
| 266 | spi3_clk: clk@01c200ac { |
| 267 | #clock-cells = <0>; |
Maxime Ripard | 225b021 | 2014-02-24 17:29:06 +0100 | [diff] [blame] | 268 | compatible = "allwinner,sun4i-a10-mod0-clk"; |
Maxime Ripard | b0a09c7 | 2014-02-05 14:05:04 +0100 | [diff] [blame] | 269 | reg = <0x01c200ac 0x4>; |
| 270 | clocks = <&osc24M>, <&pll6>; |
| 271 | clock-output-names = "spi3"; |
| 272 | }; |
Maxime Ripard | 94a1cd1 | 2014-05-13 17:44:16 +0200 | [diff] [blame] | 273 | |
| 274 | usb_clk: clk@01c200cc { |
| 275 | #clock-cells = <1>; |
| 276 | #reset-cells = <1>; |
| 277 | compatible = "allwinner,sun6i-a31-usb-clk"; |
| 278 | reg = <0x01c200cc 0x4>; |
| 279 | clocks = <&osc24M>; |
| 280 | clock-output-names = "usb_phy0", "usb_phy1", "usb_phy2", |
| 281 | "usb_ohci0", "usb_ohci1", |
| 282 | "usb_ohci2"; |
| 283 | }; |
Maxime Ripard | 8aed3b3 | 2013-03-10 16:09:06 +0100 | [diff] [blame] | 284 | }; |
| 285 | |
| 286 | soc@01c00000 { |
| 287 | compatible = "simple-bus"; |
| 288 | #address-cells = <1>; |
| 289 | #size-cells = <1>; |
| 290 | ranges; |
| 291 | |
Maxime Ripard | d2d878c | 2014-01-30 15:41:23 +0100 | [diff] [blame] | 292 | dma: dma-controller@01c02000 { |
| 293 | compatible = "allwinner,sun6i-a31-dma"; |
| 294 | reg = <0x01c02000 0x1000>; |
| 295 | interrupts = <0 50 4>; |
| 296 | clocks = <&ahb1_gates 6>; |
| 297 | resets = <&ahb1_rst 6>; |
| 298 | #dma-cells = <1>; |
| 299 | }; |
| 300 | |
Hans de Goede | 5b753f0 | 2014-05-02 17:57:24 +0200 | [diff] [blame] | 301 | mmc0: mmc@01c0f000 { |
| 302 | compatible = "allwinner,sun5i-a13-mmc"; |
| 303 | reg = <0x01c0f000 0x1000>; |
| 304 | clocks = <&ahb1_gates 8>, <&mmc0_clk>; |
| 305 | clock-names = "ahb", "mmc"; |
| 306 | resets = <&ahb1_rst 8>; |
| 307 | reset-names = "ahb"; |
| 308 | interrupts = <0 60 4>; |
| 309 | status = "disabled"; |
| 310 | }; |
| 311 | |
| 312 | mmc1: mmc@01c10000 { |
| 313 | compatible = "allwinner,sun5i-a13-mmc"; |
| 314 | reg = <0x01c10000 0x1000>; |
| 315 | clocks = <&ahb1_gates 9>, <&mmc1_clk>; |
| 316 | clock-names = "ahb", "mmc"; |
| 317 | resets = <&ahb1_rst 9>; |
| 318 | reset-names = "ahb"; |
| 319 | interrupts = <0 61 4>; |
| 320 | status = "disabled"; |
| 321 | }; |
| 322 | |
| 323 | mmc2: mmc@01c11000 { |
| 324 | compatible = "allwinner,sun5i-a13-mmc"; |
| 325 | reg = <0x01c11000 0x1000>; |
| 326 | clocks = <&ahb1_gates 10>, <&mmc2_clk>; |
| 327 | clock-names = "ahb", "mmc"; |
| 328 | resets = <&ahb1_rst 10>; |
| 329 | reset-names = "ahb"; |
| 330 | interrupts = <0 62 4>; |
| 331 | status = "disabled"; |
| 332 | }; |
| 333 | |
| 334 | mmc3: mmc@01c12000 { |
| 335 | compatible = "allwinner,sun5i-a13-mmc"; |
| 336 | reg = <0x01c12000 0x1000>; |
| 337 | clocks = <&ahb1_gates 11>, <&mmc3_clk>; |
| 338 | clock-names = "ahb", "mmc"; |
| 339 | resets = <&ahb1_rst 11>; |
| 340 | reset-names = "ahb"; |
| 341 | interrupts = <0 63 4>; |
| 342 | status = "disabled"; |
| 343 | }; |
| 344 | |
Maxime Ripard | ef96408 | 2014-05-13 17:44:21 +0200 | [diff] [blame] | 345 | usbphy: phy@01c19400 { |
| 346 | compatible = "allwinner,sun6i-a31-usb-phy"; |
| 347 | reg = <0x01c19400 0x10>, |
| 348 | <0x01c1a800 0x4>, |
| 349 | <0x01c1b800 0x4>; |
| 350 | reg-names = "phy_ctrl", |
| 351 | "pmu1", |
| 352 | "pmu2"; |
| 353 | clocks = <&usb_clk 8>, |
| 354 | <&usb_clk 9>, |
| 355 | <&usb_clk 10>; |
| 356 | clock-names = "usb0_phy", |
| 357 | "usb1_phy", |
| 358 | "usb2_phy"; |
| 359 | resets = <&usb_clk 0>, |
| 360 | <&usb_clk 1>, |
| 361 | <&usb_clk 2>; |
| 362 | reset-names = "usb0_reset", |
| 363 | "usb1_reset", |
| 364 | "usb2_reset"; |
| 365 | status = "disabled"; |
| 366 | #phy-cells = <1>; |
| 367 | }; |
| 368 | |
| 369 | ehci0: usb@01c1a000 { |
| 370 | compatible = "allwinner,sun6i-a31-ehci", "generic-ehci"; |
| 371 | reg = <0x01c1a000 0x100>; |
| 372 | interrupts = <0 72 4>; |
| 373 | clocks = <&ahb1_gates 26>; |
| 374 | resets = <&ahb1_rst 26>; |
| 375 | phys = <&usbphy 1>; |
| 376 | phy-names = "usb"; |
| 377 | status = "disabled"; |
| 378 | }; |
| 379 | |
| 380 | ohci0: usb@01c1a400 { |
| 381 | compatible = "allwinner,sun6i-a31-ohci", "generic-ohci"; |
| 382 | reg = <0x01c1a400 0x100>; |
| 383 | interrupts = <0 73 4>; |
| 384 | clocks = <&ahb1_gates 29>, <&usb_clk 16>; |
| 385 | resets = <&ahb1_rst 29>; |
| 386 | phys = <&usbphy 1>; |
| 387 | phy-names = "usb"; |
| 388 | status = "disabled"; |
| 389 | }; |
| 390 | |
| 391 | ehci1: usb@01c1b000 { |
| 392 | compatible = "allwinner,sun6i-a31-ehci", "generic-ehci"; |
| 393 | reg = <0x01c1b000 0x100>; |
| 394 | interrupts = <0 74 4>; |
| 395 | clocks = <&ahb1_gates 27>; |
| 396 | resets = <&ahb1_rst 27>; |
| 397 | phys = <&usbphy 2>; |
| 398 | phy-names = "usb"; |
| 399 | status = "disabled"; |
| 400 | }; |
| 401 | |
| 402 | ohci1: usb@01c1b400 { |
| 403 | compatible = "allwinner,sun6i-a31-ohci", "generic-ohci"; |
| 404 | reg = <0x01c1b400 0x100>; |
| 405 | interrupts = <0 75 4>; |
| 406 | clocks = <&ahb1_gates 30>, <&usb_clk 17>; |
| 407 | resets = <&ahb1_rst 30>; |
| 408 | phys = <&usbphy 2>; |
| 409 | phy-names = "usb"; |
| 410 | status = "disabled"; |
| 411 | }; |
| 412 | |
Maxime Ripard | b294ebb | 2014-05-20 13:59:58 +0200 | [diff] [blame] | 413 | ohci2: usb@01c1c400 { |
Maxime Ripard | ef96408 | 2014-05-13 17:44:21 +0200 | [diff] [blame] | 414 | compatible = "allwinner,sun6i-a31-ohci", "generic-ohci"; |
| 415 | reg = <0x01c1c400 0x100>; |
| 416 | interrupts = <0 77 4>; |
| 417 | clocks = <&ahb1_gates 31>, <&usb_clk 18>; |
| 418 | resets = <&ahb1_rst 31>; |
| 419 | status = "disabled"; |
| 420 | }; |
| 421 | |
Maxime Ripard | 140e172 | 2013-03-12 22:16:05 +0100 | [diff] [blame] | 422 | pio: pinctrl@01c20800 { |
| 423 | compatible = "allwinner,sun6i-a31-pinctrl"; |
| 424 | reg = <0x01c20800 0x400>; |
Maxime Ripard | 6f97dc8 | 2013-12-10 19:37:22 +0100 | [diff] [blame] | 425 | interrupts = <0 11 4>, |
| 426 | <0 15 4>, |
| 427 | <0 16 4>, |
| 428 | <0 17 4>; |
Maxime Ripard | 9809656 | 2013-07-23 23:54:19 +0200 | [diff] [blame] | 429 | clocks = <&apb1_gates 5>; |
Maxime Ripard | 140e172 | 2013-03-12 22:16:05 +0100 | [diff] [blame] | 430 | gpio-controller; |
| 431 | interrupt-controller; |
Chen-Yu Tsai | 7d4ff96 | 2014-06-30 23:57:51 +0200 | [diff] [blame] | 432 | #interrupt-cells = <2>; |
Maxime Ripard | 140e172 | 2013-03-12 22:16:05 +0100 | [diff] [blame] | 433 | #size-cells = <0>; |
| 434 | #gpio-cells = <3>; |
Maxime Ripard | ab4238c | 2013-06-22 23:56:40 +0200 | [diff] [blame] | 435 | |
| 436 | uart0_pins_a: uart0@0 { |
| 437 | allwinner,pins = "PH20", "PH21"; |
| 438 | allwinner,function = "uart0"; |
| 439 | allwinner,drive = <0>; |
| 440 | allwinner,pull = <0>; |
| 441 | }; |
Maxime Ripard | 8be188b | 2014-03-04 17:28:40 +0100 | [diff] [blame] | 442 | |
| 443 | i2c0_pins_a: i2c0@0 { |
| 444 | allwinner,pins = "PH14", "PH15"; |
| 445 | allwinner,function = "i2c0"; |
| 446 | allwinner,drive = <0>; |
| 447 | allwinner,pull = <0>; |
| 448 | }; |
| 449 | |
| 450 | i2c1_pins_a: i2c1@0 { |
| 451 | allwinner,pins = "PH16", "PH17"; |
| 452 | allwinner,function = "i2c1"; |
| 453 | allwinner,drive = <0>; |
| 454 | allwinner,pull = <0>; |
| 455 | }; |
| 456 | |
| 457 | i2c2_pins_a: i2c2@0 { |
| 458 | allwinner,pins = "PH18", "PH19"; |
| 459 | allwinner,function = "i2c2"; |
| 460 | allwinner,drive = <0>; |
| 461 | allwinner,pull = <0>; |
| 462 | }; |
Hans de Goede | 9797eb8 | 2014-04-26 12:16:16 +0200 | [diff] [blame] | 463 | |
| 464 | mmc0_pins_a: mmc0@0 { |
| 465 | allwinner,pins = "PF0","PF1","PF2","PF3","PF4","PF5"; |
| 466 | allwinner,function = "mmc0"; |
| 467 | allwinner,drive = <2>; |
| 468 | allwinner,pull = <0>; |
| 469 | }; |
Chen-Yu Tsai | ee39a3e | 2014-07-16 01:15:43 +0800 | [diff] [blame^] | 470 | |
| 471 | gmac_pins_mii_a: gmac_mii@0 { |
| 472 | allwinner,pins = "PA0", "PA1", "PA2", "PA3", |
| 473 | "PA8", "PA9", "PA11", |
| 474 | "PA12", "PA13", "PA14", "PA19", |
| 475 | "PA20", "PA21", "PA22", "PA23", |
| 476 | "PA24", "PA26", "PA27"; |
| 477 | allwinner,function = "gmac"; |
| 478 | allwinner,drive = <0>; |
| 479 | allwinner,pull = <0>; |
| 480 | }; |
| 481 | |
| 482 | gmac_pins_gmii_a: gmac_gmii@0 { |
| 483 | allwinner,pins = "PA0", "PA1", "PA2", "PA3", |
| 484 | "PA4", "PA5", "PA6", "PA7", |
| 485 | "PA8", "PA9", "PA10", "PA11", |
| 486 | "PA12", "PA13", "PA14", "PA15", |
| 487 | "PA16", "PA17", "PA18", "PA19", |
| 488 | "PA20", "PA21", "PA22", "PA23", |
| 489 | "PA24", "PA25", "PA26", "PA27"; |
| 490 | allwinner,function = "gmac"; |
| 491 | /* |
| 492 | * data lines in GMII mode run at 125MHz and |
| 493 | * might need a higher signal drive strength |
| 494 | */ |
| 495 | allwinner,drive = <2>; |
| 496 | allwinner,pull = <0>; |
| 497 | }; |
| 498 | |
| 499 | gmac_pins_rgmii_a: gmac_rgmii@0 { |
| 500 | allwinner,pins = "PA0", "PA1", "PA2", "PA3", |
| 501 | "PA9", "PA10", "PA11", |
| 502 | "PA12", "PA13", "PA14", "PA19", |
| 503 | "PA20", "PA25", "PA26", "PA27"; |
| 504 | allwinner,function = "gmac"; |
| 505 | /* |
| 506 | * data lines in RGMII mode use DDR mode |
| 507 | * and need a higher signal drive strength |
| 508 | */ |
| 509 | allwinner,drive = <3>; |
| 510 | allwinner,pull = <0>; |
| 511 | }; |
Maxime Ripard | 140e172 | 2013-03-12 22:16:05 +0100 | [diff] [blame] | 512 | }; |
| 513 | |
Maxime Ripard | 24a661e9 | 2013-09-24 11:10:41 +0300 | [diff] [blame] | 514 | ahb1_rst: reset@01c202c0 { |
| 515 | #reset-cells = <1>; |
| 516 | compatible = "allwinner,sun6i-a31-ahb1-reset"; |
| 517 | reg = <0x01c202c0 0xc>; |
| 518 | }; |
| 519 | |
| 520 | apb1_rst: reset@01c202d0 { |
| 521 | #reset-cells = <1>; |
| 522 | compatible = "allwinner,sun6i-a31-clock-reset"; |
| 523 | reg = <0x01c202d0 0x4>; |
| 524 | }; |
| 525 | |
| 526 | apb2_rst: reset@01c202d8 { |
| 527 | #reset-cells = <1>; |
| 528 | compatible = "allwinner,sun6i-a31-clock-reset"; |
| 529 | reg = <0x01c202d8 0x4>; |
| 530 | }; |
| 531 | |
Maxime Ripard | 8aed3b3 | 2013-03-10 16:09:06 +0100 | [diff] [blame] | 532 | timer@01c20c00 { |
Maxime Ripard | b4f2644 | 2014-02-06 10:40:32 +0100 | [diff] [blame] | 533 | compatible = "allwinner,sun4i-a10-timer"; |
Maxime Ripard | 8aed3b3 | 2013-03-10 16:09:06 +0100 | [diff] [blame] | 534 | reg = <0x01c20c00 0xa0>; |
Maxime Ripard | 6f97dc8 | 2013-12-10 19:37:22 +0100 | [diff] [blame] | 535 | interrupts = <0 18 4>, |
| 536 | <0 19 4>, |
| 537 | <0 20 4>, |
| 538 | <0 21 4>, |
| 539 | <0 22 4>; |
Maxime Ripard | 9809656 | 2013-07-23 23:54:19 +0200 | [diff] [blame] | 540 | clocks = <&osc24M>; |
Maxime Ripard | 8aed3b3 | 2013-03-10 16:09:06 +0100 | [diff] [blame] | 541 | }; |
| 542 | |
| 543 | wdt1: watchdog@01c20ca0 { |
Maxime Ripard | ca5d04d | 2014-02-07 22:29:26 +0100 | [diff] [blame] | 544 | compatible = "allwinner,sun6i-a31-wdt"; |
Maxime Ripard | 8aed3b3 | 2013-03-10 16:09:06 +0100 | [diff] [blame] | 545 | reg = <0x01c20ca0 0x20>; |
| 546 | }; |
| 547 | |
| 548 | uart0: serial@01c28000 { |
| 549 | compatible = "snps,dw-apb-uart"; |
| 550 | reg = <0x01c28000 0x400>; |
Maxime Ripard | 6f97dc8 | 2013-12-10 19:37:22 +0100 | [diff] [blame] | 551 | interrupts = <0 0 4>; |
Maxime Ripard | 8aed3b3 | 2013-03-10 16:09:06 +0100 | [diff] [blame] | 552 | reg-shift = <2>; |
| 553 | reg-io-width = <4>; |
Maxime Ripard | 9809656 | 2013-07-23 23:54:19 +0200 | [diff] [blame] | 554 | clocks = <&apb2_gates 16>; |
Maxime Ripard | 24a661e9 | 2013-09-24 11:10:41 +0300 | [diff] [blame] | 555 | resets = <&apb2_rst 16>; |
Maxime Ripard | d2d878c | 2014-01-30 15:41:23 +0100 | [diff] [blame] | 556 | dmas = <&dma 6>, <&dma 6>; |
| 557 | dma-names = "rx", "tx"; |
Maxime Ripard | 8aed3b3 | 2013-03-10 16:09:06 +0100 | [diff] [blame] | 558 | status = "disabled"; |
| 559 | }; |
| 560 | |
| 561 | uart1: serial@01c28400 { |
| 562 | compatible = "snps,dw-apb-uart"; |
| 563 | reg = <0x01c28400 0x400>; |
Maxime Ripard | 6f97dc8 | 2013-12-10 19:37:22 +0100 | [diff] [blame] | 564 | interrupts = <0 1 4>; |
Maxime Ripard | 8aed3b3 | 2013-03-10 16:09:06 +0100 | [diff] [blame] | 565 | reg-shift = <2>; |
| 566 | reg-io-width = <4>; |
Maxime Ripard | 9809656 | 2013-07-23 23:54:19 +0200 | [diff] [blame] | 567 | clocks = <&apb2_gates 17>; |
Maxime Ripard | 24a661e9 | 2013-09-24 11:10:41 +0300 | [diff] [blame] | 568 | resets = <&apb2_rst 17>; |
Maxime Ripard | d2d878c | 2014-01-30 15:41:23 +0100 | [diff] [blame] | 569 | dmas = <&dma 7>, <&dma 7>; |
| 570 | dma-names = "rx", "tx"; |
Maxime Ripard | 8aed3b3 | 2013-03-10 16:09:06 +0100 | [diff] [blame] | 571 | status = "disabled"; |
| 572 | }; |
| 573 | |
| 574 | uart2: serial@01c28800 { |
| 575 | compatible = "snps,dw-apb-uart"; |
| 576 | reg = <0x01c28800 0x400>; |
Maxime Ripard | 6f97dc8 | 2013-12-10 19:37:22 +0100 | [diff] [blame] | 577 | interrupts = <0 2 4>; |
Maxime Ripard | 8aed3b3 | 2013-03-10 16:09:06 +0100 | [diff] [blame] | 578 | reg-shift = <2>; |
| 579 | reg-io-width = <4>; |
Maxime Ripard | 9809656 | 2013-07-23 23:54:19 +0200 | [diff] [blame] | 580 | clocks = <&apb2_gates 18>; |
Maxime Ripard | 24a661e9 | 2013-09-24 11:10:41 +0300 | [diff] [blame] | 581 | resets = <&apb2_rst 18>; |
Maxime Ripard | d2d878c | 2014-01-30 15:41:23 +0100 | [diff] [blame] | 582 | dmas = <&dma 8>, <&dma 8>; |
| 583 | dma-names = "rx", "tx"; |
Maxime Ripard | 8aed3b3 | 2013-03-10 16:09:06 +0100 | [diff] [blame] | 584 | status = "disabled"; |
| 585 | }; |
| 586 | |
| 587 | uart3: serial@01c28c00 { |
| 588 | compatible = "snps,dw-apb-uart"; |
| 589 | reg = <0x01c28c00 0x400>; |
Maxime Ripard | 6f97dc8 | 2013-12-10 19:37:22 +0100 | [diff] [blame] | 590 | interrupts = <0 3 4>; |
Maxime Ripard | 8aed3b3 | 2013-03-10 16:09:06 +0100 | [diff] [blame] | 591 | reg-shift = <2>; |
| 592 | reg-io-width = <4>; |
Maxime Ripard | 9809656 | 2013-07-23 23:54:19 +0200 | [diff] [blame] | 593 | clocks = <&apb2_gates 19>; |
Maxime Ripard | 24a661e9 | 2013-09-24 11:10:41 +0300 | [diff] [blame] | 594 | resets = <&apb2_rst 19>; |
Maxime Ripard | d2d878c | 2014-01-30 15:41:23 +0100 | [diff] [blame] | 595 | dmas = <&dma 9>, <&dma 9>; |
| 596 | dma-names = "rx", "tx"; |
Maxime Ripard | 8aed3b3 | 2013-03-10 16:09:06 +0100 | [diff] [blame] | 597 | status = "disabled"; |
| 598 | }; |
| 599 | |
| 600 | uart4: serial@01c29000 { |
| 601 | compatible = "snps,dw-apb-uart"; |
| 602 | reg = <0x01c29000 0x400>; |
Maxime Ripard | 6f97dc8 | 2013-12-10 19:37:22 +0100 | [diff] [blame] | 603 | interrupts = <0 4 4>; |
Maxime Ripard | 8aed3b3 | 2013-03-10 16:09:06 +0100 | [diff] [blame] | 604 | reg-shift = <2>; |
| 605 | reg-io-width = <4>; |
Maxime Ripard | 9809656 | 2013-07-23 23:54:19 +0200 | [diff] [blame] | 606 | clocks = <&apb2_gates 20>; |
Maxime Ripard | 24a661e9 | 2013-09-24 11:10:41 +0300 | [diff] [blame] | 607 | resets = <&apb2_rst 20>; |
Maxime Ripard | d2d878c | 2014-01-30 15:41:23 +0100 | [diff] [blame] | 608 | dmas = <&dma 10>, <&dma 10>; |
| 609 | dma-names = "rx", "tx"; |
Maxime Ripard | 8aed3b3 | 2013-03-10 16:09:06 +0100 | [diff] [blame] | 610 | status = "disabled"; |
| 611 | }; |
| 612 | |
| 613 | uart5: serial@01c29400 { |
| 614 | compatible = "snps,dw-apb-uart"; |
| 615 | reg = <0x01c29400 0x400>; |
Maxime Ripard | 6f97dc8 | 2013-12-10 19:37:22 +0100 | [diff] [blame] | 616 | interrupts = <0 5 4>; |
Maxime Ripard | 8aed3b3 | 2013-03-10 16:09:06 +0100 | [diff] [blame] | 617 | reg-shift = <2>; |
| 618 | reg-io-width = <4>; |
Maxime Ripard | 9809656 | 2013-07-23 23:54:19 +0200 | [diff] [blame] | 619 | clocks = <&apb2_gates 21>; |
Maxime Ripard | 24a661e9 | 2013-09-24 11:10:41 +0300 | [diff] [blame] | 620 | resets = <&apb2_rst 21>; |
Maxime Ripard | d2d878c | 2014-01-30 15:41:23 +0100 | [diff] [blame] | 621 | dmas = <&dma 22>, <&dma 22>; |
| 622 | dma-names = "rx", "tx"; |
Maxime Ripard | 8aed3b3 | 2013-03-10 16:09:06 +0100 | [diff] [blame] | 623 | status = "disabled"; |
| 624 | }; |
| 625 | |
Maxime Ripard | 96c7cc9 | 2014-03-04 17:28:39 +0100 | [diff] [blame] | 626 | i2c0: i2c@01c2ac00 { |
| 627 | compatible = "allwinner,sun6i-a31-i2c"; |
| 628 | reg = <0x01c2ac00 0x400>; |
| 629 | interrupts = <0 6 4>; |
| 630 | clocks = <&apb2_gates 0>; |
| 631 | clock-frequency = <100000>; |
| 632 | resets = <&apb2_rst 0>; |
| 633 | status = "disabled"; |
| 634 | }; |
| 635 | |
| 636 | i2c1: i2c@01c2b000 { |
| 637 | compatible = "allwinner,sun6i-a31-i2c"; |
| 638 | reg = <0x01c2b000 0x400>; |
| 639 | interrupts = <0 7 4>; |
| 640 | clocks = <&apb2_gates 1>; |
| 641 | clock-frequency = <100000>; |
| 642 | resets = <&apb2_rst 1>; |
| 643 | status = "disabled"; |
| 644 | }; |
| 645 | |
| 646 | i2c2: i2c@01c2b400 { |
| 647 | compatible = "allwinner,sun6i-a31-i2c"; |
| 648 | reg = <0x01c2b400 0x400>; |
| 649 | interrupts = <0 8 4>; |
| 650 | clocks = <&apb2_gates 2>; |
| 651 | clock-frequency = <100000>; |
| 652 | resets = <&apb2_rst 2>; |
| 653 | status = "disabled"; |
| 654 | }; |
| 655 | |
| 656 | i2c3: i2c@01c2b800 { |
| 657 | compatible = "allwinner,sun6i-a31-i2c"; |
| 658 | reg = <0x01c2b800 0x400>; |
| 659 | interrupts = <0 9 4>; |
| 660 | clocks = <&apb2_gates 3>; |
| 661 | clock-frequency = <100000>; |
| 662 | resets = <&apb2_rst 3>; |
| 663 | status = "disabled"; |
| 664 | }; |
| 665 | |
Maxime Ripard | 8cffcb0 | 2014-04-17 11:06:46 +0200 | [diff] [blame] | 666 | timer@01c60000 { |
| 667 | compatible = "allwinner,sun6i-a31-hstimer", "allwinner,sun7i-a20-hstimer"; |
| 668 | reg = <0x01c60000 0x1000>; |
| 669 | interrupts = <0 51 4>, |
| 670 | <0 52 4>, |
| 671 | <0 53 4>, |
| 672 | <0 54 4>; |
| 673 | clocks = <&ahb1_gates 19>; |
| 674 | resets = <&ahb1_rst 19>; |
| 675 | }; |
| 676 | |
Maxime Ripard | 0d6efe3 | 2014-02-05 14:05:06 +0100 | [diff] [blame] | 677 | spi0: spi@01c68000 { |
| 678 | compatible = "allwinner,sun6i-a31-spi"; |
| 679 | reg = <0x01c68000 0x1000>; |
| 680 | interrupts = <0 65 4>; |
| 681 | clocks = <&ahb1_gates 20>, <&spi0_clk>; |
| 682 | clock-names = "ahb", "mod"; |
Maxime Ripard | d2d878c | 2014-01-30 15:41:23 +0100 | [diff] [blame] | 683 | dmas = <&dma 23>, <&dma 23>; |
| 684 | dma-names = "rx", "tx"; |
Maxime Ripard | 0d6efe3 | 2014-02-05 14:05:06 +0100 | [diff] [blame] | 685 | resets = <&ahb1_rst 20>; |
| 686 | status = "disabled"; |
| 687 | }; |
| 688 | |
| 689 | spi1: spi@01c69000 { |
| 690 | compatible = "allwinner,sun6i-a31-spi"; |
| 691 | reg = <0x01c69000 0x1000>; |
| 692 | interrupts = <0 66 4>; |
| 693 | clocks = <&ahb1_gates 21>, <&spi1_clk>; |
| 694 | clock-names = "ahb", "mod"; |
Maxime Ripard | d2d878c | 2014-01-30 15:41:23 +0100 | [diff] [blame] | 695 | dmas = <&dma 24>, <&dma 24>; |
| 696 | dma-names = "rx", "tx"; |
Maxime Ripard | 0d6efe3 | 2014-02-05 14:05:06 +0100 | [diff] [blame] | 697 | resets = <&ahb1_rst 21>; |
| 698 | status = "disabled"; |
| 699 | }; |
| 700 | |
| 701 | spi2: spi@01c6a000 { |
| 702 | compatible = "allwinner,sun6i-a31-spi"; |
| 703 | reg = <0x01c6a000 0x1000>; |
| 704 | interrupts = <0 67 4>; |
| 705 | clocks = <&ahb1_gates 22>, <&spi2_clk>; |
| 706 | clock-names = "ahb", "mod"; |
Maxime Ripard | d2d878c | 2014-01-30 15:41:23 +0100 | [diff] [blame] | 707 | dmas = <&dma 25>, <&dma 25>; |
| 708 | dma-names = "rx", "tx"; |
Maxime Ripard | 0d6efe3 | 2014-02-05 14:05:06 +0100 | [diff] [blame] | 709 | resets = <&ahb1_rst 22>; |
| 710 | status = "disabled"; |
| 711 | }; |
| 712 | |
| 713 | spi3: spi@01c6b000 { |
| 714 | compatible = "allwinner,sun6i-a31-spi"; |
| 715 | reg = <0x01c6b000 0x1000>; |
| 716 | interrupts = <0 68 4>; |
| 717 | clocks = <&ahb1_gates 23>, <&spi3_clk>; |
| 718 | clock-names = "ahb", "mod"; |
Maxime Ripard | d2d878c | 2014-01-30 15:41:23 +0100 | [diff] [blame] | 719 | dmas = <&dma 26>, <&dma 26>; |
| 720 | dma-names = "rx", "tx"; |
Maxime Ripard | 0d6efe3 | 2014-02-05 14:05:06 +0100 | [diff] [blame] | 721 | resets = <&ahb1_rst 23>; |
| 722 | status = "disabled"; |
| 723 | }; |
| 724 | |
Maxime Ripard | 8aed3b3 | 2013-03-10 16:09:06 +0100 | [diff] [blame] | 725 | gic: interrupt-controller@01c81000 { |
| 726 | compatible = "arm,cortex-a7-gic", "arm,cortex-a15-gic"; |
| 727 | reg = <0x01c81000 0x1000>, |
| 728 | <0x01c82000 0x1000>, |
| 729 | <0x01c84000 0x2000>, |
| 730 | <0x01c86000 0x2000>; |
| 731 | interrupt-controller; |
| 732 | #interrupt-cells = <3>; |
| 733 | interrupts = <1 9 0xf04>; |
| 734 | }; |
Maxime Ripard | 81ee429 | 2013-11-03 10:30:12 +0100 | [diff] [blame] | 735 | |
Maxime Ripard | 28240d2 | 2014-04-17 10:29:35 +0200 | [diff] [blame] | 736 | nmi_intc: interrupt-controller@01f00c0c { |
| 737 | compatible = "allwinner,sun6i-a31-sc-nmi"; |
| 738 | interrupt-controller; |
| 739 | #interrupt-cells = <2>; |
| 740 | reg = <0x01f00c0c 0x38>; |
| 741 | interrupts = <0 32 4>; |
| 742 | }; |
| 743 | |
Hans de Goede | a42ea60 | 2014-04-13 13:41:02 +0200 | [diff] [blame] | 744 | prcm@01f01400 { |
| 745 | compatible = "allwinner,sun6i-a31-prcm"; |
| 746 | reg = <0x01f01400 0x200>; |
Boris BREZILLON | cc08f5e | 2014-05-14 14:38:21 +0200 | [diff] [blame] | 747 | |
| 748 | ar100: ar100_clk { |
| 749 | compatible = "allwinner,sun6i-a31-ar100-clk"; |
| 750 | #clock-cells = <0>; |
| 751 | clocks = <&osc32k>, <&osc24M>, <&pll6>, <&pll6>; |
| 752 | clock-output-names = "ar100"; |
| 753 | }; |
| 754 | |
| 755 | ahb0: ahb0_clk { |
| 756 | compatible = "fixed-factor-clock"; |
| 757 | #clock-cells = <0>; |
| 758 | clock-div = <1>; |
| 759 | clock-mult = <1>; |
| 760 | clocks = <&ar100>; |
| 761 | clock-output-names = "ahb0"; |
| 762 | }; |
| 763 | |
| 764 | apb0: apb0_clk { |
| 765 | compatible = "allwinner,sun6i-a31-apb0-clk"; |
| 766 | #clock-cells = <0>; |
| 767 | clocks = <&ahb0>; |
| 768 | clock-output-names = "apb0"; |
| 769 | }; |
| 770 | |
| 771 | apb0_gates: apb0_gates_clk { |
| 772 | compatible = "allwinner,sun6i-a31-apb0-gates-clk"; |
| 773 | #clock-cells = <1>; |
| 774 | clocks = <&apb0>; |
| 775 | clock-output-names = "apb0_pio", "apb0_ir", |
| 776 | "apb0_timer", "apb0_p2wi", |
| 777 | "apb0_uart", "apb0_1wire", |
| 778 | "apb0_i2c"; |
| 779 | }; |
| 780 | |
| 781 | apb0_rst: apb0_rst { |
| 782 | compatible = "allwinner,sun6i-a31-clock-reset"; |
| 783 | #reset-cells = <1>; |
| 784 | }; |
Hans de Goede | a42ea60 | 2014-04-13 13:41:02 +0200 | [diff] [blame] | 785 | }; |
| 786 | |
Maxime Ripard | 81ee429 | 2013-11-03 10:30:12 +0100 | [diff] [blame] | 787 | cpucfg@01f01c00 { |
| 788 | compatible = "allwinner,sun6i-a31-cpuconfig"; |
| 789 | reg = <0x01f01c00 0x300>; |
| 790 | }; |
Boris BREZILLON | 209394a | 2014-05-13 16:03:03 +0200 | [diff] [blame] | 791 | |
| 792 | r_pio: pinctrl@01f02c00 { |
| 793 | compatible = "allwinner,sun6i-a31-r-pinctrl"; |
| 794 | reg = <0x01f02c00 0x400>; |
| 795 | interrupts = <0 45 4>, |
| 796 | <0 46 4>; |
| 797 | clocks = <&apb0_gates 0>; |
| 798 | resets = <&apb0_rst 0>; |
| 799 | gpio-controller; |
| 800 | interrupt-controller; |
Chen-Yu Tsai | 7d4ff96 | 2014-06-30 23:57:51 +0200 | [diff] [blame] | 801 | #interrupt-cells = <2>; |
Boris BREZILLON | 209394a | 2014-05-13 16:03:03 +0200 | [diff] [blame] | 802 | #size-cells = <0>; |
| 803 | #gpio-cells = <3>; |
| 804 | }; |
Maxime Ripard | 8aed3b3 | 2013-03-10 16:09:06 +0100 | [diff] [blame] | 805 | }; |
| 806 | }; |