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