1 // SPDX-License-Identifier: GPL-2.0-only 2 /* 3 * Abilis Systems TB101 SOC device tree 4 * 5 * Copyright (C) Abilis Systems 2013 6 * 7 * Author: Christian Ruppert <christian.ruppert 8 */ 9 10 /include/ "abilis_tb10x.dtsi" 11 12 13 / { 14 soc100 { 15 bus-frequency = <166666666>; 16 17 pll0: oscillator { 18 clock-frequency = <10 19 }; 20 cpu_clk: clkdiv_cpu { 21 clock-mult = <1>; 22 clock-div = <2>; 23 }; 24 ahb_clk: clkdiv_ahb { 25 clock-mult = <1>; 26 clock-div = <6>; 27 }; 28 29 iomux: iomux@ff10601c { 30 /* Port 1 */ 31 pctl_tsin_s0: pctl-tsi 32 abilis,functio 33 }; 34 pctl_tsin_s1: pctl-tsi 35 abilis,functio 36 }; 37 pctl_gpio_a: pctl-gpio 38 abilis,functio 39 }; 40 pctl_tsin_p1: pctl-tsi 41 abilis,functio 42 }; 43 /* Port 2 */ 44 pctl_tsin_s2: pctl-tsi 45 abilis,functio 46 }; 47 pctl_tsin_s3: pctl-tsi 48 abilis,functio 49 }; 50 pctl_gpio_c: pctl-gpio 51 abilis,functio 52 }; 53 pctl_tsin_p3: pctl-tsi 54 abilis,functio 55 }; 56 /* Port 3 */ 57 pctl_tsin_s4: pctl-tsi 58 abilis,functio 59 }; 60 pctl_tsin_s5: pctl-tsi 61 abilis,functio 62 }; 63 pctl_gpio_e: pctl-gpio 64 abilis,functio 65 }; 66 pctl_tsin_p5: pctl-tsi 67 abilis,functio 68 }; 69 /* Port 4 */ 70 pctl_tsin_s6: pctl-tsi 71 abilis,functio 72 }; 73 pctl_tsin_s7: pctl-tsi 74 abilis,functio 75 }; 76 pctl_gpio_g: pctl-gpio 77 abilis,functio 78 }; 79 pctl_tsin_p7: pctl-tsi 80 abilis,functio 81 }; 82 /* Port 5 */ 83 pctl_gpio_j: pctl-gpio 84 abilis,functio 85 }; 86 pctl_gpio_k: pctl-gpio 87 abilis,functio 88 }; 89 pctl_ciplus: pctl-cipl 90 abilis,functio 91 }; 92 pctl_mcard: pctl-mcard 93 abilis,functio 94 }; 95 pctl_stc0: pctl-stc0 { 96 abilis,functio 97 }; 98 pctl_stc1: pctl-stc1 { 99 abilis,functio 100 }; 101 /* Port 6 */ 102 pctl_tsout_p: pctl-tso 103 abilis,functio 104 }; 105 pctl_tsout_s0: pctl-ts 106 abilis,functio 107 }; 108 pctl_tsout_s1: pctl-ts 109 abilis,functio 110 }; 111 pctl_tsout_s2: pctl-ts 112 abilis,functio 113 }; 114 pctl_tsout_s3: pctl-ts 115 abilis,functio 116 }; 117 /* Port 7 */ 118 pctl_uart0: pctl-uart0 119 abilis,functio 120 }; 121 pctl_uart1: pctl-uart1 122 abilis,functio 123 }; 124 pctl_gpio_l: pctl-gpio 125 abilis,functio 126 }; 127 pctl_gpio_m: pctl-gpio 128 abilis,functio 129 }; 130 /* Port 8 */ 131 pctl_spi3: pctl-spi3 { 132 abilis,functio 133 }; 134 pctl_jtag: pctl-jtag { 135 abilis,functio 136 }; 137 /* Port 9 */ 138 pctl_spi1: pctl-spi1 { 139 abilis,functio 140 }; 141 pctl_gpio_n: pctl-gpio 142 abilis,functio 143 }; 144 /* Unmuxed GPIOs */ 145 pctl_gpio_b: pctl-gpio 146 abilis,functio 147 }; 148 pctl_gpio_d: pctl-gpio 149 abilis,functio 150 }; 151 pctl_gpio_f: pctl-gpio 152 abilis,functio 153 }; 154 pctl_gpio_h: pctl-gpio 155 abilis,functio 156 }; 157 pctl_gpio_i: pctl-gpio 158 abilis,functio 159 }; 160 }; 161 162 gpioa: gpio@ff140000 { 163 compatible = "abilis,t 164 interrupt-controller; 165 #interrupt-cells = <1> 166 interrupt-parent = <&t 167 interrupts = <27 2>; 168 reg = <0xff140000 0x10 169 gpio-controller; 170 #gpio-cells = <2>; 171 abilis,ngpio = <3>; 172 gpio-ranges = <&iomux 173 gpio-ranges-group-name 174 }; 175 gpiob: gpio@ff141000 { 176 compatible = "abilis,t 177 interrupt-controller; 178 #interrupt-cells = <1> 179 interrupt-parent = <&t 180 interrupts = <27 2>; 181 reg = <0xff141000 0x10 182 gpio-controller; 183 #gpio-cells = <2>; 184 abilis,ngpio = <2>; 185 gpio-ranges = <&iomux 186 gpio-ranges-group-name 187 }; 188 gpioc: gpio@ff142000 { 189 compatible = "abilis,t 190 interrupt-controller; 191 #interrupt-cells = <1> 192 interrupt-parent = <&t 193 interrupts = <27 2>; 194 reg = <0xff142000 0x10 195 gpio-controller; 196 #gpio-cells = <2>; 197 abilis,ngpio = <3>; 198 gpio-ranges = <&iomux 199 gpio-ranges-group-name 200 }; 201 gpiod: gpio@ff143000 { 202 compatible = "abilis,t 203 interrupt-controller; 204 #interrupt-cells = <1> 205 interrupt-parent = <&t 206 interrupts = <27 2>; 207 reg = <0xff143000 0x10 208 gpio-controller; 209 #gpio-cells = <2>; 210 abilis,ngpio = <2>; 211 gpio-ranges = <&iomux 212 gpio-ranges-group-name 213 }; 214 gpioe: gpio@ff144000 { 215 compatible = "abilis,t 216 interrupt-controller; 217 #interrupt-cells = <1> 218 interrupt-parent = <&t 219 interrupts = <27 2>; 220 reg = <0xff144000 0x10 221 gpio-controller; 222 #gpio-cells = <2>; 223 abilis,ngpio = <3>; 224 gpio-ranges = <&iomux 225 gpio-ranges-group-name 226 }; 227 gpiof: gpio@ff145000 { 228 compatible = "abilis,t 229 interrupt-controller; 230 #interrupt-cells = <1> 231 interrupt-parent = <&t 232 interrupts = <27 2>; 233 reg = <0xff145000 0x10 234 gpio-controller; 235 #gpio-cells = <2>; 236 abilis,ngpio = <2>; 237 gpio-ranges = <&iomux 238 gpio-ranges-group-name 239 }; 240 gpiog: gpio@ff146000 { 241 compatible = "abilis,t 242 interrupt-controller; 243 #interrupt-cells = <1> 244 interrupt-parent = <&t 245 interrupts = <27 2>; 246 reg = <0xff146000 0x10 247 gpio-controller; 248 #gpio-cells = <2>; 249 abilis,ngpio = <3>; 250 gpio-ranges = <&iomux 251 gpio-ranges-group-name 252 }; 253 gpioh: gpio@ff147000 { 254 compatible = "abilis,t 255 interrupt-controller; 256 #interrupt-cells = <1> 257 interrupt-parent = <&t 258 interrupts = <27 2>; 259 reg = <0xff147000 0x10 260 gpio-controller; 261 #gpio-cells = <2>; 262 abilis,ngpio = <2>; 263 gpio-ranges = <&iomux 264 gpio-ranges-group-name 265 }; 266 gpioi: gpio@ff148000 { 267 compatible = "abilis,t 268 interrupt-controller; 269 #interrupt-cells = <1> 270 interrupt-parent = <&t 271 interrupts = <27 2>; 272 reg = <0xff148000 0x10 273 gpio-controller; 274 #gpio-cells = <2>; 275 abilis,ngpio = <12>; 276 gpio-ranges = <&iomux 277 gpio-ranges-group-name 278 }; 279 gpioj: gpio@ff149000 { 280 compatible = "abilis,t 281 interrupt-controller; 282 #interrupt-cells = <1> 283 interrupt-parent = <&t 284 interrupts = <27 2>; 285 reg = <0xff149000 0x10 286 gpio-controller; 287 #gpio-cells = <2>; 288 abilis,ngpio = <32>; 289 gpio-ranges = <&iomux 290 gpio-ranges-group-name 291 }; 292 gpiok: gpio@ff14a000 { 293 compatible = "abilis,t 294 interrupt-controller; 295 #interrupt-cells = <1> 296 interrupt-parent = <&t 297 interrupts = <27 2>; 298 reg = <0xff14a000 0x10 299 gpio-controller; 300 #gpio-cells = <2>; 301 abilis,ngpio = <22>; 302 gpio-ranges = <&iomux 303 gpio-ranges-group-name 304 }; 305 gpiol: gpio@ff14b000 { 306 compatible = "abilis,t 307 interrupt-controller; 308 #interrupt-cells = <1> 309 interrupt-parent = <&t 310 interrupts = <27 2>; 311 reg = <0xff14b000 0x10 312 gpio-controller; 313 #gpio-cells = <2>; 314 abilis,ngpio = <4>; 315 gpio-ranges = <&iomux 316 gpio-ranges-group-name 317 }; 318 gpiom: gpio@ff14c000 { 319 compatible = "abilis,t 320 interrupt-controller; 321 #interrupt-cells = <1> 322 interrupt-parent = <&t 323 interrupts = <27 2>; 324 reg = <0xff14c000 0x10 325 gpio-controller; 326 #gpio-cells = <2>; 327 abilis,ngpio = <4>; 328 gpio-ranges = <&iomux 329 gpio-ranges-group-name 330 }; 331 gpion: gpio@ff14d000 { 332 compatible = "abilis,t 333 interrupt-controller; 334 #interrupt-cells = <1> 335 interrupt-parent = <&t 336 interrupts = <27 2>; 337 reg = <0xff14d000 0x10 338 gpio-controller; 339 #gpio-cells = <2>; 340 abilis,ngpio = <5>; 341 gpio-ranges = <&iomux 342 gpio-ranges-group-name 343 }; 344 }; 345 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.