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