Merge git://git.denx.de/u-boot-socfpga
[oweals/u-boot.git] / arch / powerpc / dts / t102x.dtsi
1 // SPDX-License-Identifier: GPL-2.0+ OR X11
2 /*
3  * T102X Silicon/SoC Device Tree Source (pre include)
4  *
5  * Copyright 2013 Freescale Semiconductor Inc.
6  * Copyright 2019 NXP
7  */
8
9 /dts-v1/;
10
11 /include/ "e5500_power_isa.dtsi"
12
13 / {
14         #address-cells = <2>;
15         #size-cells = <2>;
16         interrupt-parent = <&mpic>;
17
18         cpus {
19                 #address-cells = <1>;
20                 #size-cells = <0>;
21
22                 cpu0: PowerPC,e5500@0 {
23                         device_type = "cpu";
24                         reg = <0>;
25                         #cooling-cells = <2>;
26                 };
27                 cpu1: PowerPC,e5500@1 {
28                         device_type = "cpu";
29                         reg = <1>;
30                         #cooling-cells = <2>;
31                 };
32         };
33
34         soc: soc@ffe000000 {
35                 ranges = <0x00000000 0xf 0xfe000000 0x1000000>;
36                 reg = <0xf 0xfe000000 0 0x00001000>;
37                 #address-cells = <1>;
38                 #size-cells = <1>;
39                 device_type = "soc";
40                 compatible = "simple-bus";
41
42                 mpic: pic@40000 {
43                         interrupt-controller;
44                         #address-cells = <0>;
45                         #interrupt-cells = <4>;
46                         reg = <0x40000 0x40000>;
47                         compatible = "fsl,mpic", "chrp,open-pic";
48                         device_type = "open-pic";
49                         clock-frequency = <0x0>;
50                 };
51
52                 sata: sata@220000 {
53                         compatible = "fsl,pq-sata-v2";
54                         reg = <0x220000 0x1000>;
55                         interrupts = <68 0x2 0 0>;
56                         sata-offset = <0x1000>;
57                         sata-number = <2>;
58                         sata-fpdma = <0>;
59                 };
60
61                 esdhc: esdhc@114000 {
62                         compatible = "fsl,esdhc";
63                         reg = <0x114000 0x1000>;
64                         clock-frequency = <0>;
65                 };
66         };
67
68         pcie@ffe240000 {
69                 compatible = "fsl,pcie-t102x", "fsl,pcie-fsl-qoriq";
70                 reg = <0xf 0xfe240000 0x0 0x1000>;   /* registers */
71                 law_trgt_if = <0>;
72                 #address-cells = <3>;
73                 #size-cells = <2>;
74                 device_type = "pci";
75                 bus-range = <0x0 0xff>;
76                 ranges = <0x01000000 0x0 0x00000000 0xf 0xf8000000 0x0 0x00010000   /* downstream I/O */
77                           0x02000000 0x0 0xe0000000 0xc 0x00000000 0x0 0x10000000>; /* non-prefetchable memory */
78         };
79
80         pcie@ffe250000 {
81                 compatible = "fsl,pcie-t102x", "fsl,pcie-fsl-qoriq";
82                 reg = <0xf 0xfe250000 0x0 0x1000>;   /* registers */
83                 law_trgt_if = <1>;
84                 #address-cells = <3>;
85                 #size-cells = <2>;
86                 device_type = "pci";
87                 bus-range = <0x0 0xff>;
88                 ranges = <0x01000000 0x0 0x00000000 0xf 0xf8010000 0x0 0x00010000   /* downstream I/O */
89                           0x02000000 0x0 0xe0000000 0xc 0x10000000 0x0 0x10000000>; /* non-prefetchable memory */
90         };
91
92         pcie@ffe260000 {
93                 compatible = "fsl,pcie-t102x", "fsl,pcie-fsl-qoriq";
94                 reg = <0xf 0xfe260000 0x0 0x1000>;   /* registers */
95                 law_trgt_if = <2>;
96                 #address-cells = <3>;
97                 #size-cells = <2>;
98                 device_type = "pci";
99                 bus-range = <0x0 0xff>;
100                 ranges = <0x01000000 0x0 0x00000000 0xf 0xf8020000 0x0 0x00010000   /* downstream I/O */
101                           0x02000000 0x0 0xe0000000 0xc 0x20000000 0x0 0x10000000>; /* non-prefetchable memory */
102         };
103 };