Merge git://git.denx.de/u-boot-sunxi
[oweals/u-boot.git] / arch / arm / dts / fsl-ls1088a.dtsi
1 /*
2  * NXP ls1088a SOC common device tree source
3  *
4  * Copyright 2017 NXP
5  *
6  * SPDX-License-Identifier:     GPL-2.0+        X11
7  */
8
9 / {
10         compatible = "fsl,ls1088a";
11         interrupt-parent = <&gic>;
12         #address-cells = <2>;
13         #size-cells = <2>;
14
15         memory@80000000 {
16                 device_type = "memory";
17                 reg = <0x00000000 0x80000000 0 0x80000000>;
18                       /* DRAM space - 1, size : 2 GB DRAM */
19         };
20
21         gic: interrupt-controller@6000000 {
22                 compatible = "arm,gic-v3";
23                 reg = <0x0 0x06000000 0 0x10000>, /* GIC Dist */
24                       <0x0 0x06100000 0 0x100000>; /* GICR (RD_base + SGI_base) */
25                 #interrupt-cells = <3>;
26                 interrupt-controller;
27                 interrupts = <1 9 0x4>;
28         };
29
30         timer {
31                 compatible = "arm,armv8-timer";
32                 interrupts = <1 13 0x8>, /* Physical Secure PPI, active-low */
33                              <1 14 0x8>, /* Physical Non-Secure PPI, active-low */
34                              <1 11 0x8>, /* Virtual PPI, active-low */
35                              <1 10 0x8>; /* Hypervisor PPI, active-low */
36         };
37
38         serial0: serial@21c0500 {
39                 device_type = "serial";
40                 compatible = "fsl,ns16550", "ns16550a";
41                 reg = <0x0 0x21c0500 0x0 0x100>;
42                 clock-frequency = <0>;  /* Updated by bootloader */
43                 interrupts = <0 32 0x1>; /* edge triggered */
44         };
45
46         serial1: serial@21c0600 {
47                 device_type = "serial";
48                 compatible = "fsl,ns16550", "ns16550a";
49                 reg = <0x0 0x21c0600 0x0 0x100>;
50                 clock-frequency = <0>;  /* Updated by bootloader */
51                 interrupts = <0 32 0x1>; /* edge triggered */
52         };
53
54         fsl_mc: fsl-mc@80c000000 {
55                 compatible = "fsl,qoriq-mc";
56                 reg = <0x00000008 0x0c000000 0 0x40>,    /* MC portal base */
57                       <0x00000000 0x08340000 0 0x40000>; /* MC control reg */
58         };
59
60         dspi: dspi@2100000 {
61                 compatible = "fsl,vf610-dspi";
62                 #address-cells = <1>;
63                 #size-cells = <0>;
64                 reg = <0x0 0x2100000 0x0 0x10000>;
65                 interrupts = <0 26 0x4>; /* Level high type */
66                 num-cs = <6>;
67         };
68
69         qspi: quadspi@1550000 {
70                 compatible = "fsl,vf610-qspi";
71                 #address-cells = <1>;
72                 #size-cells = <0>;
73                 reg = <0x0 0x20c0000 0x0 0x10000>,
74                         <0x0 0x20000000 0x0 0x10000000>;
75                 reg-names = "QuadSPI", "QuadSPI-memory";
76                 num-cs = <4>;
77         };
78         ifc: ifc@1530000 {
79                 compatible = "fsl,ifc", "simple-bus";
80                 reg = <0x0 0x2240000 0x0 0x20000>;
81                 interrupts = <0 21 0x4>; /* Level high type */
82         };
83
84         usb0: usb3@3100000 {
85                 compatible = "fsl,layerscape-dwc3";
86                 reg = <0x0 0x3100000 0x0 0x10000>;
87                 interrupts = <0 80 0x4>; /* Level high type */
88                 dr_mode = "host";
89         };
90
91         usb1: usb3@3110000 {
92                 compatible = "fsl,layerscape-dwc3";
93                 reg = <0x0 0x3110000 0x0 0x10000>;
94                 interrupts = <0 81 0x4>; /* Level high type */
95                 dr_mode = "host";
96         };
97
98         pcie@3400000 {
99                 compatible = "fsl,ls-pcie", "snps,dw-pcie";
100                 reg = <0x00 0x03400000 0x0 0x80000   /* dbi registers */
101                        0x00 0x03480000 0x0 0x80000   /* lut registers */
102                        0x00 0x034c0000 0x0 0x40000   /* pf controls registers */
103                        0x20 0x00000000 0x0 0x20000>; /* configuration space */
104                 reg-names = "dbi", "lut", "ctrl", "config";
105                 #address-cells = <3>;
106                 #size-cells = <2>;
107                 device_type = "pci";
108                 num-lanes = <4>;
109                 bus-range = <0x0 0xff>;
110                 ranges = <0x81000000 0x0 0x00000000 0x20 0x00020000 0x0 0x00010000   /* downstream I/O */
111                           0x82000000 0x0 0x40000000 0x20 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */
112         };
113
114         pcie@3500000 {
115                 compatible = "fsl,ls-pcie", "snps,dw-pcie";
116                 reg = <0x00 0x03500000 0x0 0x80000   /* dbi registers */
117                        0x00 0x03580000 0x0 0x80000   /* lut registers */
118                        0x00 0x035c0000 0x0 0x40000   /* pf controls registers */
119                        0x28 0x00000000 0x0 0x20000>; /* configuration space */
120                 reg-names = "dbi", "lut", "ctrl", "config";
121                 #address-cells = <3>;
122                 #size-cells = <2>;
123                 device_type = "pci";
124                 num-lanes = <4>;
125                 bus-range = <0x0 0xff>;
126                 ranges = <0x81000000 0x0 0x00000000 0x28 0x00020000 0x0 0x00010000   /* downstream I/O */
127                           0x82000000 0x0 0x40000000 0x28 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */
128         };
129
130         pcie@3600000 {
131                 compatible = "fsl,ls-pcie", "snps,dw-pcie";
132                 reg = <0x00 0x03600000 0x0 0x80000   /* dbi registers */
133                        0x00 0x03680000 0x0 0x80000   /* lut registers */
134                        0x00 0x036c0000 0x0 0x40000   /* pf controls registers */
135                        0x30 0x00000000 0x0 0x20000>; /* configuration space */
136                 reg-names = "dbi", "lut", "ctrl", "config";
137                 #address-cells = <3>;
138                 #size-cells = <2>;
139                 device_type = "pci";
140                 num-lanes = <8>;
141                 bus-range = <0x0 0xff>;
142                 ranges = <0x81000000 0x0 0x00000000 0x30 0x00020000 0x0 0x00010000   /* downstream I/O */
143                           0x82000000 0x0 0x40000000 0x30 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */
144         };
145 };