Stefan Roese | 7423d2d | 2012-11-26 15:46:12 +0100 | [diff] [blame] | 1 | /* |
| 2 | * Copyright 2012 Stefan Roese |
| 3 | * Stefan Roese <sr@denx.de> |
| 4 | * |
| 5 | * The code contained herein is licensed under the GNU General Public |
| 6 | * License. You may obtain a copy of the GNU General Public License |
| 7 | * Version 2 or later at the following locations: |
| 8 | * |
| 9 | * http://www.opensource.org/licenses/gpl-license.html |
| 10 | * http://www.gnu.org/copyleft/gpl.html |
| 11 | */ |
| 12 | |
Maxime Ripard | 69144e3 | 2013-03-13 20:07:37 +0100 | [diff] [blame] | 13 | /include/ "skeleton.dtsi" |
Stefan Roese | 7423d2d | 2012-11-26 15:46:12 +0100 | [diff] [blame] | 14 | |
| 15 | / { |
Maxime Ripard | 69144e3 | 2013-03-13 20:07:37 +0100 | [diff] [blame] | 16 | interrupt-parent = <&intc>; |
| 17 | |
Emilio López | e751cce | 2013-11-16 15:17:29 -0300 | [diff] [blame] | 18 | aliases { |
| 19 | ethernet0 = &emac; |
Maxime Ripard | 10b302a | 2013-11-17 10:03:04 +0100 | [diff] [blame] | 20 | serial0 = &uart0; |
| 21 | serial1 = &uart1; |
Maxime Ripard | 143b13d | 2014-01-02 22:05:04 +0100 | [diff] [blame] | 22 | serial2 = &uart2; |
| 23 | serial3 = &uart3; |
| 24 | serial4 = &uart4; |
| 25 | serial5 = &uart5; |
| 26 | serial6 = &uart6; |
| 27 | serial7 = &uart7; |
Emilio López | e751cce | 2013-11-16 15:17:29 -0300 | [diff] [blame] | 28 | }; |
| 29 | |
Maxime Ripard | 69144e3 | 2013-03-13 20:07:37 +0100 | [diff] [blame] | 30 | cpus { |
Arnd Bergmann | 8b2efa89 | 2013-06-10 16:48:36 +0200 | [diff] [blame] | 31 | #address-cells = <1>; |
| 32 | #size-cells = <0>; |
Maxime Ripard | 69144e3 | 2013-03-13 20:07:37 +0100 | [diff] [blame] | 33 | cpu@0 { |
Lorenzo Pieralisi | 14c44aa | 2013-04-18 18:41:57 +0100 | [diff] [blame] | 34 | device_type = "cpu"; |
Maxime Ripard | 69144e3 | 2013-03-13 20:07:37 +0100 | [diff] [blame] | 35 | compatible = "arm,cortex-a8"; |
Lorenzo Pieralisi | 14c44aa | 2013-04-18 18:41:57 +0100 | [diff] [blame] | 36 | reg = <0x0>; |
Maxime Ripard | 69144e3 | 2013-03-13 20:07:37 +0100 | [diff] [blame] | 37 | }; |
| 38 | }; |
| 39 | |
Stefan Roese | 7423d2d | 2012-11-26 15:46:12 +0100 | [diff] [blame] | 40 | memory { |
| 41 | reg = <0x40000000 0x80000000>; |
| 42 | }; |
Maxime Ripard | 874b4e4 | 2013-01-26 15:36:54 +0100 | [diff] [blame] | 43 | |
Maxime Ripard | 69144e3 | 2013-03-13 20:07:37 +0100 | [diff] [blame] | 44 | clocks { |
| 45 | #address-cells = <1>; |
| 46 | #size-cells = <1>; |
| 47 | ranges; |
| 48 | |
| 49 | /* |
| 50 | * This is a dummy clock, to be used as placeholder on |
| 51 | * other mux clocks when a specific parent clock is not |
| 52 | * yet implemented. It should be dropped when the driver |
| 53 | * is complete. |
| 54 | */ |
| 55 | dummy: dummy { |
| 56 | #clock-cells = <0>; |
| 57 | compatible = "fixed-clock"; |
| 58 | clock-frequency = <0>; |
| 59 | }; |
| 60 | |
Chen-Yu Tsai | dfb12c0 | 2014-02-03 09:51:41 +0800 | [diff] [blame] | 61 | osc24M: clk@01c20050 { |
Maxime Ripard | 69144e3 | 2013-03-13 20:07:37 +0100 | [diff] [blame] | 62 | #clock-cells = <0>; |
Maxime Ripard | bf6534a | 2014-02-06 09:55:58 +0100 | [diff] [blame] | 63 | compatible = "allwinner,sun4i-a10-osc-clk"; |
Maxime Ripard | 69144e3 | 2013-03-13 20:07:37 +0100 | [diff] [blame] | 64 | reg = <0x01c20050 0x4>; |
Emilio López | 92fd6e0 | 2013-04-09 10:48:04 -0300 | [diff] [blame] | 65 | clock-frequency = <24000000>; |
Chen-Yu Tsai | dfb12c0 | 2014-02-03 09:51:41 +0800 | [diff] [blame] | 66 | clock-output-names = "osc24M"; |
Maxime Ripard | 69144e3 | 2013-03-13 20:07:37 +0100 | [diff] [blame] | 67 | }; |
| 68 | |
Chen-Yu Tsai | dfb12c0 | 2014-02-03 09:51:41 +0800 | [diff] [blame] | 69 | osc32k: clk@0 { |
Maxime Ripard | 69144e3 | 2013-03-13 20:07:37 +0100 | [diff] [blame] | 70 | #clock-cells = <0>; |
| 71 | compatible = "fixed-clock"; |
| 72 | clock-frequency = <32768>; |
Chen-Yu Tsai | dfb12c0 | 2014-02-03 09:51:41 +0800 | [diff] [blame] | 73 | clock-output-names = "osc32k"; |
Maxime Ripard | 69144e3 | 2013-03-13 20:07:37 +0100 | [diff] [blame] | 74 | }; |
| 75 | |
Chen-Yu Tsai | dfb12c0 | 2014-02-03 09:51:41 +0800 | [diff] [blame] | 76 | pll1: clk@01c20000 { |
Maxime Ripard | 69144e3 | 2013-03-13 20:07:37 +0100 | [diff] [blame] | 77 | #clock-cells = <0>; |
Maxime Ripard | bf6534a | 2014-02-06 09:55:58 +0100 | [diff] [blame] | 78 | compatible = "allwinner,sun4i-a10-pll1-clk"; |
Maxime Ripard | 69144e3 | 2013-03-13 20:07:37 +0100 | [diff] [blame] | 79 | reg = <0x01c20000 0x4>; |
| 80 | clocks = <&osc24M>; |
Chen-Yu Tsai | dfb12c0 | 2014-02-03 09:51:41 +0800 | [diff] [blame] | 81 | clock-output-names = "pll1"; |
Maxime Ripard | 69144e3 | 2013-03-13 20:07:37 +0100 | [diff] [blame] | 82 | }; |
| 83 | |
Chen-Yu Tsai | dfb12c0 | 2014-02-03 09:51:41 +0800 | [diff] [blame] | 84 | pll4: clk@01c20018 { |
Emilio López | ec5589f | 2013-12-23 00:32:35 -0300 | [diff] [blame] | 85 | #clock-cells = <0>; |
Maxime Ripard | bf6534a | 2014-02-06 09:55:58 +0100 | [diff] [blame] | 86 | compatible = "allwinner,sun4i-a10-pll1-clk"; |
Emilio López | ec5589f | 2013-12-23 00:32:35 -0300 | [diff] [blame] | 87 | reg = <0x01c20018 0x4>; |
| 88 | clocks = <&osc24M>; |
Chen-Yu Tsai | dfb12c0 | 2014-02-03 09:51:41 +0800 | [diff] [blame] | 89 | clock-output-names = "pll4"; |
Emilio López | ec5589f | 2013-12-23 00:32:35 -0300 | [diff] [blame] | 90 | }; |
| 91 | |
Chen-Yu Tsai | dfb12c0 | 2014-02-03 09:51:41 +0800 | [diff] [blame] | 92 | pll5: clk@01c20020 { |
Emilio López | c3e5e66 | 2013-12-23 00:32:38 -0300 | [diff] [blame] | 93 | #clock-cells = <1>; |
Maxime Ripard | bf6534a | 2014-02-06 09:55:58 +0100 | [diff] [blame] | 94 | compatible = "allwinner,sun4i-a10-pll5-clk"; |
Emilio López | c3e5e66 | 2013-12-23 00:32:38 -0300 | [diff] [blame] | 95 | reg = <0x01c20020 0x4>; |
| 96 | clocks = <&osc24M>; |
| 97 | clock-output-names = "pll5_ddr", "pll5_other"; |
| 98 | }; |
| 99 | |
Chen-Yu Tsai | dfb12c0 | 2014-02-03 09:51:41 +0800 | [diff] [blame] | 100 | pll6: clk@01c20028 { |
Emilio López | c3e5e66 | 2013-12-23 00:32:38 -0300 | [diff] [blame] | 101 | #clock-cells = <1>; |
Maxime Ripard | bf6534a | 2014-02-06 09:55:58 +0100 | [diff] [blame] | 102 | compatible = "allwinner,sun4i-a10-pll6-clk"; |
Emilio López | c3e5e66 | 2013-12-23 00:32:38 -0300 | [diff] [blame] | 103 | reg = <0x01c20028 0x4>; |
| 104 | clocks = <&osc24M>; |
| 105 | clock-output-names = "pll6_sata", "pll6_other", "pll6"; |
| 106 | }; |
| 107 | |
Maxime Ripard | 69144e3 | 2013-03-13 20:07:37 +0100 | [diff] [blame] | 108 | /* dummy is 200M */ |
| 109 | cpu: cpu@01c20054 { |
| 110 | #clock-cells = <0>; |
Maxime Ripard | bf6534a | 2014-02-06 09:55:58 +0100 | [diff] [blame] | 111 | compatible = "allwinner,sun4i-a10-cpu-clk"; |
Maxime Ripard | 69144e3 | 2013-03-13 20:07:37 +0100 | [diff] [blame] | 112 | reg = <0x01c20054 0x4>; |
| 113 | clocks = <&osc32k>, <&osc24M>, <&pll1>, <&dummy>; |
Chen-Yu Tsai | dfb12c0 | 2014-02-03 09:51:41 +0800 | [diff] [blame] | 114 | clock-output-names = "cpu"; |
Maxime Ripard | 69144e3 | 2013-03-13 20:07:37 +0100 | [diff] [blame] | 115 | }; |
| 116 | |
| 117 | axi: axi@01c20054 { |
| 118 | #clock-cells = <0>; |
Maxime Ripard | bf6534a | 2014-02-06 09:55:58 +0100 | [diff] [blame] | 119 | compatible = "allwinner,sun4i-a10-axi-clk"; |
Maxime Ripard | 69144e3 | 2013-03-13 20:07:37 +0100 | [diff] [blame] | 120 | reg = <0x01c20054 0x4>; |
| 121 | clocks = <&cpu>; |
Chen-Yu Tsai | dfb12c0 | 2014-02-03 09:51:41 +0800 | [diff] [blame] | 122 | clock-output-names = "axi"; |
Maxime Ripard | 69144e3 | 2013-03-13 20:07:37 +0100 | [diff] [blame] | 123 | }; |
| 124 | |
Chen-Yu Tsai | dfb12c0 | 2014-02-03 09:51:41 +0800 | [diff] [blame] | 125 | axi_gates: clk@01c2005c { |
Maxime Ripard | 69144e3 | 2013-03-13 20:07:37 +0100 | [diff] [blame] | 126 | #clock-cells = <1>; |
Maxime Ripard | bf6534a | 2014-02-06 09:55:58 +0100 | [diff] [blame] | 127 | compatible = "allwinner,sun4i-a10-axi-gates-clk"; |
Maxime Ripard | 69144e3 | 2013-03-13 20:07:37 +0100 | [diff] [blame] | 128 | reg = <0x01c2005c 0x4>; |
| 129 | clocks = <&axi>; |
| 130 | clock-output-names = "axi_dram"; |
| 131 | }; |
| 132 | |
| 133 | ahb: ahb@01c20054 { |
| 134 | #clock-cells = <0>; |
Maxime Ripard | bf6534a | 2014-02-06 09:55:58 +0100 | [diff] [blame] | 135 | compatible = "allwinner,sun4i-a10-ahb-clk"; |
Maxime Ripard | 69144e3 | 2013-03-13 20:07:37 +0100 | [diff] [blame] | 136 | reg = <0x01c20054 0x4>; |
| 137 | clocks = <&axi>; |
Chen-Yu Tsai | dfb12c0 | 2014-02-03 09:51:41 +0800 | [diff] [blame] | 138 | clock-output-names = "ahb"; |
Maxime Ripard | 69144e3 | 2013-03-13 20:07:37 +0100 | [diff] [blame] | 139 | }; |
| 140 | |
Chen-Yu Tsai | dfb12c0 | 2014-02-03 09:51:41 +0800 | [diff] [blame] | 141 | ahb_gates: clk@01c20060 { |
Maxime Ripard | 69144e3 | 2013-03-13 20:07:37 +0100 | [diff] [blame] | 142 | #clock-cells = <1>; |
Maxime Ripard | bf6534a | 2014-02-06 09:55:58 +0100 | [diff] [blame] | 143 | compatible = "allwinner,sun4i-a10-ahb-gates-clk"; |
Maxime Ripard | 69144e3 | 2013-03-13 20:07:37 +0100 | [diff] [blame] | 144 | reg = <0x01c20060 0x8>; |
| 145 | clocks = <&ahb>; |
| 146 | clock-output-names = "ahb_usb0", "ahb_ehci0", |
| 147 | "ahb_ohci0", "ahb_ehci1", "ahb_ohci1", "ahb_ss", |
| 148 | "ahb_dma", "ahb_bist", "ahb_mmc0", "ahb_mmc1", |
| 149 | "ahb_mmc2", "ahb_mmc3", "ahb_ms", "ahb_nand", |
| 150 | "ahb_sdram", "ahb_ace", "ahb_emac", "ahb_ts", |
| 151 | "ahb_spi0", "ahb_spi1", "ahb_spi2", "ahb_spi3", |
| 152 | "ahb_pata", "ahb_sata", "ahb_gps", "ahb_ve", |
| 153 | "ahb_tvd", "ahb_tve0", "ahb_tve1", "ahb_lcd0", |
| 154 | "ahb_lcd1", "ahb_csi0", "ahb_csi1", "ahb_hdmi", |
| 155 | "ahb_de_be0", "ahb_de_be1", "ahb_de_fe0", |
| 156 | "ahb_de_fe1", "ahb_mp", "ahb_mali400"; |
| 157 | }; |
| 158 | |
| 159 | apb0: apb0@01c20054 { |
| 160 | #clock-cells = <0>; |
Maxime Ripard | bf6534a | 2014-02-06 09:55:58 +0100 | [diff] [blame] | 161 | compatible = "allwinner,sun4i-a10-apb0-clk"; |
Maxime Ripard | 69144e3 | 2013-03-13 20:07:37 +0100 | [diff] [blame] | 162 | reg = <0x01c20054 0x4>; |
| 163 | clocks = <&ahb>; |
Chen-Yu Tsai | dfb12c0 | 2014-02-03 09:51:41 +0800 | [diff] [blame] | 164 | clock-output-names = "apb0"; |
Maxime Ripard | 69144e3 | 2013-03-13 20:07:37 +0100 | [diff] [blame] | 165 | }; |
| 166 | |
Chen-Yu Tsai | dfb12c0 | 2014-02-03 09:51:41 +0800 | [diff] [blame] | 167 | apb0_gates: clk@01c20068 { |
Maxime Ripard | 69144e3 | 2013-03-13 20:07:37 +0100 | [diff] [blame] | 168 | #clock-cells = <1>; |
Maxime Ripard | bf6534a | 2014-02-06 09:55:58 +0100 | [diff] [blame] | 169 | compatible = "allwinner,sun4i-a10-apb0-gates-clk"; |
Maxime Ripard | 69144e3 | 2013-03-13 20:07:37 +0100 | [diff] [blame] | 170 | reg = <0x01c20068 0x4>; |
| 171 | clocks = <&apb0>; |
| 172 | clock-output-names = "apb0_codec", "apb0_spdif", |
| 173 | "apb0_ac97", "apb0_iis", "apb0_pio", "apb0_ir0", |
| 174 | "apb0_ir1", "apb0_keypad"; |
| 175 | }; |
| 176 | |
Maxime Ripard | 69144e3 | 2013-03-13 20:07:37 +0100 | [diff] [blame] | 177 | apb1_mux: apb1_mux@01c20058 { |
| 178 | #clock-cells = <0>; |
Maxime Ripard | bf6534a | 2014-02-06 09:55:58 +0100 | [diff] [blame] | 179 | compatible = "allwinner,sun4i-a10-apb1-mux-clk"; |
Maxime Ripard | 69144e3 | 2013-03-13 20:07:37 +0100 | [diff] [blame] | 180 | reg = <0x01c20058 0x4>; |
Emilio López | c3e5e66 | 2013-12-23 00:32:38 -0300 | [diff] [blame] | 181 | clocks = <&osc24M>, <&pll6 1>, <&osc32k>; |
Chen-Yu Tsai | dfb12c0 | 2014-02-03 09:51:41 +0800 | [diff] [blame] | 182 | clock-output-names = "apb1_mux"; |
Maxime Ripard | 69144e3 | 2013-03-13 20:07:37 +0100 | [diff] [blame] | 183 | }; |
| 184 | |
| 185 | apb1: apb1@01c20058 { |
| 186 | #clock-cells = <0>; |
Maxime Ripard | bf6534a | 2014-02-06 09:55:58 +0100 | [diff] [blame] | 187 | compatible = "allwinner,sun4i-a10-apb1-clk"; |
Maxime Ripard | 69144e3 | 2013-03-13 20:07:37 +0100 | [diff] [blame] | 188 | reg = <0x01c20058 0x4>; |
| 189 | clocks = <&apb1_mux>; |
Chen-Yu Tsai | dfb12c0 | 2014-02-03 09:51:41 +0800 | [diff] [blame] | 190 | clock-output-names = "apb1"; |
Maxime Ripard | 69144e3 | 2013-03-13 20:07:37 +0100 | [diff] [blame] | 191 | }; |
| 192 | |
Chen-Yu Tsai | dfb12c0 | 2014-02-03 09:51:41 +0800 | [diff] [blame] | 193 | apb1_gates: clk@01c2006c { |
Maxime Ripard | 69144e3 | 2013-03-13 20:07:37 +0100 | [diff] [blame] | 194 | #clock-cells = <1>; |
Maxime Ripard | bf6534a | 2014-02-06 09:55:58 +0100 | [diff] [blame] | 195 | compatible = "allwinner,sun4i-a10-apb1-gates-clk"; |
Maxime Ripard | 69144e3 | 2013-03-13 20:07:37 +0100 | [diff] [blame] | 196 | reg = <0x01c2006c 0x4>; |
| 197 | clocks = <&apb1>; |
| 198 | clock-output-names = "apb1_i2c0", "apb1_i2c1", |
| 199 | "apb1_i2c2", "apb1_can", "apb1_scr", |
| 200 | "apb1_ps20", "apb1_ps21", "apb1_uart0", |
| 201 | "apb1_uart1", "apb1_uart2", "apb1_uart3", |
| 202 | "apb1_uart4", "apb1_uart5", "apb1_uart6", |
| 203 | "apb1_uart7"; |
| 204 | }; |
Emilio López | 4b756ff | 2013-12-23 00:32:41 -0300 | [diff] [blame] | 205 | |
| 206 | nand_clk: clk@01c20080 { |
| 207 | #clock-cells = <0>; |
Maxime Ripard | bf6534a | 2014-02-06 09:55:58 +0100 | [diff] [blame] | 208 | compatible = "allwinner,sun4i-a10-mod0-clk"; |
Emilio López | 4b756ff | 2013-12-23 00:32:41 -0300 | [diff] [blame] | 209 | reg = <0x01c20080 0x4>; |
| 210 | clocks = <&osc24M>, <&pll6 1>, <&pll5 1>; |
| 211 | clock-output-names = "nand"; |
| 212 | }; |
| 213 | |
| 214 | ms_clk: clk@01c20084 { |
| 215 | #clock-cells = <0>; |
Maxime Ripard | bf6534a | 2014-02-06 09:55:58 +0100 | [diff] [blame] | 216 | compatible = "allwinner,sun4i-a10-mod0-clk"; |
Emilio López | 4b756ff | 2013-12-23 00:32:41 -0300 | [diff] [blame] | 217 | reg = <0x01c20084 0x4>; |
| 218 | clocks = <&osc24M>, <&pll6 1>, <&pll5 1>; |
| 219 | clock-output-names = "ms"; |
| 220 | }; |
| 221 | |
| 222 | mmc0_clk: clk@01c20088 { |
| 223 | #clock-cells = <0>; |
Maxime Ripard | bf6534a | 2014-02-06 09:55:58 +0100 | [diff] [blame] | 224 | compatible = "allwinner,sun4i-a10-mod0-clk"; |
Emilio López | 4b756ff | 2013-12-23 00:32:41 -0300 | [diff] [blame] | 225 | reg = <0x01c20088 0x4>; |
| 226 | clocks = <&osc24M>, <&pll6 1>, <&pll5 1>; |
| 227 | clock-output-names = "mmc0"; |
| 228 | }; |
| 229 | |
| 230 | mmc1_clk: clk@01c2008c { |
| 231 | #clock-cells = <0>; |
Maxime Ripard | bf6534a | 2014-02-06 09:55:58 +0100 | [diff] [blame] | 232 | compatible = "allwinner,sun4i-a10-mod0-clk"; |
Emilio López | 4b756ff | 2013-12-23 00:32:41 -0300 | [diff] [blame] | 233 | reg = <0x01c2008c 0x4>; |
| 234 | clocks = <&osc24M>, <&pll6 1>, <&pll5 1>; |
| 235 | clock-output-names = "mmc1"; |
| 236 | }; |
| 237 | |
| 238 | mmc2_clk: clk@01c20090 { |
| 239 | #clock-cells = <0>; |
Maxime Ripard | bf6534a | 2014-02-06 09:55:58 +0100 | [diff] [blame] | 240 | compatible = "allwinner,sun4i-a10-mod0-clk"; |
Emilio López | 4b756ff | 2013-12-23 00:32:41 -0300 | [diff] [blame] | 241 | reg = <0x01c20090 0x4>; |
| 242 | clocks = <&osc24M>, <&pll6 1>, <&pll5 1>; |
| 243 | clock-output-names = "mmc2"; |
| 244 | }; |
| 245 | |
| 246 | mmc3_clk: clk@01c20094 { |
| 247 | #clock-cells = <0>; |
Maxime Ripard | bf6534a | 2014-02-06 09:55:58 +0100 | [diff] [blame] | 248 | compatible = "allwinner,sun4i-a10-mod0-clk"; |
Emilio López | 4b756ff | 2013-12-23 00:32:41 -0300 | [diff] [blame] | 249 | reg = <0x01c20094 0x4>; |
| 250 | clocks = <&osc24M>, <&pll6 1>, <&pll5 1>; |
| 251 | clock-output-names = "mmc3"; |
| 252 | }; |
| 253 | |
| 254 | ts_clk: clk@01c20098 { |
| 255 | #clock-cells = <0>; |
Maxime Ripard | bf6534a | 2014-02-06 09:55:58 +0100 | [diff] [blame] | 256 | compatible = "allwinner,sun4i-a10-mod0-clk"; |
Emilio López | 4b756ff | 2013-12-23 00:32:41 -0300 | [diff] [blame] | 257 | reg = <0x01c20098 0x4>; |
| 258 | clocks = <&osc24M>, <&pll6 1>, <&pll5 1>; |
| 259 | clock-output-names = "ts"; |
| 260 | }; |
| 261 | |
| 262 | ss_clk: clk@01c2009c { |
| 263 | #clock-cells = <0>; |
Maxime Ripard | bf6534a | 2014-02-06 09:55:58 +0100 | [diff] [blame] | 264 | compatible = "allwinner,sun4i-a10-mod0-clk"; |
Emilio López | 4b756ff | 2013-12-23 00:32:41 -0300 | [diff] [blame] | 265 | reg = <0x01c2009c 0x4>; |
| 266 | clocks = <&osc24M>, <&pll6 1>, <&pll5 1>; |
| 267 | clock-output-names = "ss"; |
| 268 | }; |
| 269 | |
| 270 | spi0_clk: clk@01c200a0 { |
| 271 | #clock-cells = <0>; |
Maxime Ripard | bf6534a | 2014-02-06 09:55:58 +0100 | [diff] [blame] | 272 | compatible = "allwinner,sun4i-a10-mod0-clk"; |
Emilio López | 4b756ff | 2013-12-23 00:32:41 -0300 | [diff] [blame] | 273 | reg = <0x01c200a0 0x4>; |
| 274 | clocks = <&osc24M>, <&pll6 1>, <&pll5 1>; |
| 275 | clock-output-names = "spi0"; |
| 276 | }; |
| 277 | |
| 278 | spi1_clk: clk@01c200a4 { |
| 279 | #clock-cells = <0>; |
Maxime Ripard | bf6534a | 2014-02-06 09:55:58 +0100 | [diff] [blame] | 280 | compatible = "allwinner,sun4i-a10-mod0-clk"; |
Emilio López | 4b756ff | 2013-12-23 00:32:41 -0300 | [diff] [blame] | 281 | reg = <0x01c200a4 0x4>; |
| 282 | clocks = <&osc24M>, <&pll6 1>, <&pll5 1>; |
| 283 | clock-output-names = "spi1"; |
| 284 | }; |
| 285 | |
| 286 | spi2_clk: clk@01c200a8 { |
| 287 | #clock-cells = <0>; |
Maxime Ripard | bf6534a | 2014-02-06 09:55:58 +0100 | [diff] [blame] | 288 | compatible = "allwinner,sun4i-a10-mod0-clk"; |
Emilio López | 4b756ff | 2013-12-23 00:32:41 -0300 | [diff] [blame] | 289 | reg = <0x01c200a8 0x4>; |
| 290 | clocks = <&osc24M>, <&pll6 1>, <&pll5 1>; |
| 291 | clock-output-names = "spi2"; |
| 292 | }; |
| 293 | |
| 294 | pata_clk: clk@01c200ac { |
| 295 | #clock-cells = <0>; |
Maxime Ripard | bf6534a | 2014-02-06 09:55:58 +0100 | [diff] [blame] | 296 | compatible = "allwinner,sun4i-a10-mod0-clk"; |
Emilio López | 4b756ff | 2013-12-23 00:32:41 -0300 | [diff] [blame] | 297 | reg = <0x01c200ac 0x4>; |
| 298 | clocks = <&osc24M>, <&pll6 1>, <&pll5 1>; |
| 299 | clock-output-names = "pata"; |
| 300 | }; |
| 301 | |
| 302 | ir0_clk: clk@01c200b0 { |
| 303 | #clock-cells = <0>; |
Maxime Ripard | bf6534a | 2014-02-06 09:55:58 +0100 | [diff] [blame] | 304 | compatible = "allwinner,sun4i-a10-mod0-clk"; |
Emilio López | 4b756ff | 2013-12-23 00:32:41 -0300 | [diff] [blame] | 305 | reg = <0x01c200b0 0x4>; |
| 306 | clocks = <&osc24M>, <&pll6 1>, <&pll5 1>; |
| 307 | clock-output-names = "ir0"; |
| 308 | }; |
| 309 | |
| 310 | ir1_clk: clk@01c200b4 { |
| 311 | #clock-cells = <0>; |
Maxime Ripard | bf6534a | 2014-02-06 09:55:58 +0100 | [diff] [blame] | 312 | compatible = "allwinner,sun4i-a10-mod0-clk"; |
Emilio López | 4b756ff | 2013-12-23 00:32:41 -0300 | [diff] [blame] | 313 | reg = <0x01c200b4 0x4>; |
| 314 | clocks = <&osc24M>, <&pll6 1>, <&pll5 1>; |
| 315 | clock-output-names = "ir1"; |
| 316 | }; |
| 317 | |
Roman Byshko | 0076c8b | 2014-02-07 16:21:51 +0100 | [diff] [blame] | 318 | usb_clk: clk@01c200cc { |
| 319 | #clock-cells = <1>; |
| 320 | #reset-cells = <1>; |
| 321 | compatible = "allwinner,sun4i-a10-usb-clk"; |
| 322 | reg = <0x01c200cc 0x4>; |
| 323 | clocks = <&pll6 1>; |
| 324 | clock-output-names = "usb_ohci0", "usb_ohci1", "usb_phy"; |
| 325 | }; |
| 326 | |
Emilio López | 4b756ff | 2013-12-23 00:32:41 -0300 | [diff] [blame] | 327 | spi3_clk: clk@01c200d4 { |
| 328 | #clock-cells = <0>; |
Maxime Ripard | bf6534a | 2014-02-06 09:55:58 +0100 | [diff] [blame] | 329 | compatible = "allwinner,sun4i-a10-mod0-clk"; |
Emilio López | 4b756ff | 2013-12-23 00:32:41 -0300 | [diff] [blame] | 330 | reg = <0x01c200d4 0x4>; |
| 331 | clocks = <&osc24M>, <&pll6 1>, <&pll5 1>; |
| 332 | clock-output-names = "spi3"; |
| 333 | }; |
Maxime Ripard | 69144e3 | 2013-03-13 20:07:37 +0100 | [diff] [blame] | 334 | }; |
| 335 | |
Maxime Ripard | b74aec1 | 2013-08-03 16:07:36 +0200 | [diff] [blame] | 336 | soc@01c00000 { |
Maxime Ripard | 69144e3 | 2013-03-13 20:07:37 +0100 | [diff] [blame] | 337 | compatible = "simple-bus"; |
| 338 | #address-cells = <1>; |
| 339 | #size-cells = <1>; |
Maxime Ripard | 69144e3 | 2013-03-13 20:07:37 +0100 | [diff] [blame] | 340 | ranges; |
| 341 | |
Emilio López | 1324f53 | 2014-08-04 17:09:57 -0300 | [diff] [blame] | 342 | dma: dma-controller@01c02000 { |
| 343 | compatible = "allwinner,sun4i-a10-dma"; |
| 344 | reg = <0x01c02000 0x1000>; |
| 345 | interrupts = <27>; |
| 346 | clocks = <&ahb_gates 6>; |
| 347 | #dma-cells = <2>; |
| 348 | }; |
| 349 | |
Maxime Ripard | 65918e2 | 2014-02-22 22:35:55 +0100 | [diff] [blame] | 350 | spi0: spi@01c05000 { |
| 351 | compatible = "allwinner,sun4i-a10-spi"; |
| 352 | reg = <0x01c05000 0x1000>; |
| 353 | interrupts = <10>; |
| 354 | clocks = <&ahb_gates 20>, <&spi0_clk>; |
| 355 | clock-names = "ahb", "mod"; |
Emilio López | 4192ff8 | 2014-08-04 17:10:00 -0300 | [diff] [blame] | 356 | dmas = <&dma 1 27>, <&dma 1 26>; |
| 357 | dma-names = "rx", "tx"; |
Maxime Ripard | 65918e2 | 2014-02-22 22:35:55 +0100 | [diff] [blame] | 358 | status = "disabled"; |
| 359 | #address-cells = <1>; |
| 360 | #size-cells = <0>; |
| 361 | }; |
| 362 | |
| 363 | spi1: spi@01c06000 { |
| 364 | compatible = "allwinner,sun4i-a10-spi"; |
| 365 | reg = <0x01c06000 0x1000>; |
| 366 | interrupts = <11>; |
| 367 | clocks = <&ahb_gates 21>, <&spi1_clk>; |
| 368 | clock-names = "ahb", "mod"; |
Emilio López | 4192ff8 | 2014-08-04 17:10:00 -0300 | [diff] [blame] | 369 | dmas = <&dma 1 9>, <&dma 1 8>; |
| 370 | dma-names = "rx", "tx"; |
Maxime Ripard | 65918e2 | 2014-02-22 22:35:55 +0100 | [diff] [blame] | 371 | status = "disabled"; |
| 372 | #address-cells = <1>; |
| 373 | #size-cells = <0>; |
| 374 | }; |
| 375 | |
Maxime Ripard | e38afcb | 2013-05-30 03:49:23 +0000 | [diff] [blame] | 376 | emac: ethernet@01c0b000 { |
Maxime Ripard | 1c70e09 | 2014-02-02 14:49:13 +0100 | [diff] [blame] | 377 | compatible = "allwinner,sun4i-a10-emac"; |
Maxime Ripard | e38afcb | 2013-05-30 03:49:23 +0000 | [diff] [blame] | 378 | reg = <0x01c0b000 0x1000>; |
| 379 | interrupts = <55>; |
| 380 | clocks = <&ahb_gates 17>; |
| 381 | status = "disabled"; |
| 382 | }; |
| 383 | |
| 384 | mdio@01c0b080 { |
Maxime Ripard | 1c70e09 | 2014-02-02 14:49:13 +0100 | [diff] [blame] | 385 | compatible = "allwinner,sun4i-a10-mdio"; |
Maxime Ripard | e38afcb | 2013-05-30 03:49:23 +0000 | [diff] [blame] | 386 | reg = <0x01c0b080 0x14>; |
| 387 | status = "disabled"; |
| 388 | #address-cells = <1>; |
| 389 | #size-cells = <0>; |
| 390 | }; |
| 391 | |
David Lanzendörfer | b258b36 | 2014-05-02 17:57:18 +0200 | [diff] [blame] | 392 | mmc0: mmc@01c0f000 { |
| 393 | compatible = "allwinner,sun4i-a10-mmc"; |
| 394 | reg = <0x01c0f000 0x1000>; |
| 395 | clocks = <&ahb_gates 8>, <&mmc0_clk>; |
| 396 | clock-names = "ahb", "mmc"; |
| 397 | interrupts = <32>; |
| 398 | status = "disabled"; |
| 399 | }; |
| 400 | |
| 401 | mmc1: mmc@01c10000 { |
| 402 | compatible = "allwinner,sun4i-a10-mmc"; |
| 403 | reg = <0x01c10000 0x1000>; |
| 404 | clocks = <&ahb_gates 9>, <&mmc1_clk>; |
| 405 | clock-names = "ahb", "mmc"; |
| 406 | interrupts = <33>; |
| 407 | status = "disabled"; |
| 408 | }; |
| 409 | |
| 410 | mmc2: mmc@01c11000 { |
| 411 | compatible = "allwinner,sun4i-a10-mmc"; |
| 412 | reg = <0x01c11000 0x1000>; |
| 413 | clocks = <&ahb_gates 10>, <&mmc2_clk>; |
| 414 | clock-names = "ahb", "mmc"; |
| 415 | interrupts = <34>; |
| 416 | status = "disabled"; |
| 417 | }; |
| 418 | |
| 419 | mmc3: mmc@01c12000 { |
| 420 | compatible = "allwinner,sun4i-a10-mmc"; |
| 421 | reg = <0x01c12000 0x1000>; |
| 422 | clocks = <&ahb_gates 11>, <&mmc3_clk>; |
| 423 | clock-names = "ahb", "mmc"; |
| 424 | interrupts = <35>; |
| 425 | status = "disabled"; |
| 426 | }; |
| 427 | |
Roman Byshko | 6ab1ce2 | 2014-03-01 20:26:23 +0100 | [diff] [blame] | 428 | usbphy: phy@01c13400 { |
| 429 | #phy-cells = <1>; |
| 430 | compatible = "allwinner,sun4i-a10-usb-phy"; |
| 431 | reg = <0x01c13400 0x10 0x01c14800 0x4 0x01c1c800 0x4>; |
| 432 | reg-names = "phy_ctrl", "pmu1", "pmu2"; |
| 433 | clocks = <&usb_clk 8>; |
| 434 | clock-names = "usb_phy"; |
| 435 | resets = <&usb_clk 1>, <&usb_clk 2>; |
| 436 | reset-names = "usb1_reset", "usb2_reset"; |
| 437 | status = "disabled"; |
| 438 | }; |
| 439 | |
| 440 | ehci0: usb@01c14000 { |
| 441 | compatible = "allwinner,sun4i-a10-ehci", "generic-ehci"; |
| 442 | reg = <0x01c14000 0x100>; |
| 443 | interrupts = <39>; |
| 444 | clocks = <&ahb_gates 1>; |
| 445 | phys = <&usbphy 1>; |
| 446 | phy-names = "usb"; |
| 447 | status = "disabled"; |
| 448 | }; |
| 449 | |
| 450 | ohci0: usb@01c14400 { |
| 451 | compatible = "allwinner,sun4i-a10-ohci", "generic-ohci"; |
| 452 | reg = <0x01c14400 0x100>; |
| 453 | interrupts = <64>; |
| 454 | clocks = <&usb_clk 6>, <&ahb_gates 2>; |
| 455 | phys = <&usbphy 1>; |
| 456 | phy-names = "usb"; |
| 457 | status = "disabled"; |
| 458 | }; |
| 459 | |
Maxime Ripard | 65918e2 | 2014-02-22 22:35:55 +0100 | [diff] [blame] | 460 | spi2: spi@01c17000 { |
| 461 | compatible = "allwinner,sun4i-a10-spi"; |
| 462 | reg = <0x01c17000 0x1000>; |
| 463 | interrupts = <12>; |
| 464 | clocks = <&ahb_gates 22>, <&spi2_clk>; |
| 465 | clock-names = "ahb", "mod"; |
Emilio López | 4192ff8 | 2014-08-04 17:10:00 -0300 | [diff] [blame] | 466 | dmas = <&dma 1 29>, <&dma 1 28>; |
| 467 | dma-names = "rx", "tx"; |
Maxime Ripard | 65918e2 | 2014-02-22 22:35:55 +0100 | [diff] [blame] | 468 | status = "disabled"; |
| 469 | #address-cells = <1>; |
| 470 | #size-cells = <0>; |
| 471 | }; |
| 472 | |
Oliver Schinagl | 248bd1e | 2014-03-01 20:26:21 +0100 | [diff] [blame] | 473 | ahci: sata@01c18000 { |
| 474 | compatible = "allwinner,sun4i-a10-ahci"; |
| 475 | reg = <0x01c18000 0x1000>; |
| 476 | interrupts = <56>; |
| 477 | clocks = <&pll6 0>, <&ahb_gates 25>; |
| 478 | status = "disabled"; |
| 479 | }; |
| 480 | |
Roman Byshko | 6ab1ce2 | 2014-03-01 20:26:23 +0100 | [diff] [blame] | 481 | ehci1: usb@01c1c000 { |
| 482 | compatible = "allwinner,sun4i-a10-ehci", "generic-ehci"; |
| 483 | reg = <0x01c1c000 0x100>; |
| 484 | interrupts = <40>; |
| 485 | clocks = <&ahb_gates 3>; |
| 486 | phys = <&usbphy 2>; |
| 487 | phy-names = "usb"; |
| 488 | status = "disabled"; |
| 489 | }; |
| 490 | |
| 491 | ohci1: usb@01c1c400 { |
| 492 | compatible = "allwinner,sun4i-a10-ohci", "generic-ohci"; |
| 493 | reg = <0x01c1c400 0x100>; |
| 494 | interrupts = <65>; |
| 495 | clocks = <&usb_clk 7>, <&ahb_gates 4>; |
| 496 | phys = <&usbphy 2>; |
| 497 | phy-names = "usb"; |
| 498 | status = "disabled"; |
| 499 | }; |
| 500 | |
Maxime Ripard | 65918e2 | 2014-02-22 22:35:55 +0100 | [diff] [blame] | 501 | spi3: spi@01c1f000 { |
| 502 | compatible = "allwinner,sun4i-a10-spi"; |
| 503 | reg = <0x01c1f000 0x1000>; |
| 504 | interrupts = <50>; |
| 505 | clocks = <&ahb_gates 23>, <&spi3_clk>; |
| 506 | clock-names = "ahb", "mod"; |
Emilio López | 4192ff8 | 2014-08-04 17:10:00 -0300 | [diff] [blame] | 507 | dmas = <&dma 1 31>, <&dma 1 30>; |
| 508 | dma-names = "rx", "tx"; |
Maxime Ripard | 65918e2 | 2014-02-22 22:35:55 +0100 | [diff] [blame] | 509 | status = "disabled"; |
| 510 | #address-cells = <1>; |
| 511 | #size-cells = <0>; |
| 512 | }; |
| 513 | |
Maxime Ripard | 69144e3 | 2013-03-13 20:07:37 +0100 | [diff] [blame] | 514 | intc: interrupt-controller@01c20400 { |
Maxime Ripard | 09504a7 | 2014-02-07 21:50:26 +0100 | [diff] [blame] | 515 | compatible = "allwinner,sun4i-a10-ic"; |
Maxime Ripard | 69144e3 | 2013-03-13 20:07:37 +0100 | [diff] [blame] | 516 | reg = <0x01c20400 0x400>; |
| 517 | interrupt-controller; |
| 518 | #interrupt-cells = <1>; |
| 519 | }; |
| 520 | |
Maxime Ripard | e10911e | 2013-01-27 19:26:05 +0100 | [diff] [blame] | 521 | pio: pinctrl@01c20800 { |
Maxime Ripard | 874b4e4 | 2013-01-26 15:36:54 +0100 | [diff] [blame] | 522 | compatible = "allwinner,sun4i-a10-pinctrl"; |
| 523 | reg = <0x01c20800 0x400>; |
Maxime Ripard | 39138bc | 2013-04-06 15:00:48 +0200 | [diff] [blame] | 524 | interrupts = <28>; |
Emilio López | 36386d6 | 2013-03-27 18:20:41 -0300 | [diff] [blame] | 525 | clocks = <&apb0_gates 5>; |
Maxime Ripard | e10911e | 2013-01-27 19:26:05 +0100 | [diff] [blame] | 526 | gpio-controller; |
Maxime Ripard | 39138bc | 2013-04-06 15:00:48 +0200 | [diff] [blame] | 527 | interrupt-controller; |
Chen-Yu Tsai | 7d4ff96 | 2014-06-30 23:57:51 +0200 | [diff] [blame] | 528 | #interrupt-cells = <2>; |
Maxime Ripard | 874b4e4 | 2013-01-26 15:36:54 +0100 | [diff] [blame] | 529 | #size-cells = <0>; |
Maxime Ripard | e10911e | 2013-01-27 19:26:05 +0100 | [diff] [blame] | 530 | #gpio-cells = <3>; |
Maxime Ripard | 581981b | 2013-01-26 15:36:55 +0100 | [diff] [blame] | 531 | |
Alexandre Belloni | 1d5726e | 2014-04-28 18:17:10 +0200 | [diff] [blame] | 532 | pwm0_pins_a: pwm0@0 { |
| 533 | allwinner,pins = "PB2"; |
| 534 | allwinner,function = "pwm"; |
| 535 | allwinner,drive = <0>; |
| 536 | allwinner,pull = <0>; |
| 537 | }; |
| 538 | |
| 539 | pwm1_pins_a: pwm1@0 { |
| 540 | allwinner,pins = "PI3"; |
| 541 | allwinner,function = "pwm"; |
| 542 | allwinner,drive = <0>; |
| 543 | allwinner,pull = <0>; |
| 544 | }; |
| 545 | |
Maxime Ripard | 581981b | 2013-01-26 15:36:55 +0100 | [diff] [blame] | 546 | uart0_pins_a: uart0@0 { |
| 547 | allwinner,pins = "PB22", "PB23"; |
| 548 | allwinner,function = "uart0"; |
| 549 | allwinner,drive = <0>; |
| 550 | allwinner,pull = <0>; |
| 551 | }; |
| 552 | |
| 553 | uart0_pins_b: uart0@1 { |
| 554 | allwinner,pins = "PF2", "PF4"; |
| 555 | allwinner,function = "uart0"; |
| 556 | allwinner,drive = <0>; |
| 557 | allwinner,pull = <0>; |
| 558 | }; |
| 559 | |
| 560 | uart1_pins_a: uart1@0 { |
| 561 | allwinner,pins = "PA10", "PA11"; |
| 562 | allwinner,function = "uart1"; |
| 563 | allwinner,drive = <0>; |
| 564 | allwinner,pull = <0>; |
| 565 | }; |
Maxime Ripard | 27cce4f | 2013-03-10 13:44:38 +0100 | [diff] [blame] | 566 | |
| 567 | i2c0_pins_a: i2c0@0 { |
| 568 | allwinner,pins = "PB0", "PB1"; |
| 569 | allwinner,function = "i2c0"; |
| 570 | allwinner,drive = <0>; |
| 571 | allwinner,pull = <0>; |
| 572 | }; |
| 573 | |
| 574 | i2c1_pins_a: i2c1@0 { |
| 575 | allwinner,pins = "PB18", "PB19"; |
| 576 | allwinner,function = "i2c1"; |
| 577 | allwinner,drive = <0>; |
| 578 | allwinner,pull = <0>; |
| 579 | }; |
| 580 | |
| 581 | i2c2_pins_a: i2c2@0 { |
| 582 | allwinner,pins = "PB20", "PB21"; |
| 583 | allwinner,function = "i2c2"; |
| 584 | allwinner,drive = <0>; |
| 585 | allwinner,pull = <0>; |
| 586 | }; |
Linus Torvalds | 496322b | 2013-07-09 18:24:39 -0700 | [diff] [blame] | 587 | |
Maxime Ripard | b21da66 | 2013-05-30 03:49:22 +0000 | [diff] [blame] | 588 | emac_pins_a: emac0@0 { |
| 589 | allwinner,pins = "PA0", "PA1", "PA2", |
| 590 | "PA3", "PA4", "PA5", "PA6", |
| 591 | "PA7", "PA8", "PA9", "PA10", |
| 592 | "PA11", "PA12", "PA13", "PA14", |
| 593 | "PA15", "PA16"; |
| 594 | allwinner,function = "emac"; |
| 595 | allwinner,drive = <0>; |
| 596 | allwinner,pull = <0>; |
| 597 | }; |
Hans de Goede | b5f86a3 | 2014-05-02 17:57:19 +0200 | [diff] [blame] | 598 | |
| 599 | mmc0_pins_a: mmc0@0 { |
| 600 | allwinner,pins = "PF0","PF1","PF2","PF3","PF4","PF5"; |
| 601 | allwinner,function = "mmc0"; |
| 602 | allwinner,drive = <2>; |
| 603 | allwinner,pull = <0>; |
| 604 | }; |
| 605 | |
| 606 | mmc0_cd_pin_reference_design: mmc0_cd_pin@0 { |
| 607 | allwinner,pins = "PH1"; |
| 608 | allwinner,function = "gpio_in"; |
| 609 | allwinner,drive = <0>; |
| 610 | allwinner,pull = <1>; |
| 611 | }; |
Hans de Goede | a4e1099 | 2014-06-30 23:57:58 +0200 | [diff] [blame] | 612 | |
| 613 | ir0_pins_a: ir0@0 { |
| 614 | allwinner,pins = "PB3","PB4"; |
| 615 | allwinner,function = "ir0"; |
| 616 | allwinner,drive = <0>; |
| 617 | allwinner,pull = <0>; |
| 618 | }; |
| 619 | |
| 620 | ir1_pins_a: ir1@0 { |
| 621 | allwinner,pins = "PB22","PB23"; |
| 622 | allwinner,function = "ir1"; |
| 623 | allwinner,drive = <0>; |
| 624 | allwinner,pull = <0>; |
| 625 | }; |
Maxime Ripard | 874b4e4 | 2013-01-26 15:36:54 +0100 | [diff] [blame] | 626 | }; |
Maxime Ripard | 89b3c99 | 2013-02-20 17:25:03 -0800 | [diff] [blame] | 627 | |
Maxime Ripard | 69144e3 | 2013-03-13 20:07:37 +0100 | [diff] [blame] | 628 | timer@01c20c00 { |
Maxime Ripard | b4f2644 | 2014-02-06 10:40:32 +0100 | [diff] [blame] | 629 | compatible = "allwinner,sun4i-a10-timer"; |
Maxime Ripard | 69144e3 | 2013-03-13 20:07:37 +0100 | [diff] [blame] | 630 | reg = <0x01c20c00 0x90>; |
| 631 | interrupts = <22>; |
| 632 | clocks = <&osc24M>; |
| 633 | }; |
| 634 | |
| 635 | wdt: watchdog@01c20c90 { |
Maxime Ripard | ca5d04d | 2014-02-07 22:29:26 +0100 | [diff] [blame] | 636 | compatible = "allwinner,sun4i-a10-wdt"; |
Maxime Ripard | 69144e3 | 2013-03-13 20:07:37 +0100 | [diff] [blame] | 637 | reg = <0x01c20c90 0x10>; |
| 638 | }; |
| 639 | |
Carlo Caione | b5d905c | 2013-10-16 20:30:26 +0200 | [diff] [blame] | 640 | rtc: rtc@01c20d00 { |
Maxime Ripard | 5fc4bc8 | 2014-04-03 14:50:03 -0700 | [diff] [blame] | 641 | compatible = "allwinner,sun4i-a10-rtc"; |
Carlo Caione | b5d905c | 2013-10-16 20:30:26 +0200 | [diff] [blame] | 642 | reg = <0x01c20d00 0x20>; |
| 643 | interrupts = <24>; |
| 644 | }; |
| 645 | |
Alexandre Belloni | 4b57a39 | 2014-04-28 18:17:11 +0200 | [diff] [blame] | 646 | pwm: pwm@01c20e00 { |
| 647 | compatible = "allwinner,sun4i-a10-pwm"; |
| 648 | reg = <0x01c20e00 0xc>; |
| 649 | clocks = <&osc24M>; |
| 650 | #pwm-cells = <3>; |
| 651 | status = "disabled"; |
| 652 | }; |
| 653 | |
Hans de Goede | a4e1099 | 2014-06-30 23:57:58 +0200 | [diff] [blame] | 654 | ir0: ir@01c21800 { |
| 655 | compatible = "allwinner,sun4i-a10-ir"; |
| 656 | clocks = <&apb0_gates 6>, <&ir0_clk>; |
| 657 | clock-names = "apb", "ir"; |
| 658 | interrupts = <5>; |
| 659 | reg = <0x01c21800 0x40>; |
| 660 | status = "disabled"; |
| 661 | }; |
| 662 | |
| 663 | ir1: ir@01c21c00 { |
| 664 | compatible = "allwinner,sun4i-a10-ir"; |
| 665 | clocks = <&apb0_gates 7>, <&ir1_clk>; |
| 666 | clock-names = "apb", "ir"; |
| 667 | interrupts = <6>; |
| 668 | reg = <0x01c21c00 0x40>; |
| 669 | status = "disabled"; |
| 670 | }; |
| 671 | |
Oliver Schinagl | 2bad969 | 2013-09-03 12:33:28 +0200 | [diff] [blame] | 672 | sid: eeprom@01c23800 { |
Maxime Ripard | 043d56e | 2014-02-07 22:20:40 +0100 | [diff] [blame] | 673 | compatible = "allwinner,sun4i-a10-sid"; |
Oliver Schinagl | 2bad969 | 2013-09-03 12:33:28 +0200 | [diff] [blame] | 674 | reg = <0x01c23800 0x10>; |
| 675 | }; |
| 676 | |
Hans de Goede | 57c8839 | 2013-12-31 17:20:50 +0100 | [diff] [blame] | 677 | rtp: rtp@01c25000 { |
Maxime Ripard | 40dd8f3 | 2014-02-02 14:52:40 +0100 | [diff] [blame] | 678 | compatible = "allwinner,sun4i-a10-ts"; |
Hans de Goede | 57c8839 | 2013-12-31 17:20:50 +0100 | [diff] [blame] | 679 | reg = <0x01c25000 0x100>; |
| 680 | interrupts = <29>; |
| 681 | }; |
| 682 | |
Maxime Ripard | 89b3c99 | 2013-02-20 17:25:03 -0800 | [diff] [blame] | 683 | uart0: serial@01c28000 { |
| 684 | compatible = "snps,dw-apb-uart"; |
| 685 | reg = <0x01c28000 0x400>; |
| 686 | interrupts = <1>; |
| 687 | reg-shift = <2>; |
| 688 | reg-io-width = <4>; |
Emilio López | 9ff49ec | 2013-03-27 18:20:39 -0300 | [diff] [blame] | 689 | clocks = <&apb1_gates 16>; |
Maxime Ripard | 89b3c99 | 2013-02-20 17:25:03 -0800 | [diff] [blame] | 690 | status = "disabled"; |
| 691 | }; |
Maxime Ripard | 76f14d0a | 2013-02-20 17:38:27 -0800 | [diff] [blame] | 692 | |
Maxime Ripard | 69144e3 | 2013-03-13 20:07:37 +0100 | [diff] [blame] | 693 | uart1: serial@01c28400 { |
| 694 | compatible = "snps,dw-apb-uart"; |
| 695 | reg = <0x01c28400 0x400>; |
| 696 | interrupts = <2>; |
| 697 | reg-shift = <2>; |
| 698 | reg-io-width = <4>; |
| 699 | clocks = <&apb1_gates 17>; |
| 700 | status = "disabled"; |
| 701 | }; |
| 702 | |
Maxime Ripard | 76f14d0a | 2013-02-20 17:38:27 -0800 | [diff] [blame] | 703 | uart2: serial@01c28800 { |
| 704 | compatible = "snps,dw-apb-uart"; |
| 705 | reg = <0x01c28800 0x400>; |
| 706 | interrupts = <3>; |
| 707 | reg-shift = <2>; |
| 708 | reg-io-width = <4>; |
Emilio López | 9ff49ec | 2013-03-27 18:20:39 -0300 | [diff] [blame] | 709 | clocks = <&apb1_gates 18>; |
Maxime Ripard | 76f14d0a | 2013-02-20 17:38:27 -0800 | [diff] [blame] | 710 | status = "disabled"; |
| 711 | }; |
| 712 | |
Maxime Ripard | 69144e3 | 2013-03-13 20:07:37 +0100 | [diff] [blame] | 713 | uart3: serial@01c28c00 { |
| 714 | compatible = "snps,dw-apb-uart"; |
| 715 | reg = <0x01c28c00 0x400>; |
| 716 | interrupts = <4>; |
| 717 | reg-shift = <2>; |
| 718 | reg-io-width = <4>; |
| 719 | clocks = <&apb1_gates 19>; |
| 720 | status = "disabled"; |
| 721 | }; |
| 722 | |
Maxime Ripard | 76f14d0a | 2013-02-20 17:38:27 -0800 | [diff] [blame] | 723 | uart4: serial@01c29000 { |
| 724 | compatible = "snps,dw-apb-uart"; |
| 725 | reg = <0x01c29000 0x400>; |
| 726 | interrupts = <17>; |
| 727 | reg-shift = <2>; |
| 728 | reg-io-width = <4>; |
Emilio López | 9ff49ec | 2013-03-27 18:20:39 -0300 | [diff] [blame] | 729 | clocks = <&apb1_gates 20>; |
Maxime Ripard | 76f14d0a | 2013-02-20 17:38:27 -0800 | [diff] [blame] | 730 | status = "disabled"; |
| 731 | }; |
| 732 | |
| 733 | uart5: serial@01c29400 { |
| 734 | compatible = "snps,dw-apb-uart"; |
| 735 | reg = <0x01c29400 0x400>; |
| 736 | interrupts = <18>; |
| 737 | reg-shift = <2>; |
| 738 | reg-io-width = <4>; |
Emilio López | 9ff49ec | 2013-03-27 18:20:39 -0300 | [diff] [blame] | 739 | clocks = <&apb1_gates 21>; |
Maxime Ripard | 76f14d0a | 2013-02-20 17:38:27 -0800 | [diff] [blame] | 740 | status = "disabled"; |
| 741 | }; |
| 742 | |
| 743 | uart6: serial@01c29800 { |
| 744 | compatible = "snps,dw-apb-uart"; |
| 745 | reg = <0x01c29800 0x400>; |
| 746 | interrupts = <19>; |
| 747 | reg-shift = <2>; |
| 748 | reg-io-width = <4>; |
Emilio López | 9ff49ec | 2013-03-27 18:20:39 -0300 | [diff] [blame] | 749 | clocks = <&apb1_gates 22>; |
Maxime Ripard | 76f14d0a | 2013-02-20 17:38:27 -0800 | [diff] [blame] | 750 | status = "disabled"; |
| 751 | }; |
| 752 | |
| 753 | uart7: serial@01c29c00 { |
| 754 | compatible = "snps,dw-apb-uart"; |
| 755 | reg = <0x01c29c00 0x400>; |
| 756 | interrupts = <20>; |
| 757 | reg-shift = <2>; |
| 758 | reg-io-width = <4>; |
Emilio López | 9ff49ec | 2013-03-27 18:20:39 -0300 | [diff] [blame] | 759 | clocks = <&apb1_gates 23>; |
Maxime Ripard | 76f14d0a | 2013-02-20 17:38:27 -0800 | [diff] [blame] | 760 | status = "disabled"; |
| 761 | }; |
Maxime Ripard | f1741fd | 2013-03-10 13:34:36 +0100 | [diff] [blame] | 762 | |
| 763 | i2c0: i2c@01c2ac00 { |
Maxime Ripard | d275545 | 2014-03-31 14:54:58 +0200 | [diff] [blame] | 764 | compatible = "allwinner,sun4i-a10-i2c"; |
Maxime Ripard | f1741fd | 2013-03-10 13:34:36 +0100 | [diff] [blame] | 765 | reg = <0x01c2ac00 0x400>; |
| 766 | interrupts = <7>; |
| 767 | clocks = <&apb1_gates 0>; |
Maxime Ripard | f1741fd | 2013-03-10 13:34:36 +0100 | [diff] [blame] | 768 | status = "disabled"; |
Hans de Goede | 60bbe31 | 2014-04-13 13:41:03 +0200 | [diff] [blame] | 769 | #address-cells = <1>; |
| 770 | #size-cells = <0>; |
Maxime Ripard | f1741fd | 2013-03-10 13:34:36 +0100 | [diff] [blame] | 771 | }; |
| 772 | |
| 773 | i2c1: i2c@01c2b000 { |
Maxime Ripard | d275545 | 2014-03-31 14:54:58 +0200 | [diff] [blame] | 774 | compatible = "allwinner,sun4i-a10-i2c"; |
Maxime Ripard | f1741fd | 2013-03-10 13:34:36 +0100 | [diff] [blame] | 775 | reg = <0x01c2b000 0x400>; |
| 776 | interrupts = <8>; |
| 777 | clocks = <&apb1_gates 1>; |
Maxime Ripard | f1741fd | 2013-03-10 13:34:36 +0100 | [diff] [blame] | 778 | status = "disabled"; |
Hans de Goede | 60bbe31 | 2014-04-13 13:41:03 +0200 | [diff] [blame] | 779 | #address-cells = <1>; |
| 780 | #size-cells = <0>; |
Maxime Ripard | f1741fd | 2013-03-10 13:34:36 +0100 | [diff] [blame] | 781 | }; |
| 782 | |
| 783 | i2c2: i2c@01c2b400 { |
Maxime Ripard | d275545 | 2014-03-31 14:54:58 +0200 | [diff] [blame] | 784 | compatible = "allwinner,sun4i-a10-i2c"; |
Maxime Ripard | f1741fd | 2013-03-10 13:34:36 +0100 | [diff] [blame] | 785 | reg = <0x01c2b400 0x400>; |
| 786 | interrupts = <9>; |
| 787 | clocks = <&apb1_gates 2>; |
Maxime Ripard | f1741fd | 2013-03-10 13:34:36 +0100 | [diff] [blame] | 788 | status = "disabled"; |
Hans de Goede | 60bbe31 | 2014-04-13 13:41:03 +0200 | [diff] [blame] | 789 | #address-cells = <1>; |
| 790 | #size-cells = <0>; |
Maxime Ripard | f1741fd | 2013-03-10 13:34:36 +0100 | [diff] [blame] | 791 | }; |
Maxime Ripard | 874b4e4 | 2013-01-26 15:36:54 +0100 | [diff] [blame] | 792 | }; |
Stefan Roese | 7423d2d | 2012-11-26 15:46:12 +0100 | [diff] [blame] | 793 | }; |