2014-02-19 05:46:16 +08:00
|
|
|
#include <versatile-ab.dts>
|
2011-07-26 17:19:06 +08:00
|
|
|
|
|
|
|
/ {
|
|
|
|
model = "ARM Versatile PB";
|
|
|
|
compatible = "arm,versatile-pb";
|
|
|
|
|
|
|
|
amba {
|
|
|
|
gpio2: gpio@101e6000 {
|
|
|
|
compatible = "arm,pl061", "arm,primecell";
|
|
|
|
reg = <0x101e6000 0x1000>;
|
|
|
|
interrupts = <8>;
|
|
|
|
gpio-controller;
|
|
|
|
#gpio-cells = <2>;
|
|
|
|
interrupt-controller;
|
|
|
|
#interrupt-cells = <2>;
|
2014-03-02 12:22:53 +08:00
|
|
|
clocks = <&pclk>;
|
|
|
|
clock-names = "apb_pclk";
|
2011-07-26 17:19:06 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
gpio3: gpio@101e7000 {
|
|
|
|
compatible = "arm,pl061", "arm,primecell";
|
|
|
|
reg = <0x101e7000 0x1000>;
|
|
|
|
interrupts = <9>;
|
|
|
|
gpio-controller;
|
|
|
|
#gpio-cells = <2>;
|
|
|
|
interrupt-controller;
|
|
|
|
#interrupt-cells = <2>;
|
2014-03-02 12:22:53 +08:00
|
|
|
clocks = <&pclk>;
|
|
|
|
clock-names = "apb_pclk";
|
2011-07-26 17:19:06 +08:00
|
|
|
};
|
|
|
|
|
2015-01-29 00:16:17 +08:00
|
|
|
pci-controller@10001000 {
|
|
|
|
compatible = "arm,versatile-pci";
|
|
|
|
device_type = "pci";
|
|
|
|
reg = <0x10001000 0x1000
|
|
|
|
0x41000000 0x10000
|
|
|
|
0x42000000 0x100000>;
|
|
|
|
bus-range = <0 0xff>;
|
|
|
|
#address-cells = <3>;
|
|
|
|
#size-cells = <2>;
|
|
|
|
#interrupt-cells = <1>;
|
|
|
|
|
|
|
|
ranges = <0x01000000 0 0x00000000 0x43000000 0 0x00010000 /* downstream I/O */
|
|
|
|
0x02000000 0 0x50000000 0x50000000 0 0x10000000 /* non-prefetchable memory */
|
|
|
|
0x42000000 0 0x60000000 0x60000000 0 0x10000000>; /* prefetchable memory */
|
|
|
|
|
|
|
|
interrupt-map-mask = <0x1800 0 0 7>;
|
|
|
|
interrupt-map = <0x1800 0 0 1 &sic 28
|
|
|
|
0x1800 0 0 2 &sic 29
|
|
|
|
0x1800 0 0 3 &sic 30
|
|
|
|
0x1800 0 0 4 &sic 27
|
|
|
|
|
|
|
|
0x1000 0 0 1 &sic 27
|
|
|
|
0x1000 0 0 2 &sic 28
|
|
|
|
0x1000 0 0 3 &sic 29
|
|
|
|
0x1000 0 0 4 &sic 30
|
|
|
|
|
|
|
|
0x0800 0 0 1 &sic 30
|
|
|
|
0x0800 0 0 2 &sic 27
|
|
|
|
0x0800 0 0 3 &sic 28
|
|
|
|
0x0800 0 0 4 &sic 29
|
|
|
|
|
|
|
|
0x0000 0 0 1 &sic 29
|
|
|
|
0x0000 0 0 2 &sic 30
|
|
|
|
0x0000 0 0 3 &sic 27
|
|
|
|
0x0000 0 0 4 &sic 28>;
|
|
|
|
};
|
|
|
|
|
2011-07-26 17:19:06 +08:00
|
|
|
fpga {
|
|
|
|
uart@9000 {
|
|
|
|
compatible = "arm,pl011", "arm,primecell";
|
|
|
|
reg = <0x9000 0x1000>;
|
|
|
|
interrupt-parent = <&sic>;
|
|
|
|
interrupts = <6>;
|
2014-03-02 12:22:53 +08:00
|
|
|
clocks = <&xtal24mhz>, <&pclk>;
|
|
|
|
clock-names = "uartclk", "apb_pclk";
|
2011-07-26 17:19:06 +08:00
|
|
|
};
|
|
|
|
sci@a000 {
|
|
|
|
compatible = "arm,primecell";
|
|
|
|
reg = <0xa000 0x1000>;
|
|
|
|
interrupt-parent = <&sic>;
|
|
|
|
interrupts = <5>;
|
2014-03-02 12:22:53 +08:00
|
|
|
clocks = <&xtal24mhz>;
|
|
|
|
clock-names = "apb_pclk";
|
2011-07-26 17:19:06 +08:00
|
|
|
};
|
|
|
|
mmc@b000 {
|
2014-03-03 16:28:38 +08:00
|
|
|
compatible = "arm,pl180", "arm,primecell";
|
2011-07-26 17:19:06 +08:00
|
|
|
reg = <0xb000 0x1000>;
|
2013-10-29 07:50:11 +08:00
|
|
|
interrupts-extended = <&vic 23 &sic 2>;
|
2014-03-02 12:22:53 +08:00
|
|
|
clocks = <&xtal24mhz>, <&pclk>;
|
|
|
|
clock-names = "mclk", "apb_pclk";
|
2011-07-26 17:19:06 +08:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|