Maxime Ripard | 4790ecf | 2013-07-17 10:07:10 +0200 | [diff] [blame] | 1 | /* |
| 2 | * Copyright 2013 Maxime Ripard |
| 3 | * |
| 4 | * Maxime Ripard <maxime.ripard@free-electrons.com> |
| 5 | * |
| 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 | |
Emilio López | e751cce | 2013-11-16 15:17:29 -0300 | [diff] [blame] | 19 | aliases { |
Chen-Yu Tsai | 18428f7 | 2014-02-10 18:35:54 +0800 | [diff] [blame] | 20 | ethernet0 = &gmac; |
Maxime Ripard | 4566b4b | 2014-01-02 22:05:04 +0100 | [diff] [blame] | 21 | serial0 = &uart0; |
| 22 | serial1 = &uart1; |
| 23 | serial2 = &uart2; |
| 24 | serial3 = &uart3; |
| 25 | serial4 = &uart4; |
| 26 | serial5 = &uart5; |
| 27 | serial6 = &uart6; |
| 28 | serial7 = &uart7; |
Emilio López | e751cce | 2013-11-16 15:17:29 -0300 | [diff] [blame] | 29 | }; |
| 30 | |
Maxime Ripard | 4790ecf | 2013-07-17 10:07:10 +0200 | [diff] [blame] | 31 | cpus { |
| 32 | #address-cells = <1>; |
| 33 | #size-cells = <0>; |
| 34 | |
| 35 | cpu@0 { |
| 36 | compatible = "arm,cortex-a7"; |
| 37 | device_type = "cpu"; |
| 38 | reg = <0>; |
| 39 | }; |
| 40 | |
| 41 | cpu@1 { |
| 42 | compatible = "arm,cortex-a7"; |
| 43 | device_type = "cpu"; |
| 44 | reg = <1>; |
| 45 | }; |
| 46 | }; |
| 47 | |
| 48 | memory { |
| 49 | reg = <0x40000000 0x80000000>; |
| 50 | }; |
| 51 | |
Marc Zyngier | 7902763 | 2014-02-18 14:04:44 +0000 | [diff] [blame] | 52 | timer { |
| 53 | compatible = "arm,armv7-timer"; |
| 54 | interrupts = <1 13 0xf08>, |
| 55 | <1 14 0xf08>, |
| 56 | <1 11 0xf08>, |
| 57 | <1 10 0xf08>; |
| 58 | }; |
| 59 | |
Maxime Ripard | e29ea4d | 2014-04-17 21:54:41 +0200 | [diff] [blame] | 60 | pmu { |
| 61 | compatible = "arm,cortex-a7-pmu", "arm,cortex-a15-pmu"; |
| 62 | interrupts = <0 120 4>, |
| 63 | <0 121 4>; |
| 64 | }; |
| 65 | |
Maxime Ripard | 4790ecf | 2013-07-17 10:07:10 +0200 | [diff] [blame] | 66 | clocks { |
| 67 | #address-cells = <1>; |
| 68 | #size-cells = <1>; |
| 69 | ranges; |
| 70 | |
Chen-Yu Tsai | 06067a2 | 2014-02-03 09:51:44 +0800 | [diff] [blame] | 71 | osc24M: clk@01c20050 { |
Maxime Ripard | 4790ecf | 2013-07-17 10:07:10 +0200 | [diff] [blame] | 72 | #clock-cells = <0>; |
Maxime Ripard | bf6534a | 2014-02-06 09:55:58 +0100 | [diff] [blame] | 73 | compatible = "allwinner,sun4i-a10-osc-clk"; |
Maxime Ripard | de7dc93 | 2013-07-25 21:12:52 +0200 | [diff] [blame] | 74 | reg = <0x01c20050 0x4>; |
Maxime Ripard | 4790ecf | 2013-07-17 10:07:10 +0200 | [diff] [blame] | 75 | clock-frequency = <24000000>; |
Chen-Yu Tsai | 06067a2 | 2014-02-03 09:51:44 +0800 | [diff] [blame] | 76 | clock-output-names = "osc24M"; |
Maxime Ripard | 4790ecf | 2013-07-17 10:07:10 +0200 | [diff] [blame] | 77 | }; |
| 78 | |
Chen-Yu Tsai | 673fac7 | 2014-01-01 10:30:47 +0800 | [diff] [blame] | 79 | osc32k: clk@0 { |
Maxime Ripard | 4790ecf | 2013-07-17 10:07:10 +0200 | [diff] [blame] | 80 | #clock-cells = <0>; |
| 81 | compatible = "fixed-clock"; |
| 82 | clock-frequency = <32768>; |
Chen-Yu Tsai | 673fac7 | 2014-01-01 10:30:47 +0800 | [diff] [blame] | 83 | clock-output-names = "osc32k"; |
Maxime Ripard | 4790ecf | 2013-07-17 10:07:10 +0200 | [diff] [blame] | 84 | }; |
Maxime Ripard | de7dc93 | 2013-07-25 21:12:52 +0200 | [diff] [blame] | 85 | |
Chen-Yu Tsai | 06067a2 | 2014-02-03 09:51:44 +0800 | [diff] [blame] | 86 | pll1: clk@01c20000 { |
Maxime Ripard | de7dc93 | 2013-07-25 21:12:52 +0200 | [diff] [blame] | 87 | #clock-cells = <0>; |
Maxime Ripard | bf6534a | 2014-02-06 09:55:58 +0100 | [diff] [blame] | 88 | compatible = "allwinner,sun4i-a10-pll1-clk"; |
Maxime Ripard | de7dc93 | 2013-07-25 21:12:52 +0200 | [diff] [blame] | 89 | reg = <0x01c20000 0x4>; |
| 90 | clocks = <&osc24M>; |
Chen-Yu Tsai | 06067a2 | 2014-02-03 09:51:44 +0800 | [diff] [blame] | 91 | clock-output-names = "pll1"; |
Maxime Ripard | de7dc93 | 2013-07-25 21:12:52 +0200 | [diff] [blame] | 92 | }; |
| 93 | |
Chen-Yu Tsai | 06067a2 | 2014-02-03 09:51:44 +0800 | [diff] [blame] | 94 | pll4: clk@01c20018 { |
Maxime Ripard | de7dc93 | 2013-07-25 21:12:52 +0200 | [diff] [blame] | 95 | #clock-cells = <0>; |
Maxime Ripard | bf6534a | 2014-02-06 09:55:58 +0100 | [diff] [blame] | 96 | compatible = "allwinner,sun4i-a10-pll1-clk"; |
Emilio López | ec5589f | 2013-12-23 00:32:35 -0300 | [diff] [blame] | 97 | reg = <0x01c20018 0x4>; |
| 98 | clocks = <&osc24M>; |
Chen-Yu Tsai | 06067a2 | 2014-02-03 09:51:44 +0800 | [diff] [blame] | 99 | clock-output-names = "pll4"; |
Emilio López | ec5589f | 2013-12-23 00:32:35 -0300 | [diff] [blame] | 100 | }; |
| 101 | |
Chen-Yu Tsai | 06067a2 | 2014-02-03 09:51:44 +0800 | [diff] [blame] | 102 | pll5: clk@01c20020 { |
Emilio López | c3e5e66 | 2013-12-23 00:32:38 -0300 | [diff] [blame] | 103 | #clock-cells = <1>; |
Maxime Ripard | bf6534a | 2014-02-06 09:55:58 +0100 | [diff] [blame] | 104 | compatible = "allwinner,sun4i-a10-pll5-clk"; |
Emilio López | c3e5e66 | 2013-12-23 00:32:38 -0300 | [diff] [blame] | 105 | reg = <0x01c20020 0x4>; |
| 106 | clocks = <&osc24M>; |
| 107 | clock-output-names = "pll5_ddr", "pll5_other"; |
| 108 | }; |
| 109 | |
Chen-Yu Tsai | 06067a2 | 2014-02-03 09:51:44 +0800 | [diff] [blame] | 110 | pll6: clk@01c20028 { |
Emilio López | c3e5e66 | 2013-12-23 00:32:38 -0300 | [diff] [blame] | 111 | #clock-cells = <1>; |
Maxime Ripard | bf6534a | 2014-02-06 09:55:58 +0100 | [diff] [blame] | 112 | compatible = "allwinner,sun4i-a10-pll6-clk"; |
Emilio López | c3e5e66 | 2013-12-23 00:32:38 -0300 | [diff] [blame] | 113 | reg = <0x01c20028 0x4>; |
| 114 | clocks = <&osc24M>; |
| 115 | clock-output-names = "pll6_sata", "pll6_other", "pll6"; |
Maxime Ripard | de7dc93 | 2013-07-25 21:12:52 +0200 | [diff] [blame] | 116 | }; |
| 117 | |
| 118 | cpu: cpu@01c20054 { |
| 119 | #clock-cells = <0>; |
Maxime Ripard | bf6534a | 2014-02-06 09:55:58 +0100 | [diff] [blame] | 120 | compatible = "allwinner,sun4i-a10-cpu-clk"; |
Maxime Ripard | de7dc93 | 2013-07-25 21:12:52 +0200 | [diff] [blame] | 121 | reg = <0x01c20054 0x4>; |
Emilio López | c3e5e66 | 2013-12-23 00:32:38 -0300 | [diff] [blame] | 122 | clocks = <&osc32k>, <&osc24M>, <&pll1>, <&pll6 1>; |
Chen-Yu Tsai | 06067a2 | 2014-02-03 09:51:44 +0800 | [diff] [blame] | 123 | clock-output-names = "cpu"; |
Maxime Ripard | de7dc93 | 2013-07-25 21:12:52 +0200 | [diff] [blame] | 124 | }; |
| 125 | |
| 126 | axi: axi@01c20054 { |
| 127 | #clock-cells = <0>; |
Maxime Ripard | bf6534a | 2014-02-06 09:55:58 +0100 | [diff] [blame] | 128 | compatible = "allwinner,sun4i-a10-axi-clk"; |
Maxime Ripard | de7dc93 | 2013-07-25 21:12:52 +0200 | [diff] [blame] | 129 | reg = <0x01c20054 0x4>; |
| 130 | clocks = <&cpu>; |
Chen-Yu Tsai | 06067a2 | 2014-02-03 09:51:44 +0800 | [diff] [blame] | 131 | clock-output-names = "axi"; |
Maxime Ripard | de7dc93 | 2013-07-25 21:12:52 +0200 | [diff] [blame] | 132 | }; |
| 133 | |
| 134 | ahb: ahb@01c20054 { |
| 135 | #clock-cells = <0>; |
Maxime Ripard | bf6534a | 2014-02-06 09:55:58 +0100 | [diff] [blame] | 136 | compatible = "allwinner,sun4i-a10-ahb-clk"; |
Maxime Ripard | de7dc93 | 2013-07-25 21:12:52 +0200 | [diff] [blame] | 137 | reg = <0x01c20054 0x4>; |
| 138 | clocks = <&axi>; |
Chen-Yu Tsai | 06067a2 | 2014-02-03 09:51:44 +0800 | [diff] [blame] | 139 | clock-output-names = "ahb"; |
Maxime Ripard | de7dc93 | 2013-07-25 21:12:52 +0200 | [diff] [blame] | 140 | }; |
| 141 | |
Chen-Yu Tsai | 06067a2 | 2014-02-03 09:51:44 +0800 | [diff] [blame] | 142 | ahb_gates: clk@01c20060 { |
Maxime Ripard | de7dc93 | 2013-07-25 21:12:52 +0200 | [diff] [blame] | 143 | #clock-cells = <1>; |
| 144 | compatible = "allwinner,sun7i-a20-ahb-gates-clk"; |
| 145 | reg = <0x01c20060 0x8>; |
| 146 | clocks = <&ahb>; |
| 147 | clock-output-names = "ahb_usb0", "ahb_ehci0", |
| 148 | "ahb_ohci0", "ahb_ehci1", "ahb_ohci1", |
| 149 | "ahb_ss", "ahb_dma", "ahb_bist", "ahb_mmc0", |
| 150 | "ahb_mmc1", "ahb_mmc2", "ahb_mmc3", "ahb_ms", |
| 151 | "ahb_nand", "ahb_sdram", "ahb_ace", |
| 152 | "ahb_emac", "ahb_ts", "ahb_spi0", "ahb_spi1", |
| 153 | "ahb_spi2", "ahb_spi3", "ahb_sata", |
| 154 | "ahb_hstimer", "ahb_ve", "ahb_tvd", "ahb_tve0", |
| 155 | "ahb_tve1", "ahb_lcd0", "ahb_lcd1", "ahb_csi0", |
| 156 | "ahb_csi1", "ahb_hdmi1", "ahb_hdmi0", |
| 157 | "ahb_de_be0", "ahb_de_be1", "ahb_de_fe0", |
| 158 | "ahb_de_fe1", "ahb_gmac", "ahb_mp", |
| 159 | "ahb_mali"; |
| 160 | }; |
| 161 | |
| 162 | apb0: apb0@01c20054 { |
| 163 | #clock-cells = <0>; |
Maxime Ripard | bf6534a | 2014-02-06 09:55:58 +0100 | [diff] [blame] | 164 | compatible = "allwinner,sun4i-a10-apb0-clk"; |
Maxime Ripard | de7dc93 | 2013-07-25 21:12:52 +0200 | [diff] [blame] | 165 | reg = <0x01c20054 0x4>; |
| 166 | clocks = <&ahb>; |
Chen-Yu Tsai | 06067a2 | 2014-02-03 09:51:44 +0800 | [diff] [blame] | 167 | clock-output-names = "apb0"; |
Maxime Ripard | de7dc93 | 2013-07-25 21:12:52 +0200 | [diff] [blame] | 168 | }; |
| 169 | |
Chen-Yu Tsai | 06067a2 | 2014-02-03 09:51:44 +0800 | [diff] [blame] | 170 | apb0_gates: clk@01c20068 { |
Maxime Ripard | de7dc93 | 2013-07-25 21:12:52 +0200 | [diff] [blame] | 171 | #clock-cells = <1>; |
| 172 | compatible = "allwinner,sun7i-a20-apb0-gates-clk"; |
| 173 | reg = <0x01c20068 0x4>; |
| 174 | clocks = <&apb0>; |
| 175 | clock-output-names = "apb0_codec", "apb0_spdif", |
| 176 | "apb0_ac97", "apb0_iis0", "apb0_iis1", |
| 177 | "apb0_pio", "apb0_ir0", "apb0_ir1", |
| 178 | "apb0_iis2", "apb0_keypad"; |
| 179 | }; |
| 180 | |
| 181 | apb1_mux: apb1_mux@01c20058 { |
| 182 | #clock-cells = <0>; |
Maxime Ripard | bf6534a | 2014-02-06 09:55:58 +0100 | [diff] [blame] | 183 | compatible = "allwinner,sun4i-a10-apb1-mux-clk"; |
Maxime Ripard | de7dc93 | 2013-07-25 21:12:52 +0200 | [diff] [blame] | 184 | reg = <0x01c20058 0x4>; |
Emilio López | c3e5e66 | 2013-12-23 00:32:38 -0300 | [diff] [blame] | 185 | clocks = <&osc24M>, <&pll6 1>, <&osc32k>; |
Chen-Yu Tsai | 06067a2 | 2014-02-03 09:51:44 +0800 | [diff] [blame] | 186 | clock-output-names = "apb1_mux"; |
Maxime Ripard | de7dc93 | 2013-07-25 21:12:52 +0200 | [diff] [blame] | 187 | }; |
| 188 | |
| 189 | apb1: apb1@01c20058 { |
| 190 | #clock-cells = <0>; |
Maxime Ripard | bf6534a | 2014-02-06 09:55:58 +0100 | [diff] [blame] | 191 | compatible = "allwinner,sun4i-a10-apb1-clk"; |
Maxime Ripard | de7dc93 | 2013-07-25 21:12:52 +0200 | [diff] [blame] | 192 | reg = <0x01c20058 0x4>; |
| 193 | clocks = <&apb1_mux>; |
Chen-Yu Tsai | 06067a2 | 2014-02-03 09:51:44 +0800 | [diff] [blame] | 194 | clock-output-names = "apb1"; |
Maxime Ripard | de7dc93 | 2013-07-25 21:12:52 +0200 | [diff] [blame] | 195 | }; |
| 196 | |
Chen-Yu Tsai | 06067a2 | 2014-02-03 09:51:44 +0800 | [diff] [blame] | 197 | apb1_gates: clk@01c2006c { |
Maxime Ripard | de7dc93 | 2013-07-25 21:12:52 +0200 | [diff] [blame] | 198 | #clock-cells = <1>; |
| 199 | compatible = "allwinner,sun7i-a20-apb1-gates-clk"; |
| 200 | reg = <0x01c2006c 0x4>; |
| 201 | clocks = <&apb1>; |
| 202 | clock-output-names = "apb1_i2c0", "apb1_i2c1", |
| 203 | "apb1_i2c2", "apb1_i2c3", "apb1_can", |
| 204 | "apb1_scr", "apb1_ps20", "apb1_ps21", |
| 205 | "apb1_i2c4", "apb1_uart0", "apb1_uart1", |
| 206 | "apb1_uart2", "apb1_uart3", "apb1_uart4", |
| 207 | "apb1_uart5", "apb1_uart6", "apb1_uart7"; |
| 208 | }; |
Emilio López | 1c92b95 | 2013-12-23 00:32:43 -0300 | [diff] [blame] | 209 | |
| 210 | nand_clk: clk@01c20080 { |
| 211 | #clock-cells = <0>; |
Maxime Ripard | bf6534a | 2014-02-06 09:55:58 +0100 | [diff] [blame] | 212 | compatible = "allwinner,sun4i-a10-mod0-clk"; |
Emilio López | 1c92b95 | 2013-12-23 00:32:43 -0300 | [diff] [blame] | 213 | reg = <0x01c20080 0x4>; |
| 214 | clocks = <&osc24M>, <&pll6 1>, <&pll5 1>; |
| 215 | clock-output-names = "nand"; |
| 216 | }; |
| 217 | |
| 218 | ms_clk: clk@01c20084 { |
| 219 | #clock-cells = <0>; |
Maxime Ripard | bf6534a | 2014-02-06 09:55:58 +0100 | [diff] [blame] | 220 | compatible = "allwinner,sun4i-a10-mod0-clk"; |
Emilio López | 1c92b95 | 2013-12-23 00:32:43 -0300 | [diff] [blame] | 221 | reg = <0x01c20084 0x4>; |
| 222 | clocks = <&osc24M>, <&pll6 1>, <&pll5 1>; |
| 223 | clock-output-names = "ms"; |
| 224 | }; |
| 225 | |
| 226 | mmc0_clk: clk@01c20088 { |
| 227 | #clock-cells = <0>; |
Maxime Ripard | bf6534a | 2014-02-06 09:55:58 +0100 | [diff] [blame] | 228 | compatible = "allwinner,sun4i-a10-mod0-clk"; |
Emilio López | 1c92b95 | 2013-12-23 00:32:43 -0300 | [diff] [blame] | 229 | reg = <0x01c20088 0x4>; |
| 230 | clocks = <&osc24M>, <&pll6 1>, <&pll5 1>; |
| 231 | clock-output-names = "mmc0"; |
| 232 | }; |
| 233 | |
| 234 | mmc1_clk: clk@01c2008c { |
| 235 | #clock-cells = <0>; |
Maxime Ripard | bf6534a | 2014-02-06 09:55:58 +0100 | [diff] [blame] | 236 | compatible = "allwinner,sun4i-a10-mod0-clk"; |
Emilio López | 1c92b95 | 2013-12-23 00:32:43 -0300 | [diff] [blame] | 237 | reg = <0x01c2008c 0x4>; |
| 238 | clocks = <&osc24M>, <&pll6 1>, <&pll5 1>; |
| 239 | clock-output-names = "mmc1"; |
| 240 | }; |
| 241 | |
| 242 | mmc2_clk: clk@01c20090 { |
| 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 | 1c92b95 | 2013-12-23 00:32:43 -0300 | [diff] [blame] | 245 | reg = <0x01c20090 0x4>; |
| 246 | clocks = <&osc24M>, <&pll6 1>, <&pll5 1>; |
| 247 | clock-output-names = "mmc2"; |
| 248 | }; |
| 249 | |
| 250 | mmc3_clk: clk@01c20094 { |
| 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 | 1c92b95 | 2013-12-23 00:32:43 -0300 | [diff] [blame] | 253 | reg = <0x01c20094 0x4>; |
| 254 | clocks = <&osc24M>, <&pll6 1>, <&pll5 1>; |
| 255 | clock-output-names = "mmc3"; |
| 256 | }; |
| 257 | |
| 258 | ts_clk: clk@01c20098 { |
| 259 | #clock-cells = <0>; |
Maxime Ripard | bf6534a | 2014-02-06 09:55:58 +0100 | [diff] [blame] | 260 | compatible = "allwinner,sun4i-a10-mod0-clk"; |
Emilio López | 1c92b95 | 2013-12-23 00:32:43 -0300 | [diff] [blame] | 261 | reg = <0x01c20098 0x4>; |
| 262 | clocks = <&osc24M>, <&pll6 1>, <&pll5 1>; |
| 263 | clock-output-names = "ts"; |
| 264 | }; |
| 265 | |
| 266 | ss_clk: clk@01c2009c { |
| 267 | #clock-cells = <0>; |
Maxime Ripard | bf6534a | 2014-02-06 09:55:58 +0100 | [diff] [blame] | 268 | compatible = "allwinner,sun4i-a10-mod0-clk"; |
Emilio López | 1c92b95 | 2013-12-23 00:32:43 -0300 | [diff] [blame] | 269 | reg = <0x01c2009c 0x4>; |
| 270 | clocks = <&osc24M>, <&pll6 1>, <&pll5 1>; |
| 271 | clock-output-names = "ss"; |
| 272 | }; |
| 273 | |
| 274 | spi0_clk: clk@01c200a0 { |
| 275 | #clock-cells = <0>; |
Maxime Ripard | bf6534a | 2014-02-06 09:55:58 +0100 | [diff] [blame] | 276 | compatible = "allwinner,sun4i-a10-mod0-clk"; |
Emilio López | 1c92b95 | 2013-12-23 00:32:43 -0300 | [diff] [blame] | 277 | reg = <0x01c200a0 0x4>; |
| 278 | clocks = <&osc24M>, <&pll6 1>, <&pll5 1>; |
| 279 | clock-output-names = "spi0"; |
| 280 | }; |
| 281 | |
| 282 | spi1_clk: clk@01c200a4 { |
| 283 | #clock-cells = <0>; |
Maxime Ripard | bf6534a | 2014-02-06 09:55:58 +0100 | [diff] [blame] | 284 | compatible = "allwinner,sun4i-a10-mod0-clk"; |
Emilio López | 1c92b95 | 2013-12-23 00:32:43 -0300 | [diff] [blame] | 285 | reg = <0x01c200a4 0x4>; |
| 286 | clocks = <&osc24M>, <&pll6 1>, <&pll5 1>; |
| 287 | clock-output-names = "spi1"; |
| 288 | }; |
| 289 | |
| 290 | spi2_clk: clk@01c200a8 { |
| 291 | #clock-cells = <0>; |
Maxime Ripard | bf6534a | 2014-02-06 09:55:58 +0100 | [diff] [blame] | 292 | compatible = "allwinner,sun4i-a10-mod0-clk"; |
Emilio López | 1c92b95 | 2013-12-23 00:32:43 -0300 | [diff] [blame] | 293 | reg = <0x01c200a8 0x4>; |
| 294 | clocks = <&osc24M>, <&pll6 1>, <&pll5 1>; |
| 295 | clock-output-names = "spi2"; |
| 296 | }; |
| 297 | |
| 298 | pata_clk: clk@01c200ac { |
| 299 | #clock-cells = <0>; |
Maxime Ripard | bf6534a | 2014-02-06 09:55:58 +0100 | [diff] [blame] | 300 | compatible = "allwinner,sun4i-a10-mod0-clk"; |
Emilio López | 1c92b95 | 2013-12-23 00:32:43 -0300 | [diff] [blame] | 301 | reg = <0x01c200ac 0x4>; |
| 302 | clocks = <&osc24M>, <&pll6 1>, <&pll5 1>; |
| 303 | clock-output-names = "pata"; |
| 304 | }; |
| 305 | |
| 306 | ir0_clk: clk@01c200b0 { |
| 307 | #clock-cells = <0>; |
Maxime Ripard | bf6534a | 2014-02-06 09:55:58 +0100 | [diff] [blame] | 308 | compatible = "allwinner,sun4i-a10-mod0-clk"; |
Emilio López | 1c92b95 | 2013-12-23 00:32:43 -0300 | [diff] [blame] | 309 | reg = <0x01c200b0 0x4>; |
| 310 | clocks = <&osc24M>, <&pll6 1>, <&pll5 1>; |
| 311 | clock-output-names = "ir0"; |
| 312 | }; |
| 313 | |
| 314 | ir1_clk: clk@01c200b4 { |
| 315 | #clock-cells = <0>; |
Maxime Ripard | bf6534a | 2014-02-06 09:55:58 +0100 | [diff] [blame] | 316 | compatible = "allwinner,sun4i-a10-mod0-clk"; |
Emilio López | 1c92b95 | 2013-12-23 00:32:43 -0300 | [diff] [blame] | 317 | reg = <0x01c200b4 0x4>; |
| 318 | clocks = <&osc24M>, <&pll6 1>, <&pll5 1>; |
| 319 | clock-output-names = "ir1"; |
| 320 | }; |
| 321 | |
Roman Byshko | 434e41b | 2014-02-07 16:21:53 +0100 | [diff] [blame] | 322 | usb_clk: clk@01c200cc { |
| 323 | #clock-cells = <1>; |
| 324 | #reset-cells = <1>; |
| 325 | compatible = "allwinner,sun4i-a10-usb-clk"; |
| 326 | reg = <0x01c200cc 0x4>; |
| 327 | clocks = <&pll6 1>; |
| 328 | clock-output-names = "usb_ohci0", "usb_ohci1", "usb_phy"; |
| 329 | }; |
| 330 | |
Emilio López | 1c92b95 | 2013-12-23 00:32:43 -0300 | [diff] [blame] | 331 | spi3_clk: clk@01c200d4 { |
| 332 | #clock-cells = <0>; |
Maxime Ripard | bf6534a | 2014-02-06 09:55:58 +0100 | [diff] [blame] | 333 | compatible = "allwinner,sun4i-a10-mod0-clk"; |
Emilio López | 1c92b95 | 2013-12-23 00:32:43 -0300 | [diff] [blame] | 334 | reg = <0x01c200d4 0x4>; |
| 335 | clocks = <&osc24M>, <&pll6 1>, <&pll5 1>; |
| 336 | clock-output-names = "spi3"; |
| 337 | }; |
Emilio López | 118c07a | 2013-12-23 00:32:44 -0300 | [diff] [blame] | 338 | |
| 339 | mbus_clk: clk@01c2015c { |
| 340 | #clock-cells = <0>; |
Maxime Ripard | bf6534a | 2014-02-06 09:55:58 +0100 | [diff] [blame] | 341 | compatible = "allwinner,sun4i-a10-mod0-clk"; |
Emilio López | 118c07a | 2013-12-23 00:32:44 -0300 | [diff] [blame] | 342 | reg = <0x01c2015c 0x4>; |
| 343 | clocks = <&osc24M>, <&pll6 2>, <&pll5 1>; |
| 344 | clock-output-names = "mbus"; |
| 345 | }; |
Chen-Yu Tsai | 0aff037 | 2014-01-01 10:30:48 +0800 | [diff] [blame] | 346 | |
| 347 | /* |
Chen-Yu Tsai | daed5a8 | 2014-02-10 18:35:48 +0800 | [diff] [blame] | 348 | * The following two are dummy clocks, placeholders used in the gmac_tx |
| 349 | * clock. The gmac driver will choose one parent depending on the PHY |
| 350 | * interface mode, using clk_set_rate auto-reparenting. |
| 351 | * The actual TX clock rate is not controlled by the gmac_tx clock. |
| 352 | */ |
| 353 | mii_phy_tx_clk: clk@2 { |
| 354 | #clock-cells = <0>; |
| 355 | compatible = "fixed-clock"; |
| 356 | clock-frequency = <25000000>; |
| 357 | clock-output-names = "mii_phy_tx"; |
| 358 | }; |
| 359 | |
| 360 | gmac_int_tx_clk: clk@3 { |
| 361 | #clock-cells = <0>; |
| 362 | compatible = "fixed-clock"; |
| 363 | clock-frequency = <125000000>; |
| 364 | clock-output-names = "gmac_int_tx"; |
| 365 | }; |
| 366 | |
| 367 | gmac_tx_clk: clk@01c20164 { |
| 368 | #clock-cells = <0>; |
| 369 | compatible = "allwinner,sun7i-a20-gmac-clk"; |
| 370 | reg = <0x01c20164 0x4>; |
| 371 | clocks = <&mii_phy_tx_clk>, <&gmac_int_tx_clk>; |
| 372 | clock-output-names = "gmac_tx"; |
| 373 | }; |
| 374 | |
| 375 | /* |
Chen-Yu Tsai | 0aff037 | 2014-01-01 10:30:48 +0800 | [diff] [blame] | 376 | * Dummy clock used by output clocks |
| 377 | */ |
| 378 | osc24M_32k: clk@1 { |
| 379 | #clock-cells = <0>; |
| 380 | compatible = "fixed-factor-clock"; |
| 381 | clock-div = <750>; |
| 382 | clock-mult = <1>; |
| 383 | clocks = <&osc24M>; |
| 384 | clock-output-names = "osc24M_32k"; |
| 385 | }; |
| 386 | |
| 387 | clk_out_a: clk@01c201f0 { |
| 388 | #clock-cells = <0>; |
| 389 | compatible = "allwinner,sun7i-a20-out-clk"; |
| 390 | reg = <0x01c201f0 0x4>; |
| 391 | clocks = <&osc24M_32k>, <&osc32k>, <&osc24M>; |
| 392 | clock-output-names = "clk_out_a"; |
| 393 | }; |
| 394 | |
| 395 | clk_out_b: clk@01c201f4 { |
| 396 | #clock-cells = <0>; |
| 397 | compatible = "allwinner,sun7i-a20-out-clk"; |
| 398 | reg = <0x01c201f4 0x4>; |
| 399 | clocks = <&osc24M_32k>, <&osc32k>, <&osc24M>; |
| 400 | clock-output-names = "clk_out_b"; |
| 401 | }; |
Maxime Ripard | 4790ecf | 2013-07-17 10:07:10 +0200 | [diff] [blame] | 402 | }; |
| 403 | |
| 404 | soc@01c00000 { |
| 405 | compatible = "simple-bus"; |
| 406 | #address-cells = <1>; |
| 407 | #size-cells = <1>; |
| 408 | ranges; |
| 409 | |
Carlo Caione | 8ff973a | 2014-03-19 20:21:18 +0100 | [diff] [blame] | 410 | nmi_intc: interrupt-controller@01c00030 { |
| 411 | compatible = "allwinner,sun7i-a20-sc-nmi"; |
| 412 | interrupt-controller; |
| 413 | #interrupt-cells = <2>; |
| 414 | reg = <0x01c00030 0x0c>; |
| 415 | interrupts = <0 0 4>; |
| 416 | }; |
| 417 | |
Maxime Ripard | 36ab3e7 | 2014-02-22 22:35:54 +0100 | [diff] [blame] | 418 | spi0: spi@01c05000 { |
| 419 | compatible = "allwinner,sun4i-a10-spi"; |
| 420 | reg = <0x01c05000 0x1000>; |
| 421 | interrupts = <0 10 4>; |
| 422 | clocks = <&ahb_gates 20>, <&spi0_clk>; |
| 423 | clock-names = "ahb", "mod"; |
| 424 | status = "disabled"; |
| 425 | #address-cells = <1>; |
| 426 | #size-cells = <0>; |
| 427 | }; |
| 428 | |
| 429 | spi1: spi@01c06000 { |
| 430 | compatible = "allwinner,sun4i-a10-spi"; |
| 431 | reg = <0x01c06000 0x1000>; |
| 432 | interrupts = <0 11 4>; |
| 433 | clocks = <&ahb_gates 21>, <&spi1_clk>; |
| 434 | clock-names = "ahb", "mod"; |
| 435 | status = "disabled"; |
| 436 | #address-cells = <1>; |
| 437 | #size-cells = <0>; |
| 438 | }; |
| 439 | |
Maxime Ripard | 2e804d0 | 2013-09-11 11:10:06 +0200 | [diff] [blame] | 440 | emac: ethernet@01c0b000 { |
Maxime Ripard | 1c70e09 | 2014-02-02 14:49:13 +0100 | [diff] [blame] | 441 | compatible = "allwinner,sun4i-a10-emac"; |
Maxime Ripard | 2e804d0 | 2013-09-11 11:10:06 +0200 | [diff] [blame] | 442 | reg = <0x01c0b000 0x1000>; |
Maxime Ripard | 378d0ae | 2013-12-10 19:37:21 +0100 | [diff] [blame] | 443 | interrupts = <0 55 4>; |
Maxime Ripard | 2e804d0 | 2013-09-11 11:10:06 +0200 | [diff] [blame] | 444 | clocks = <&ahb_gates 17>; |
| 445 | status = "disabled"; |
| 446 | }; |
| 447 | |
| 448 | mdio@01c0b080 { |
Maxime Ripard | 1c70e09 | 2014-02-02 14:49:13 +0100 | [diff] [blame] | 449 | compatible = "allwinner,sun4i-a10-mdio"; |
Maxime Ripard | 2e804d0 | 2013-09-11 11:10:06 +0200 | [diff] [blame] | 450 | reg = <0x01c0b080 0x14>; |
| 451 | status = "disabled"; |
| 452 | #address-cells = <1>; |
| 453 | #size-cells = <0>; |
| 454 | }; |
| 455 | |
Roman Byshko | 9debd0a | 2014-03-01 20:26:25 +0100 | [diff] [blame] | 456 | usbphy: phy@01c13400 { |
| 457 | #phy-cells = <1>; |
| 458 | compatible = "allwinner,sun7i-a20-usb-phy"; |
| 459 | reg = <0x01c13400 0x10 0x01c14800 0x4 0x01c1c800 0x4>; |
| 460 | reg-names = "phy_ctrl", "pmu1", "pmu2"; |
| 461 | clocks = <&usb_clk 8>; |
| 462 | clock-names = "usb_phy"; |
| 463 | resets = <&usb_clk 1>, <&usb_clk 2>; |
| 464 | reset-names = "usb1_reset", "usb2_reset"; |
| 465 | status = "disabled"; |
| 466 | }; |
| 467 | |
| 468 | ehci0: usb@01c14000 { |
| 469 | compatible = "allwinner,sun7i-a20-ehci", "generic-ehci"; |
| 470 | reg = <0x01c14000 0x100>; |
| 471 | interrupts = <0 39 4>; |
| 472 | clocks = <&ahb_gates 1>; |
| 473 | phys = <&usbphy 1>; |
| 474 | phy-names = "usb"; |
| 475 | status = "disabled"; |
| 476 | }; |
| 477 | |
| 478 | ohci0: usb@01c14400 { |
| 479 | compatible = "allwinner,sun7i-a20-ohci", "generic-ohci"; |
| 480 | reg = <0x01c14400 0x100>; |
| 481 | interrupts = <0 64 4>; |
| 482 | clocks = <&usb_clk 6>, <&ahb_gates 2>; |
| 483 | phys = <&usbphy 1>; |
| 484 | phy-names = "usb"; |
| 485 | status = "disabled"; |
| 486 | }; |
| 487 | |
Maxime Ripard | 36ab3e7 | 2014-02-22 22:35:54 +0100 | [diff] [blame] | 488 | spi2: spi@01c17000 { |
| 489 | compatible = "allwinner,sun4i-a10-spi"; |
| 490 | reg = <0x01c17000 0x1000>; |
| 491 | interrupts = <0 12 4>; |
| 492 | clocks = <&ahb_gates 22>, <&spi2_clk>; |
| 493 | clock-names = "ahb", "mod"; |
| 494 | status = "disabled"; |
| 495 | #address-cells = <1>; |
| 496 | #size-cells = <0>; |
| 497 | }; |
| 498 | |
Hans de Goede | 902febf | 2014-03-01 20:26:22 +0100 | [diff] [blame] | 499 | ahci: sata@01c18000 { |
| 500 | compatible = "allwinner,sun4i-a10-ahci"; |
| 501 | reg = <0x01c18000 0x1000>; |
| 502 | interrupts = <0 56 4>; |
| 503 | clocks = <&pll6 0>, <&ahb_gates 25>; |
| 504 | status = "disabled"; |
| 505 | }; |
| 506 | |
Roman Byshko | 9debd0a | 2014-03-01 20:26:25 +0100 | [diff] [blame] | 507 | ehci1: usb@01c1c000 { |
| 508 | compatible = "allwinner,sun7i-a20-ehci", "generic-ehci"; |
| 509 | reg = <0x01c1c000 0x100>; |
| 510 | interrupts = <0 40 4>; |
| 511 | clocks = <&ahb_gates 3>; |
| 512 | phys = <&usbphy 2>; |
| 513 | phy-names = "usb"; |
| 514 | status = "disabled"; |
| 515 | }; |
| 516 | |
| 517 | ohci1: usb@01c1c400 { |
| 518 | compatible = "allwinner,sun7i-a20-ohci", "generic-ohci"; |
| 519 | reg = <0x01c1c400 0x100>; |
| 520 | interrupts = <0 65 4>; |
| 521 | clocks = <&usb_clk 7>, <&ahb_gates 4>; |
| 522 | phys = <&usbphy 2>; |
| 523 | phy-names = "usb"; |
| 524 | status = "disabled"; |
| 525 | }; |
| 526 | |
Maxime Ripard | 36ab3e7 | 2014-02-22 22:35:54 +0100 | [diff] [blame] | 527 | spi3: spi@01c1f000 { |
| 528 | compatible = "allwinner,sun4i-a10-spi"; |
| 529 | reg = <0x01c1f000 0x1000>; |
| 530 | interrupts = <0 50 4>; |
| 531 | clocks = <&ahb_gates 23>, <&spi3_clk>; |
| 532 | clock-names = "ahb", "mod"; |
| 533 | status = "disabled"; |
| 534 | #address-cells = <1>; |
| 535 | #size-cells = <0>; |
| 536 | }; |
| 537 | |
Maxime Ripard | 17eac03 | 2013-07-24 23:46:11 +0200 | [diff] [blame] | 538 | pio: pinctrl@01c20800 { |
| 539 | compatible = "allwinner,sun7i-a20-pinctrl"; |
| 540 | reg = <0x01c20800 0x400>; |
Maxime Ripard | 378d0ae | 2013-12-10 19:37:21 +0100 | [diff] [blame] | 541 | interrupts = <0 28 4>; |
Maxime Ripard | de7dc93 | 2013-07-25 21:12:52 +0200 | [diff] [blame] | 542 | clocks = <&apb0_gates 5>; |
Maxime Ripard | 17eac03 | 2013-07-24 23:46:11 +0200 | [diff] [blame] | 543 | gpio-controller; |
| 544 | interrupt-controller; |
| 545 | #address-cells = <1>; |
| 546 | #size-cells = <0>; |
| 547 | #gpio-cells = <3>; |
Maxime Ripard | 9f229ba | 2013-07-25 00:09:47 +0200 | [diff] [blame] | 548 | |
Alexandre Belloni | fd7898a | 2014-04-28 18:17:12 +0200 | [diff] [blame^] | 549 | pwm0_pins_a: pwm0@0 { |
| 550 | allwinner,pins = "PB2"; |
| 551 | allwinner,function = "pwm"; |
| 552 | allwinner,drive = <0>; |
| 553 | allwinner,pull = <0>; |
| 554 | }; |
| 555 | |
| 556 | pwm1_pins_a: pwm1@0 { |
| 557 | allwinner,pins = "PI3"; |
| 558 | allwinner,function = "pwm"; |
| 559 | allwinner,drive = <0>; |
| 560 | allwinner,pull = <0>; |
| 561 | }; |
| 562 | |
Maxime Ripard | 9f229ba | 2013-07-25 00:09:47 +0200 | [diff] [blame] | 563 | uart0_pins_a: uart0@0 { |
| 564 | allwinner,pins = "PB22", "PB23"; |
| 565 | allwinner,function = "uart0"; |
| 566 | allwinner,drive = <0>; |
| 567 | allwinner,pull = <0>; |
| 568 | }; |
| 569 | |
Chen-Yu Tsai | 4261ec4 | 2014-01-14 22:49:50 +0800 | [diff] [blame] | 570 | uart2_pins_a: uart2@0 { |
| 571 | allwinner,pins = "PI16", "PI17", "PI18", "PI19"; |
| 572 | allwinner,function = "uart2"; |
| 573 | allwinner,drive = <0>; |
| 574 | allwinner,pull = <0>; |
| 575 | }; |
| 576 | |
Maxime Ripard | 9f229ba | 2013-07-25 00:09:47 +0200 | [diff] [blame] | 577 | uart6_pins_a: uart6@0 { |
| 578 | allwinner,pins = "PI12", "PI13"; |
| 579 | allwinner,function = "uart6"; |
| 580 | allwinner,drive = <0>; |
| 581 | allwinner,pull = <0>; |
| 582 | }; |
| 583 | |
| 584 | uart7_pins_a: uart7@0 { |
| 585 | allwinner,pins = "PI20", "PI21"; |
| 586 | allwinner,function = "uart7"; |
| 587 | allwinner,drive = <0>; |
| 588 | allwinner,pull = <0>; |
| 589 | }; |
Maxime Ripard | 756084c | 2013-09-11 11:10:07 +0200 | [diff] [blame] | 590 | |
Maxime Ripard | e5496a3 | 2013-08-31 23:08:49 +0200 | [diff] [blame] | 591 | i2c0_pins_a: i2c0@0 { |
| 592 | allwinner,pins = "PB0", "PB1"; |
| 593 | allwinner,function = "i2c0"; |
| 594 | allwinner,drive = <0>; |
| 595 | allwinner,pull = <0>; |
| 596 | }; |
| 597 | |
| 598 | i2c1_pins_a: i2c1@0 { |
| 599 | allwinner,pins = "PB18", "PB19"; |
| 600 | allwinner,function = "i2c1"; |
| 601 | allwinner,drive = <0>; |
| 602 | allwinner,pull = <0>; |
| 603 | }; |
| 604 | |
| 605 | i2c2_pins_a: i2c2@0 { |
| 606 | allwinner,pins = "PB20", "PB21"; |
| 607 | allwinner,function = "i2c2"; |
| 608 | allwinner,drive = <0>; |
| 609 | allwinner,pull = <0>; |
| 610 | }; |
| 611 | |
Maxime Ripard | 756084c | 2013-09-11 11:10:07 +0200 | [diff] [blame] | 612 | emac_pins_a: emac0@0 { |
| 613 | allwinner,pins = "PA0", "PA1", "PA2", |
| 614 | "PA3", "PA4", "PA5", "PA6", |
| 615 | "PA7", "PA8", "PA9", "PA10", |
| 616 | "PA11", "PA12", "PA13", "PA14", |
| 617 | "PA15", "PA16"; |
| 618 | allwinner,function = "emac"; |
| 619 | allwinner,drive = <0>; |
| 620 | allwinner,pull = <0>; |
| 621 | }; |
Chen-Yu Tsai | f2e0759 | 2014-01-01 10:30:50 +0800 | [diff] [blame] | 622 | |
| 623 | clk_out_a_pins_a: clk_out_a@0 { |
| 624 | allwinner,pins = "PI12"; |
| 625 | allwinner,function = "clk_out_a"; |
| 626 | allwinner,drive = <0>; |
| 627 | allwinner,pull = <0>; |
| 628 | }; |
| 629 | |
| 630 | clk_out_b_pins_a: clk_out_b@0 { |
| 631 | allwinner,pins = "PI13"; |
| 632 | allwinner,function = "clk_out_b"; |
| 633 | allwinner,drive = <0>; |
| 634 | allwinner,pull = <0>; |
| 635 | }; |
Chen-Yu Tsai | 129ccbc | 2014-02-10 18:35:50 +0800 | [diff] [blame] | 636 | |
| 637 | gmac_pins_mii_a: gmac_mii@0 { |
| 638 | allwinner,pins = "PA0", "PA1", "PA2", |
| 639 | "PA3", "PA4", "PA5", "PA6", |
| 640 | "PA7", "PA8", "PA9", "PA10", |
| 641 | "PA11", "PA12", "PA13", "PA14", |
| 642 | "PA15", "PA16"; |
| 643 | allwinner,function = "gmac"; |
| 644 | allwinner,drive = <0>; |
| 645 | allwinner,pull = <0>; |
| 646 | }; |
| 647 | |
| 648 | gmac_pins_rgmii_a: gmac_rgmii@0 { |
| 649 | allwinner,pins = "PA0", "PA1", "PA2", |
| 650 | "PA3", "PA4", "PA5", "PA6", |
| 651 | "PA7", "PA8", "PA10", |
| 652 | "PA11", "PA12", "PA13", |
| 653 | "PA15", "PA16"; |
| 654 | allwinner,function = "gmac"; |
| 655 | /* |
| 656 | * data lines in RGMII mode use DDR mode |
| 657 | * and need a higher signal drive strength |
| 658 | */ |
| 659 | allwinner,drive = <3>; |
| 660 | allwinner,pull = <0>; |
| 661 | }; |
Maxime Ripard | 412f2c6 | 2014-02-22 22:35:58 +0100 | [diff] [blame] | 662 | |
| 663 | spi1_pins_a: spi1@0 { |
| 664 | allwinner,pins = "PI16", "PI17", "PI18", "PI19"; |
| 665 | allwinner,function = "spi1"; |
| 666 | allwinner,drive = <0>; |
| 667 | allwinner,pull = <0>; |
| 668 | }; |
| 669 | |
| 670 | spi2_pins_a: spi2@0 { |
| 671 | allwinner,pins = "PC19", "PC20", "PC21", "PC22"; |
| 672 | allwinner,function = "spi2"; |
| 673 | allwinner,drive = <0>; |
| 674 | allwinner,pull = <0>; |
| 675 | }; |
Maxime Ripard | 17eac03 | 2013-07-24 23:46:11 +0200 | [diff] [blame] | 676 | }; |
| 677 | |
Maxime Ripard | 4790ecf | 2013-07-17 10:07:10 +0200 | [diff] [blame] | 678 | timer@01c20c00 { |
Maxime Ripard | b4f2644 | 2014-02-06 10:40:32 +0100 | [diff] [blame] | 679 | compatible = "allwinner,sun4i-a10-timer"; |
Maxime Ripard | 4790ecf | 2013-07-17 10:07:10 +0200 | [diff] [blame] | 680 | reg = <0x01c20c00 0x90>; |
Maxime Ripard | 378d0ae | 2013-12-10 19:37:21 +0100 | [diff] [blame] | 681 | interrupts = <0 22 4>, |
| 682 | <0 23 4>, |
| 683 | <0 24 4>, |
| 684 | <0 25 4>, |
| 685 | <0 67 4>, |
| 686 | <0 68 4>; |
Maxime Ripard | 4790ecf | 2013-07-17 10:07:10 +0200 | [diff] [blame] | 687 | clocks = <&osc24M>; |
| 688 | }; |
| 689 | |
| 690 | wdt: watchdog@01c20c90 { |
Maxime Ripard | ca5d04d | 2014-02-07 22:29:26 +0100 | [diff] [blame] | 691 | compatible = "allwinner,sun4i-a10-wdt"; |
Maxime Ripard | 4790ecf | 2013-07-17 10:07:10 +0200 | [diff] [blame] | 692 | reg = <0x01c20c90 0x10>; |
| 693 | }; |
| 694 | |
Carlo Caione | b5d905c | 2013-10-16 20:30:26 +0200 | [diff] [blame] | 695 | rtc: rtc@01c20d00 { |
| 696 | compatible = "allwinner,sun7i-a20-rtc"; |
| 697 | reg = <0x01c20d00 0x20>; |
Maxime Ripard | 2f41898 | 2014-02-01 16:46:16 +0100 | [diff] [blame] | 698 | interrupts = <0 24 4>; |
Carlo Caione | b5d905c | 2013-10-16 20:30:26 +0200 | [diff] [blame] | 699 | }; |
| 700 | |
Oliver Schinagl | 2bad969 | 2013-09-03 12:33:28 +0200 | [diff] [blame] | 701 | sid: eeprom@01c23800 { |
| 702 | compatible = "allwinner,sun7i-a20-sid"; |
| 703 | reg = <0x01c23800 0x200>; |
| 704 | }; |
| 705 | |
Hans de Goede | 00f7ed8 | 2013-12-31 17:20:52 +0100 | [diff] [blame] | 706 | rtp: rtp@01c25000 { |
Maxime Ripard | 40dd8f3 | 2014-02-02 14:52:40 +0100 | [diff] [blame] | 707 | compatible = "allwinner,sun4i-a10-ts"; |
Hans de Goede | 00f7ed8 | 2013-12-31 17:20:52 +0100 | [diff] [blame] | 708 | reg = <0x01c25000 0x100>; |
| 709 | interrupts = <0 29 4>; |
| 710 | }; |
| 711 | |
Maxime Ripard | 4790ecf | 2013-07-17 10:07:10 +0200 | [diff] [blame] | 712 | uart0: serial@01c28000 { |
| 713 | compatible = "snps,dw-apb-uart"; |
| 714 | reg = <0x01c28000 0x400>; |
Maxime Ripard | 378d0ae | 2013-12-10 19:37:21 +0100 | [diff] [blame] | 715 | interrupts = <0 1 4>; |
Maxime Ripard | 4790ecf | 2013-07-17 10:07:10 +0200 | [diff] [blame] | 716 | reg-shift = <2>; |
| 717 | reg-io-width = <4>; |
Maxime Ripard | de7dc93 | 2013-07-25 21:12:52 +0200 | [diff] [blame] | 718 | clocks = <&apb1_gates 16>; |
Maxime Ripard | 4790ecf | 2013-07-17 10:07:10 +0200 | [diff] [blame] | 719 | status = "disabled"; |
| 720 | }; |
| 721 | |
| 722 | uart1: serial@01c28400 { |
| 723 | compatible = "snps,dw-apb-uart"; |
| 724 | reg = <0x01c28400 0x400>; |
Maxime Ripard | 378d0ae | 2013-12-10 19:37:21 +0100 | [diff] [blame] | 725 | interrupts = <0 2 4>; |
Maxime Ripard | 4790ecf | 2013-07-17 10:07:10 +0200 | [diff] [blame] | 726 | reg-shift = <2>; |
| 727 | reg-io-width = <4>; |
Maxime Ripard | de7dc93 | 2013-07-25 21:12:52 +0200 | [diff] [blame] | 728 | clocks = <&apb1_gates 17>; |
Maxime Ripard | 4790ecf | 2013-07-17 10:07:10 +0200 | [diff] [blame] | 729 | status = "disabled"; |
| 730 | }; |
| 731 | |
| 732 | uart2: serial@01c28800 { |
| 733 | compatible = "snps,dw-apb-uart"; |
| 734 | reg = <0x01c28800 0x400>; |
Maxime Ripard | 378d0ae | 2013-12-10 19:37:21 +0100 | [diff] [blame] | 735 | interrupts = <0 3 4>; |
Maxime Ripard | 4790ecf | 2013-07-17 10:07:10 +0200 | [diff] [blame] | 736 | reg-shift = <2>; |
| 737 | reg-io-width = <4>; |
Maxime Ripard | de7dc93 | 2013-07-25 21:12:52 +0200 | [diff] [blame] | 738 | clocks = <&apb1_gates 18>; |
Maxime Ripard | 4790ecf | 2013-07-17 10:07:10 +0200 | [diff] [blame] | 739 | status = "disabled"; |
| 740 | }; |
| 741 | |
| 742 | uart3: serial@01c28c00 { |
| 743 | compatible = "snps,dw-apb-uart"; |
| 744 | reg = <0x01c28c00 0x400>; |
Maxime Ripard | 378d0ae | 2013-12-10 19:37:21 +0100 | [diff] [blame] | 745 | interrupts = <0 4 4>; |
Maxime Ripard | 4790ecf | 2013-07-17 10:07:10 +0200 | [diff] [blame] | 746 | reg-shift = <2>; |
| 747 | reg-io-width = <4>; |
Maxime Ripard | de7dc93 | 2013-07-25 21:12:52 +0200 | [diff] [blame] | 748 | clocks = <&apb1_gates 19>; |
Maxime Ripard | 4790ecf | 2013-07-17 10:07:10 +0200 | [diff] [blame] | 749 | status = "disabled"; |
| 750 | }; |
| 751 | |
| 752 | uart4: serial@01c29000 { |
| 753 | compatible = "snps,dw-apb-uart"; |
| 754 | reg = <0x01c29000 0x400>; |
Maxime Ripard | 378d0ae | 2013-12-10 19:37:21 +0100 | [diff] [blame] | 755 | interrupts = <0 17 4>; |
Maxime Ripard | 4790ecf | 2013-07-17 10:07:10 +0200 | [diff] [blame] | 756 | reg-shift = <2>; |
| 757 | reg-io-width = <4>; |
Maxime Ripard | de7dc93 | 2013-07-25 21:12:52 +0200 | [diff] [blame] | 758 | clocks = <&apb1_gates 20>; |
Maxime Ripard | 4790ecf | 2013-07-17 10:07:10 +0200 | [diff] [blame] | 759 | status = "disabled"; |
| 760 | }; |
| 761 | |
| 762 | uart5: serial@01c29400 { |
| 763 | compatible = "snps,dw-apb-uart"; |
| 764 | reg = <0x01c29400 0x400>; |
Maxime Ripard | 378d0ae | 2013-12-10 19:37:21 +0100 | [diff] [blame] | 765 | interrupts = <0 18 4>; |
Maxime Ripard | 4790ecf | 2013-07-17 10:07:10 +0200 | [diff] [blame] | 766 | reg-shift = <2>; |
| 767 | reg-io-width = <4>; |
Maxime Ripard | de7dc93 | 2013-07-25 21:12:52 +0200 | [diff] [blame] | 768 | clocks = <&apb1_gates 21>; |
Maxime Ripard | 4790ecf | 2013-07-17 10:07:10 +0200 | [diff] [blame] | 769 | status = "disabled"; |
| 770 | }; |
| 771 | |
| 772 | uart6: serial@01c29800 { |
| 773 | compatible = "snps,dw-apb-uart"; |
| 774 | reg = <0x01c29800 0x400>; |
Maxime Ripard | 378d0ae | 2013-12-10 19:37:21 +0100 | [diff] [blame] | 775 | interrupts = <0 19 4>; |
Maxime Ripard | 4790ecf | 2013-07-17 10:07:10 +0200 | [diff] [blame] | 776 | reg-shift = <2>; |
| 777 | reg-io-width = <4>; |
Maxime Ripard | de7dc93 | 2013-07-25 21:12:52 +0200 | [diff] [blame] | 778 | clocks = <&apb1_gates 22>; |
Maxime Ripard | 4790ecf | 2013-07-17 10:07:10 +0200 | [diff] [blame] | 779 | status = "disabled"; |
| 780 | }; |
| 781 | |
| 782 | uart7: serial@01c29c00 { |
| 783 | compatible = "snps,dw-apb-uart"; |
| 784 | reg = <0x01c29c00 0x400>; |
Maxime Ripard | 378d0ae | 2013-12-10 19:37:21 +0100 | [diff] [blame] | 785 | interrupts = <0 20 4>; |
Maxime Ripard | 4790ecf | 2013-07-17 10:07:10 +0200 | [diff] [blame] | 786 | reg-shift = <2>; |
| 787 | reg-io-width = <4>; |
Maxime Ripard | de7dc93 | 2013-07-25 21:12:52 +0200 | [diff] [blame] | 788 | clocks = <&apb1_gates 23>; |
Maxime Ripard | 4790ecf | 2013-07-17 10:07:10 +0200 | [diff] [blame] | 789 | status = "disabled"; |
| 790 | }; |
| 791 | |
Maxime Ripard | 428abbb | 2013-08-31 23:07:24 +0200 | [diff] [blame] | 792 | i2c0: i2c@01c2ac00 { |
| 793 | compatible = "allwinner,sun4i-i2c"; |
| 794 | reg = <0x01c2ac00 0x400>; |
Maxime Ripard | 378d0ae | 2013-12-10 19:37:21 +0100 | [diff] [blame] | 795 | interrupts = <0 7 4>; |
Maxime Ripard | 428abbb | 2013-08-31 23:07:24 +0200 | [diff] [blame] | 796 | clocks = <&apb1_gates 0>; |
| 797 | clock-frequency = <100000>; |
| 798 | status = "disabled"; |
Hans de Goede | d1412ae | 2014-04-13 13:41:05 +0200 | [diff] [blame] | 799 | #address-cells = <1>; |
| 800 | #size-cells = <0>; |
Maxime Ripard | 428abbb | 2013-08-31 23:07:24 +0200 | [diff] [blame] | 801 | }; |
| 802 | |
| 803 | i2c1: i2c@01c2b000 { |
| 804 | compatible = "allwinner,sun4i-i2c"; |
| 805 | reg = <0x01c2b000 0x400>; |
Maxime Ripard | 378d0ae | 2013-12-10 19:37:21 +0100 | [diff] [blame] | 806 | interrupts = <0 8 4>; |
Maxime Ripard | 428abbb | 2013-08-31 23:07:24 +0200 | [diff] [blame] | 807 | clocks = <&apb1_gates 1>; |
| 808 | clock-frequency = <100000>; |
| 809 | status = "disabled"; |
Hans de Goede | d1412ae | 2014-04-13 13:41:05 +0200 | [diff] [blame] | 810 | #address-cells = <1>; |
| 811 | #size-cells = <0>; |
Maxime Ripard | 428abbb | 2013-08-31 23:07:24 +0200 | [diff] [blame] | 812 | }; |
| 813 | |
| 814 | i2c2: i2c@01c2b400 { |
| 815 | compatible = "allwinner,sun4i-i2c"; |
| 816 | reg = <0x01c2b400 0x400>; |
Maxime Ripard | 378d0ae | 2013-12-10 19:37:21 +0100 | [diff] [blame] | 817 | interrupts = <0 9 4>; |
Maxime Ripard | 428abbb | 2013-08-31 23:07:24 +0200 | [diff] [blame] | 818 | clocks = <&apb1_gates 2>; |
| 819 | clock-frequency = <100000>; |
| 820 | status = "disabled"; |
Hans de Goede | d1412ae | 2014-04-13 13:41:05 +0200 | [diff] [blame] | 821 | #address-cells = <1>; |
| 822 | #size-cells = <0>; |
Maxime Ripard | 428abbb | 2013-08-31 23:07:24 +0200 | [diff] [blame] | 823 | }; |
| 824 | |
| 825 | i2c3: i2c@01c2b800 { |
| 826 | compatible = "allwinner,sun4i-i2c"; |
| 827 | reg = <0x01c2b800 0x400>; |
Maxime Ripard | 378d0ae | 2013-12-10 19:37:21 +0100 | [diff] [blame] | 828 | interrupts = <0 88 4>; |
Maxime Ripard | 428abbb | 2013-08-31 23:07:24 +0200 | [diff] [blame] | 829 | clocks = <&apb1_gates 3>; |
| 830 | clock-frequency = <100000>; |
| 831 | status = "disabled"; |
Hans de Goede | d1412ae | 2014-04-13 13:41:05 +0200 | [diff] [blame] | 832 | #address-cells = <1>; |
| 833 | #size-cells = <0>; |
Maxime Ripard | 428abbb | 2013-08-31 23:07:24 +0200 | [diff] [blame] | 834 | }; |
| 835 | |
| 836 | i2c4: i2c@01c2bc00 { |
| 837 | compatible = "allwinner,sun4i-i2c"; |
| 838 | reg = <0x01c2bc00 0x400>; |
Maxime Ripard | 378d0ae | 2013-12-10 19:37:21 +0100 | [diff] [blame] | 839 | interrupts = <0 89 4>; |
Maxime Ripard | 428abbb | 2013-08-31 23:07:24 +0200 | [diff] [blame] | 840 | clocks = <&apb1_gates 15>; |
| 841 | clock-frequency = <100000>; |
| 842 | status = "disabled"; |
Hans de Goede | d1412ae | 2014-04-13 13:41:05 +0200 | [diff] [blame] | 843 | #address-cells = <1>; |
| 844 | #size-cells = <0>; |
Maxime Ripard | 428abbb | 2013-08-31 23:07:24 +0200 | [diff] [blame] | 845 | }; |
| 846 | |
Chen-Yu Tsai | c40b8d5 | 2014-02-10 18:35:49 +0800 | [diff] [blame] | 847 | gmac: ethernet@01c50000 { |
| 848 | compatible = "allwinner,sun7i-a20-gmac"; |
| 849 | reg = <0x01c50000 0x10000>; |
| 850 | interrupts = <0 85 4>; |
| 851 | interrupt-names = "macirq"; |
| 852 | clocks = <&ahb_gates 49>, <&gmac_tx_clk>; |
| 853 | clock-names = "stmmaceth", "allwinner_gmac_tx"; |
| 854 | snps,pbl = <2>; |
| 855 | snps,fixed-burst; |
| 856 | snps,force_sf_dma_mode; |
| 857 | status = "disabled"; |
| 858 | #address-cells = <1>; |
| 859 | #size-cells = <0>; |
| 860 | }; |
| 861 | |
Maxime Ripard | 31f8ad3 | 2013-11-07 12:01:48 +0100 | [diff] [blame] | 862 | hstimer@01c60000 { |
| 863 | compatible = "allwinner,sun7i-a20-hstimer"; |
| 864 | reg = <0x01c60000 0x1000>; |
Maxime Ripard | 2f41898 | 2014-02-01 16:46:16 +0100 | [diff] [blame] | 865 | interrupts = <0 81 4>, |
| 866 | <0 82 4>, |
| 867 | <0 83 4>, |
| 868 | <0 84 4>; |
Maxime Ripard | 31f8ad3 | 2013-11-07 12:01:48 +0100 | [diff] [blame] | 869 | clocks = <&ahb_gates 28>; |
| 870 | }; |
| 871 | |
Maxime Ripard | 4790ecf | 2013-07-17 10:07:10 +0200 | [diff] [blame] | 872 | gic: interrupt-controller@01c81000 { |
| 873 | compatible = "arm,cortex-a7-gic", "arm,cortex-a15-gic"; |
| 874 | reg = <0x01c81000 0x1000>, |
| 875 | <0x01c82000 0x1000>, |
| 876 | <0x01c84000 0x2000>, |
| 877 | <0x01c86000 0x2000>; |
| 878 | interrupt-controller; |
| 879 | #interrupt-cells = <3>; |
| 880 | interrupts = <1 9 0xf04>; |
| 881 | }; |
| 882 | }; |
| 883 | }; |