blob: 5c0769bc99cb155f3c52346e64cea82bda830a33 [file] [log] [blame]
Tom Rini8b0c8a12018-05-06 18:27:01 -04001// SPDX-License-Identifier: GPL-2.0+ OR X11
Haikun Wang09d1cfb2015-06-26 19:48:36 +08002/*
Prabhakar Kushwaha122bcfd2015-11-09 16:42:07 +05303 * Freescale ls2080a SOC common device tree source
Haikun Wang09d1cfb2015-06-26 19:48:36 +08004 *
5 * Copyright 2013-2015 Freescale Semiconductor, Inc.
Haikun Wang09d1cfb2015-06-26 19:48:36 +08006 */
7
8/ {
Prabhakar Kushwaha122bcfd2015-11-09 16:42:07 +05309 compatible = "fsl,ls2080a";
Haikun Wang09d1cfb2015-06-26 19:48:36 +080010 interrupt-parent = <&gic>;
11 #address-cells = <2>;
12 #size-cells = <2>;
13
Haikun Wang09d1cfb2015-06-26 19:48:36 +080014 memory@80000000 {
15 device_type = "memory";
16 reg = <0x00000000 0x80000000 0 0x80000000>;
17 /* DRAM space - 1, size : 2 GB DRAM */
18 };
19
20 gic: interrupt-controller@6000000 {
21 compatible = "arm,gic-v3";
22 reg = <0x0 0x06000000 0 0x10000>, /* GIC Dist */
23 <0x0 0x06100000 0 0x100000>; /* GICR (RD_base + SGI_base) */
24 #interrupt-cells = <3>;
25 interrupt-controller;
26 interrupts = <1 9 0x4>;
27 };
28
29 timer {
30 compatible = "arm,armv8-timer";
31 interrupts = <1 13 0x8>, /* Physical Secure PPI, active-low */
32 <1 14 0x8>, /* Physical Non-Secure PPI, active-low */
33 <1 11 0x8>, /* Virtual PPI, active-low */
34 <1 10 0x8>; /* Hypervisor PPI, active-low */
35 };
36
37 serial0: serial@21c0500 {
38 device_type = "serial";
39 compatible = "fsl,ns16550", "ns16550a";
40 reg = <0x0 0x21c0500 0x0 0x100>;
41 clock-frequency = <0>; /* Updated by bootloader */
42 interrupts = <0 32 0x1>; /* edge triggered */
43 };
44
45 serial1: serial@21c0600 {
46 device_type = "serial";
47 compatible = "fsl,ns16550", "ns16550a";
48 reg = <0x0 0x21c0600 0x0 0x100>;
49 clock-frequency = <0>; /* Updated by bootloader */
50 interrupts = <0 32 0x1>; /* edge triggered */
51 };
52
53 fsl_mc: fsl-mc@80c000000 {
54 compatible = "fsl,qoriq-mc";
55 reg = <0x00000008 0x0c000000 0 0x40>, /* MC portal base */
56 <0x00000000 0x08340000 0 0x40000>; /* MC control reg */
57 };
Haikun Wang4d513af2015-06-26 19:48:45 +080058
59 dspi: dspi@2100000 {
60 compatible = "fsl,vf610-dspi";
61 #address-cells = <1>;
62 #size-cells = <0>;
63 reg = <0x0 0x2100000 0x0 0x10000>;
64 interrupts = <0 26 0x4>; /* Level high type */
65 num-cs = <6>;
66 };
Yuan Yaob42bbc22016-06-08 18:24:56 +080067
68 qspi: quadspi@1550000 {
69 compatible = "fsl,vf610-qspi";
70 #address-cells = <1>;
71 #size-cells = <0>;
72 reg = <0x0 0x20c0000 0x0 0x10000>,
73 <0x0 0x20000000 0x0 0x10000000>;
74 reg-names = "QuadSPI", "QuadSPI-memory";
75 num-cs = <4>;
76 };
Sriram Dash66e6ed72016-10-07 14:07:36 +053077
Yinbo Zhue1be1042018-09-25 14:47:08 +080078 esdhc: esdhc@0 {
79 compatible = "fsl,esdhc";
80 reg = <0x0 0x2140000 0x0 0x10000>;
81 interrupts = <0 28 0x4>; /* Level high type */
82 little-endian;
83 bus-width = <4>;
84 };
85
Sriram Dash66e6ed72016-10-07 14:07:36 +053086 usb0: usb3@3100000 {
87 compatible = "fsl,layerscape-dwc3";
88 reg = <0x0 0x3100000 0x0 0x10000>;
89 interrupts = <0 80 0x4>; /* Level high type */
90 dr_mode = "host";
91 };
92
93 usb1: usb3@3110000 {
94 compatible = "fsl,layerscape-dwc3";
95 reg = <0x0 0x3110000 0x0 0x10000>;
96 interrupts = <0 81 0x4>; /* Level high type */
97 dr_mode = "host";
98 };
Minghuan Liane20065d2016-12-13 14:54:15 +080099
100 pcie@3400000 {
101 compatible = "fsl,ls-pcie", "snps,dw-pcie";
102 reg = <0x00 0x03400000 0x0 0x80000 /* dbi registers */
103 0x00 0x03480000 0x0 0x80000 /* lut registers */
104 0x10 0x00000000 0x0 0x20000>; /* configuration space */
105 reg-names = "dbi", "lut", "config";
106 #address-cells = <3>;
107 #size-cells = <2>;
108 device_type = "pci";
109 num-lanes = <4>;
110 bus-range = <0x0 0xff>;
111 ranges = <0x81000000 0x0 0x00000000 0x10 0x00020000 0x0 0x00010000 /* downstream I/O */
112 0x82000000 0x0 0x40000000 0x10 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */
113 };
114
115 pcie@3500000 {
116 compatible = "fsl,ls-pcie", "snps,dw-pcie";
117 reg = <0x00 0x03500000 0x0 0x80000 /* dbi registers */
118 0x00 0x03580000 0x0 0x80000 /* lut registers */
119 0x12 0x00000000 0x0 0x20000>; /* configuration space */
120 reg-names = "dbi", "lut", "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 0x12 0x00020000 0x0 0x00010000 /* downstream I/O */
127 0x82000000 0x0 0x40000000 0x12 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 0x14 0x00000000 0x0 0x20000>; /* configuration space */
135 reg-names = "dbi", "lut", "config";
136 #address-cells = <3>;
137 #size-cells = <2>;
138 device_type = "pci";
139 num-lanes = <8>;
140 bus-range = <0x0 0xff>;
141 ranges = <0x81000000 0x0 0x00000000 0x14 0x00020000 0x0 0x00010000 /* downstream I/O */
142 0x82000000 0x0 0x40000000 0x14 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */
143 };
144
145 pcie@3700000 {
146 compatible = "fsl,ls-pcie", "snps,dw-pcie";
147 reg = <0x00 0x03700000 0x0 0x80000 /* dbi registers */
148 0x00 0x03780000 0x0 0x80000 /* lut registers */
149 0x16 0x00000000 0x0 0x20000>; /* configuration space */
150 reg-names = "dbi", "lut", "config";
151 #address-cells = <3>;
152 #size-cells = <2>;
153 device_type = "pci";
154 num-lanes = <4>;
155 bus-range = <0x0 0xff>;
156 ranges = <0x81000000 0x0 0x00000000 0x16 0x00020000 0x0 0x00010000 /* downstream I/O */
157 0x82000000 0x0 0x40000000 0x16 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */
158 };
Peng Ma520d49a2018-10-22 10:43:21 +0800159
160 sata: sata@3200000 {
161 compatible = "fsl,ls2080a-ahci";
162 reg = <0x0 0x3200000 0x0 0x10000>;
163 interrupts = <0 133 0x4>; /* Level high type */
164 status = "disabled";
165 };
166
Haikun Wang09d1cfb2015-06-26 19:48:36 +0800167};