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