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 { |
| 8 | gpio2: gpio@101e6000 { |
| 9 | compatible = "arm,pl061", "arm,primecell"; |
| 10 | reg = <0x101e6000 0x1000>; |
| 11 | interrupts = <8>; |
| 12 | gpio-controller; |
| 13 | #gpio-cells = <2>; |
| 14 | interrupt-controller; |
| 15 | #interrupt-cells = <2>; |
Rob Herring | 2e45278 | 2014-03-01 22:22:53 -0600 | [diff] [blame] | 16 | clocks = <&pclk>; |
| 17 | clock-names = "apb_pclk"; |
Grant Likely | 3ba7222 | 2011-07-26 03:19:06 -0600 | [diff] [blame] | 18 | }; |
| 19 | |
| 20 | gpio3: gpio@101e7000 { |
| 21 | compatible = "arm,pl061", "arm,primecell"; |
| 22 | reg = <0x101e7000 0x1000>; |
| 23 | interrupts = <9>; |
| 24 | gpio-controller; |
| 25 | #gpio-cells = <2>; |
| 26 | interrupt-controller; |
| 27 | #interrupt-cells = <2>; |
Rob Herring | 2e45278 | 2014-03-01 22:22:53 -0600 | [diff] [blame] | 28 | clocks = <&pclk>; |
| 29 | clock-names = "apb_pclk"; |
Grant Likely | 3ba7222 | 2011-07-26 03:19:06 -0600 | [diff] [blame] | 30 | }; |
| 31 | |
Rob Herring | daeea28 | 2015-01-28 10:16:17 -0600 | [diff] [blame] | 32 | pci-controller@10001000 { |
| 33 | compatible = "arm,versatile-pci"; |
| 34 | device_type = "pci"; |
| 35 | reg = <0x10001000 0x1000 |
| 36 | 0x41000000 0x10000 |
| 37 | 0x42000000 0x100000>; |
| 38 | bus-range = <0 0xff>; |
| 39 | #address-cells = <3>; |
| 40 | #size-cells = <2>; |
| 41 | #interrupt-cells = <1>; |
| 42 | |
| 43 | ranges = <0x01000000 0 0x00000000 0x43000000 0 0x00010000 /* downstream I/O */ |
| 44 | 0x02000000 0 0x50000000 0x50000000 0 0x10000000 /* non-prefetchable memory */ |
| 45 | 0x42000000 0 0x60000000 0x60000000 0 0x10000000>; /* prefetchable memory */ |
| 46 | |
| 47 | interrupt-map-mask = <0x1800 0 0 7>; |
| 48 | interrupt-map = <0x1800 0 0 1 &sic 28 |
| 49 | 0x1800 0 0 2 &sic 29 |
| 50 | 0x1800 0 0 3 &sic 30 |
| 51 | 0x1800 0 0 4 &sic 27 |
| 52 | |
| 53 | 0x1000 0 0 1 &sic 27 |
| 54 | 0x1000 0 0 2 &sic 28 |
| 55 | 0x1000 0 0 3 &sic 29 |
| 56 | 0x1000 0 0 4 &sic 30 |
| 57 | |
| 58 | 0x0800 0 0 1 &sic 30 |
| 59 | 0x0800 0 0 2 &sic 27 |
| 60 | 0x0800 0 0 3 &sic 28 |
| 61 | 0x0800 0 0 4 &sic 29 |
| 62 | |
| 63 | 0x0000 0 0 1 &sic 29 |
| 64 | 0x0000 0 0 2 &sic 30 |
| 65 | 0x0000 0 0 3 &sic 27 |
| 66 | 0x0000 0 0 4 &sic 28>; |
| 67 | }; |
| 68 | |
Grant Likely | 3ba7222 | 2011-07-26 03:19:06 -0600 | [diff] [blame] | 69 | fpga { |
| 70 | uart@9000 { |
| 71 | compatible = "arm,pl011", "arm,primecell"; |
| 72 | reg = <0x9000 0x1000>; |
| 73 | interrupt-parent = <&sic>; |
| 74 | interrupts = <6>; |
Rob Herring | 2e45278 | 2014-03-01 22:22:53 -0600 | [diff] [blame] | 75 | clocks = <&xtal24mhz>, <&pclk>; |
| 76 | clock-names = "uartclk", "apb_pclk"; |
Grant Likely | 3ba7222 | 2011-07-26 03:19:06 -0600 | [diff] [blame] | 77 | }; |
| 78 | sci@a000 { |
| 79 | compatible = "arm,primecell"; |
| 80 | reg = <0xa000 0x1000>; |
| 81 | interrupt-parent = <&sic>; |
| 82 | interrupts = <5>; |
Rob Herring | 2e45278 | 2014-03-01 22:22:53 -0600 | [diff] [blame] | 83 | clocks = <&xtal24mhz>; |
| 84 | clock-names = "apb_pclk"; |
Grant Likely | 3ba7222 | 2011-07-26 03:19:06 -0600 | [diff] [blame] | 85 | }; |
| 86 | mmc@b000 { |
Rob Herring | 04aa49f | 2014-03-03 02:28:38 -0600 | [diff] [blame] | 87 | compatible = "arm,pl180", "arm,primecell"; |
Grant Likely | 3ba7222 | 2011-07-26 03:19:06 -0600 | [diff] [blame] | 88 | reg = <0xb000 0x1000>; |
Grant Likely | 0976c94 | 2013-10-28 16:50:11 -0700 | [diff] [blame] | 89 | interrupts-extended = <&vic 23 &sic 2>; |
Rob Herring | 2e45278 | 2014-03-01 22:22:53 -0600 | [diff] [blame] | 90 | clocks = <&xtal24mhz>, <&pclk>; |
| 91 | clock-names = "mclk", "apb_pclk"; |
Grant Likely | 3ba7222 | 2011-07-26 03:19:06 -0600 | [diff] [blame] | 92 | }; |
| 93 | }; |
| 94 | }; |
| 95 | }; |