1 // SPDX-License-Identifier: GPL-2.0 2 /* 3 * Device Tree file for Cirrus Logic systems E 4 */ 5 #include <dt-bindings/gpio/gpio.h> 6 #include <dt-bindings/leds/common.h> 7 #include <dt-bindings/input/input.h> 8 #include <dt-bindings/clock/cirrus,ep9301-sysc 9 / { 10 soc: soc { 11 compatible = "simple-bus"; 12 ranges; 13 #address-cells = <1>; 14 #size-cells = <1>; 15 16 syscon: syscon@80930000 { 17 compatible = "cirrus,e 18 reg = <0x80930000 0x10 19 20 #clock-cells = <1>; 21 clocks = <&xtali>; 22 23 spi_default_pins: pins 24 function = "sp 25 groups = "ssp" 26 }; 27 28 ac97_default_pins: pin 29 function = "ac 30 groups = "ac97 31 }; 32 33 i2s_on_ssp_pins: pins- 34 function = "i2 35 groups = "i2s_ 36 }; 37 38 i2s_on_ac97_pins: pins 39 function = "i2 40 groups = "i2s_ 41 }; 42 43 gpio1_default_pins: pi 44 function = "gp 45 groups = "gpio 46 }; 47 48 pwm1_default_pins: pin 49 function = "pw 50 groups = "pwm1 51 }; 52 53 gpio2_default_pins: pi 54 function = "gp 55 groups = "gpio 56 }; 57 58 gpio3_default_pins: pi 59 function = "gp 60 groups = "gpio 61 }; 62 63 keypad_default_pins: p 64 function = "ke 65 groups = "keyp 66 }; 67 68 gpio4_default_pins: pi 69 function = "gp 70 groups = "gpio 71 }; 72 73 gpio6_default_pins: pi 74 function = "gp 75 groups = "gpio 76 }; 77 78 gpio7_default_pins: pi 79 function = "gp 80 groups = "gpio 81 }; 82 83 ide_default_pins: pins 84 function = "pa 85 groups = "ideg 86 }; 87 88 lcd_on_dram0_pins: pin 89 function = "lc 90 groups = "rast 91 }; 92 93 lcd_on_dram3_pins: pin 94 function = "lc 95 groups = "rast 96 }; 97 }; 98 99 adc: adc@80900000 { 100 compatible = "cirrus,e 101 reg = <0x80900000 0x28 102 clocks = <&syscon EP93 103 interrupt-parent = <&v 104 interrupts = <30>; 105 status = "disabled"; 106 }; 107 108 /* 109 * The EP93XX expansion bus is 110 * windows in the 256MB space 111 * But since we don't require 112 * represent it as a simple-bu 113 */ 114 ebi: bus@80080000 { 115 compatible = "simple-b 116 reg = <0x80080000 0x20 117 native-endian; 118 #address-cells = <1>; 119 #size-cells = <1>; 120 ranges; 121 }; 122 123 dma0: dma-controller@80000000 124 compatible = "cirrus,e 125 reg = <0x80000000 0x00 126 <0x80000040 0x00 127 <0x80000080 0x00 128 <0x800000c0 0x00 129 <0x80000240 0x00 130 <0x80000200 0x00 131 <0x800002c0 0x00 132 <0x80000280 0x00 133 <0x80000340 0x00 134 <0x80000300 0x00 135 clocks = <&syscon EP93 136 <&syscon EP93 137 <&syscon EP93 138 <&syscon EP93 139 <&syscon EP93 140 <&syscon EP93 141 <&syscon EP93 142 <&syscon EP93 143 <&syscon EP93 144 <&syscon EP93 145 clock-names = "m2p0", 146 "m2p2", 147 "m2p4", 148 "m2p6", 149 "m2p8", 150 interrupt-parent = <&v 151 interrupts = <7>, <8>, 152 <12>, <13>, <1 153 #dma-cells = <2>; 154 }; 155 156 dma1: dma-controller@80000100 157 compatible = "cirrus,e 158 reg = <0x80000100 0x00 159 <0x80000140 0x00 160 clocks = <&syscon EP93 161 <&syscon EP93 162 clock-names = "m2m0", 163 interrupt-parent = <&v 164 interrupts = <17>, <18 165 #dma-cells = <2>; 166 }; 167 168 eth0: ethernet@80010000 { 169 compatible = "cirrus,e 170 reg = <0x80010000 0x10 171 interrupt-parent = <&v 172 interrupts = <7>; 173 mdio0: mdio { 174 #address-cells 175 #size-cells = 176 }; 177 }; 178 179 gpio0: gpio@80840000 { 180 compatible = "cirrus,e 181 reg = <0x80840000 0x04 182 <0x80840010 0x04 183 <0x80840090 0x1c 184 reg-names = "data", "d 185 gpio-controller; 186 #gpio-cells = <2>; 187 interrupt-controller; 188 #interrupt-cells = <2> 189 interrupt-parent = <&v 190 interrupts = <27>; 191 }; 192 193 gpio1: gpio@80840004 { 194 compatible = "cirrus,e 195 reg = <0x80840004 0x04 196 <0x80840014 0x04 197 <0x808400ac 0x1c 198 reg-names = "data", "d 199 gpio-controller; 200 #gpio-cells = <2>; 201 interrupt-controller; 202 #interrupt-cells = <2> 203 interrupt-parent = <&v 204 interrupts = <27>; 205 }; 206 207 gpio2: gpio@80840008 { 208 compatible = "cirrus,e 209 reg = <0x80840008 0x04 210 <0x80840018 0x04 211 reg-names = "data", "d 212 gpio-controller; 213 #gpio-cells = <2>; 214 pinctrl-names = "defau 215 pinctrl-0 = <&gpio2_de 216 }; 217 218 gpio3: gpio@8084000c { 219 compatible = "cirrus,e 220 reg = <0x8084000c 0x04 221 <0x8084001c 0x04 222 reg-names = "data", "d 223 gpio-controller; 224 #gpio-cells = <2>; 225 pinctrl-names = "defau 226 pinctrl-0 = <&gpio3_de 227 }; 228 229 gpio4: gpio@80840020 { 230 compatible = "cirrus,e 231 reg = <0x80840020 0x04 232 <0x80840024 0x04 233 reg-names = "data", "d 234 gpio-controller; 235 #gpio-cells = <2>; 236 pinctrl-names = "defau 237 pinctrl-0 = <&gpio4_de 238 }; 239 240 gpio5: gpio@80840030 { 241 compatible = "cirrus,e 242 reg = <0x80840030 0x04 243 <0x80840034 0x04 244 <0x8084004c 0x1c 245 reg-names = "data", "d 246 gpio-controller; 247 #gpio-cells = <2>; 248 interrupt-controller; 249 #interrupt-cells = <2> 250 interrupts-extended = 251 252 253 254 }; 255 256 gpio6: gpio@80840038 { 257 compatible = "cirrus,e 258 reg = <0x80840038 0x04 259 <0x8084003c 0x04 260 reg-names = "data", "d 261 gpio-controller; 262 #gpio-cells = <2>; 263 pinctrl-names = "defau 264 pinctrl-0 = <&gpio6_de 265 }; 266 267 gpio7: gpio@80840040 { 268 compatible = "cirrus,e 269 reg = <0x80840040 0x04 270 <0x80840044 0x04 271 reg-names = "data", "d 272 gpio-controller; 273 #gpio-cells = <2>; 274 pinctrl-names = "defau 275 pinctrl-0 = <&gpio7_de 276 }; 277 278 i2s: i2s@80820000 { 279 compatible = "cirrus,e 280 reg = <0x80820000 0x10 281 #sound-dai-cells = <0> 282 interrupt-parent = <&v 283 interrupts = <28>; 284 clocks = <&syscon EP93 285 <&syscon EP93 286 <&syscon EP93 287 clock-names = "mclk", 288 dmas = <&dma0 0 1>, <& 289 dma-names = "tx", "rx" 290 status = "disabled"; 291 }; 292 293 ide: ide@800a0000 { 294 compatible = "cirrus,e 295 reg = <0x800a0000 0x38 296 interrupt-parent = <&v 297 interrupts = <8>; 298 pinctrl-names = "defau 299 pinctrl-0 = <&ide_defa 300 status = "disabled"; 301 }; 302 303 vic0: interrupt-controller@800 304 compatible = "arm,pl19 305 reg = <0x800b0000 0x10 306 interrupt-controller; 307 #interrupt-cells = <1> 308 valid-mask = <0x7fffff 309 valid-wakeup-mask = <0 310 }; 311 312 vic1: interrupt-controller@800 313 compatible = "arm,pl19 314 reg = <0x800c0000 0x10 315 interrupt-controller; 316 #interrupt-cells = <1> 317 valid-mask = <0x1fffff 318 valid-wakeup-mask = <0 319 }; 320 321 keypad: keypad@800f0000 { 322 compatible = "cirrus,e 323 reg = <0x800f0000 0x0c 324 interrupt-parent = <&v 325 interrupts = <29>; 326 clocks = <&syscon EP93 327 pinctrl-names = "defau 328 pinctrl-0 = <&keypad_d 329 linux,keymap = <KEY_U 330 <KEY_D 331 <KEY_V 332 <KEY_H 333 <KEY_R 334 <KEY_L 335 <KEY_E 336 <KEY_V 337 <KEY_F 338 <KEY_F 339 <KEY_F 340 <KEY_F 341 <KEY_F 342 <KEY_F 343 <KEY_F 344 <KEY_P 345 }; 346 347 pwm0: pwm@80910000 { 348 compatible = "cirrus,e 349 reg = <0x80910000 0x10 350 clocks = <&syscon EP93 351 #pwm-cells = <3>; 352 status = "disabled"; 353 }; 354 355 pwm1: pwm@80910020 { 356 compatible = "cirrus,e 357 reg = <0x80910020 0x10 358 clocks = <&syscon EP93 359 #pwm-cells = <3>; 360 pinctrl-names = "defau 361 pinctrl-0 = <&pwm1_def 362 status = "disabled"; 363 }; 364 365 rtc0: rtc@80920000 { 366 compatible = "cirrus,e 367 reg = <0x80920000 0x10 368 }; 369 370 spi0: spi@808a0000 { 371 compatible = "cirrus,e 372 reg = <0x808a0000 0x18 373 #address-cells = <1>; 374 #size-cells = <0>; 375 interrupt-parent = <&v 376 interrupts = <21>; 377 clocks = <&syscon EP93 378 pinctrl-names = "defau 379 pinctrl-0 = <&spi_defa 380 status = "disabled"; 381 }; 382 383 timer: timer@80810000 { 384 compatible = "cirrus,e 385 reg = <0x80810000 0x10 386 interrupt-parent = <&v 387 interrupts = <19>; 388 }; 389 390 uart0: serial@808c0000 { 391 compatible = "arm,pl01 392 reg = <0x808c0000 0x10 393 arm,primecell-periphid 394 clocks = <&syscon EP93 395 clock-names = "uartclk 396 interrupt-parent = <&v 397 interrupts = <20>; 398 status = "disabled"; 399 }; 400 401 uart1: uart@808d0000 { 402 compatible = "arm,prim 403 reg = <0x808d0000 0x10 404 arm,primecell-periphid 405 clocks = <&syscon EP93 406 clock-names = "apb:uar 407 interrupt-parent = <&v 408 interrupts = <22>; 409 status = "disabled"; 410 }; 411 412 uart2: uart@808b0000 { 413 compatible = "arm,prim 414 reg = <0x808b0000 0x10 415 arm,primecell-periphid 416 clocks = <&syscon EP93 417 clock-names = "apb:uar 418 interrupt-parent = <&v 419 interrupts = <23>; 420 status = "disabled"; 421 }; 422 423 usb0: usb@80020000 { 424 compatible = "generic- 425 reg = <0x80020000 0x10 426 interrupt-parent = <&v 427 interrupts = <24>; 428 clocks = <&syscon EP93 429 status = "disabled"; 430 }; 431 432 watchdog0: watchdog@80940000 { 433 compatible = "cirrus,e 434 reg = <0x80940000 0x08 435 }; 436 }; 437 438 xtali: oscillator { 439 compatible = "fixed-clock"; 440 #clock-cells = <0>; 441 clock-frequency = <14745600>; 442 clock-output-names = "xtali"; 443 }; 444 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.