Grant Likely | b519051 | 2014-02-18 21:46:16 +0000 | [diff] [blame] | 1 | #include <versatile-ab.dts> |
Grant Likely | 3ba7222 | 2011-07-26 03:19:06 -0600 | [diff] [blame] | 2 | |
| 3 | / { |
| 4 | model = "ARM Versatile PB"; |
| 5 | compatible = "arm,versatile-pb"; |
| 6 | |
| 7 | amba { |
Linus Walleij | 20f1275 | 2016-01-05 09:59:30 +0100 | [diff] [blame] | 8 | /* The Versatile PB is using more SIC IRQ lines than the AB */ |
| 9 | sic: intc@10003000 { |
| 10 | clear-mask = <0xffffffff>; |
| 11 | /* |
| 12 | * Valid interrupt lines mask according to |
| 13 | * figure 3-30 page 3-74 of ARM DUI 0224B |
| 14 | */ |
| 15 | valid-mask = <0x7fe003ff>; |
| 16 | }; |
| 17 | |
Grant Likely | 3ba7222 | 2011-07-26 03:19:06 -0600 | [diff] [blame] | 18 | gpio2: gpio@101e6000 { |
| 19 | compatible = "arm,pl061", "arm,primecell"; |
| 20 | reg = <0x101e6000 0x1000>; |
| 21 | interrupts = <8>; |
| 22 | gpio-controller; |
| 23 | #gpio-cells = <2>; |
| 24 | interrupt-controller; |
| 25 | #interrupt-cells = <2>; |
Rob Herring | 2e45278 | 2014-03-01 22:22:53 -0600 | [diff] [blame] | 26 | clocks = <&pclk>; |
| 27 | clock-names = "apb_pclk"; |
Grant Likely | 3ba7222 | 2011-07-26 03:19:06 -0600 | [diff] [blame] | 28 | }; |
| 29 | |
| 30 | gpio3: gpio@101e7000 { |
| 31 | compatible = "arm,pl061", "arm,primecell"; |
| 32 | reg = <0x101e7000 0x1000>; |
| 33 | interrupts = <9>; |
| 34 | gpio-controller; |
| 35 | #gpio-cells = <2>; |
| 36 | interrupt-controller; |
| 37 | #interrupt-cells = <2>; |
Rob Herring | 2e45278 | 2014-03-01 22:22:53 -0600 | [diff] [blame] | 38 | clocks = <&pclk>; |
| 39 | clock-names = "apb_pclk"; |
Grant Likely | 3ba7222 | 2011-07-26 03:19:06 -0600 | [diff] [blame] | 40 | }; |
| 41 | |
Rob Herring | daeea28 | 2015-01-28 10:16:17 -0600 | [diff] [blame] | 42 | pci-controller@10001000 { |
| 43 | compatible = "arm,versatile-pci"; |
| 44 | device_type = "pci"; |
| 45 | reg = <0x10001000 0x1000 |
| 46 | 0x41000000 0x10000 |
| 47 | 0x42000000 0x100000>; |
| 48 | bus-range = <0 0xff>; |
| 49 | #address-cells = <3>; |
| 50 | #size-cells = <2>; |
| 51 | #interrupt-cells = <1>; |
| 52 | |
| 53 | ranges = <0x01000000 0 0x00000000 0x43000000 0 0x00010000 /* downstream I/O */ |
| 54 | 0x02000000 0 0x50000000 0x50000000 0 0x10000000 /* non-prefetchable memory */ |
| 55 | 0x42000000 0 0x60000000 0x60000000 0 0x10000000>; /* prefetchable memory */ |
| 56 | |
| 57 | interrupt-map-mask = <0x1800 0 0 7>; |
| 58 | interrupt-map = <0x1800 0 0 1 &sic 28 |
| 59 | 0x1800 0 0 2 &sic 29 |
| 60 | 0x1800 0 0 3 &sic 30 |
| 61 | 0x1800 0 0 4 &sic 27 |
| 62 | |
| 63 | 0x1000 0 0 1 &sic 27 |
| 64 | 0x1000 0 0 2 &sic 28 |
| 65 | 0x1000 0 0 3 &sic 29 |
| 66 | 0x1000 0 0 4 &sic 30 |
| 67 | |
| 68 | 0x0800 0 0 1 &sic 30 |
| 69 | 0x0800 0 0 2 &sic 27 |
| 70 | 0x0800 0 0 3 &sic 28 |
| 71 | 0x0800 0 0 4 &sic 29 |
| 72 | |
| 73 | 0x0000 0 0 1 &sic 29 |
| 74 | 0x0000 0 0 2 &sic 30 |
| 75 | 0x0000 0 0 3 &sic 27 |
| 76 | 0x0000 0 0 4 &sic 28>; |
| 77 | }; |
| 78 | |
Grant Likely | 3ba7222 | 2011-07-26 03:19:06 -0600 | [diff] [blame] | 79 | fpga { |
Linus Walleij | 20f1275 | 2016-01-05 09:59:30 +0100 | [diff] [blame] | 80 | mmc@5000 { |
| 81 | /* |
| 82 | * Overrides the interrupt assignment from |
| 83 | * the Versatile AB board file. |
| 84 | */ |
| 85 | interrupts-extended = <&sic 22 &sic 23>; |
| 86 | }; |
Grant Likely | 3ba7222 | 2011-07-26 03:19:06 -0600 | [diff] [blame] | 87 | uart@9000 { |
| 88 | compatible = "arm,pl011", "arm,primecell"; |
| 89 | reg = <0x9000 0x1000>; |
| 90 | interrupt-parent = <&sic>; |
| 91 | interrupts = <6>; |
Rob Herring | 2e45278 | 2014-03-01 22:22:53 -0600 | [diff] [blame] | 92 | clocks = <&xtal24mhz>, <&pclk>; |
| 93 | clock-names = "uartclk", "apb_pclk"; |
Grant Likely | 3ba7222 | 2011-07-26 03:19:06 -0600 | [diff] [blame] | 94 | }; |
| 95 | sci@a000 { |
| 96 | compatible = "arm,primecell"; |
| 97 | reg = <0xa000 0x1000>; |
| 98 | interrupt-parent = <&sic>; |
| 99 | interrupts = <5>; |
Rob Herring | 2e45278 | 2014-03-01 22:22:53 -0600 | [diff] [blame] | 100 | clocks = <&xtal24mhz>; |
| 101 | clock-names = "apb_pclk"; |
Grant Likely | 3ba7222 | 2011-07-26 03:19:06 -0600 | [diff] [blame] | 102 | }; |
| 103 | mmc@b000 { |
Rob Herring | 04aa49f | 2014-03-03 02:28:38 -0600 | [diff] [blame] | 104 | compatible = "arm,pl180", "arm,primecell"; |
Grant Likely | 3ba7222 | 2011-07-26 03:19:06 -0600 | [diff] [blame] | 105 | reg = <0xb000 0x1000>; |
Linus Walleij | 20f1275 | 2016-01-05 09:59:30 +0100 | [diff] [blame] | 106 | interrupt-parent = <&sic>; |
| 107 | interrupts = <1>, <2>; |
Rob Herring | 2e45278 | 2014-03-01 22:22:53 -0600 | [diff] [blame] | 108 | clocks = <&xtal24mhz>, <&pclk>; |
| 109 | clock-names = "mclk", "apb_pclk"; |
Grant Likely | 3ba7222 | 2011-07-26 03:19:06 -0600 | [diff] [blame] | 110 | }; |
| 111 | }; |
| 112 | }; |
| 113 | }; |