Merge tag 'rpi-next-2019.10' of https://github.com/mbgg/u-boot
[oweals/u-boot.git] / arch / powerpc / dts / p1020-post.dtsi
1 // SPDX-License-Identifier: GPL-2.0+ OR X11
2 /*
3  * P1020 Silicon/SoC Device Tree Source (post include)
4  *
5  * Copyright 2013 Freescale Semiconductor Inc.
6  * Copyright 2019 NXP
7  */
8
9 &soc {
10         #address-cells = <1>;
11         #size-cells = <1>;
12         device_type = "soc";
13         compatible = "fsl,p1020-immr", "simple-bus";
14         bus-frequency = <0x0>;
15
16         mpic: pic@40000 {
17                 interrupt-controller;
18                 #address-cells = <0>;
19                 #interrupt-cells = <4>;
20                 reg = <0x40000 0x40000>;
21                 compatible = "fsl,mpic";
22                 device_type = "open-pic";
23                 big-endian;
24                 single-cpu-affinity;
25                 last-interrupt-source = <255>;
26         };
27 };
28
29 /* PCIe controller base address 0x9000 */
30 &pci1 {
31         compatible = "fsl,pcie-p1_p2", "fsl,pcie-fsl-qoriq";
32         law_trgt_if = <1>;
33         #address-cells = <3>;
34         #size-cells = <2>;
35         device_type = "pci";
36         bus-range = <0x0 0xff>;
37 };
38
39 /* PCIe controller base address 0xa000 */
40 &pci0 {
41         compatible = "fsl,pcie-p1_p2", "fsl,pcie-fsl-qoriq";
42         law_trgt_if = <2>;
43         #address-cells = <3>;
44         #size-cells = <2>;
45         device_type = "pci";
46         bus-range = <0x0 0xff>;
47 };