blob: 2d70c82a728c2a52b325c2ededfe2b435c3942b6 [file] [log] [blame]
Tom Rini4549e782018-05-06 18:27:01 -04001// SPDX-License-Identifier: GPL-2.0+ OR X11
Prabhakar Kushwaha9d044fc2016-06-03 18:41:34 +05302/*
3 * Copyright 2016 Freescale Semiconductor
Prabhakar Kushwaha9d044fc2016-06-03 18:41:34 +05304 */
5
6/include/ "skeleton64.dtsi"
7
8/ {
9 compatible = "fsl,ls1012a";
10 interrupt-parent = <&gic>;
Prabhakar Kushwaha9d044fc2016-06-03 18:41:34 +053011
12 sysclk: sysclk {
13 compatible = "fixed-clock";
14 #clock-cells = <0>;
15 clock-frequency = <100000000>;
16 clock-output-names = "sysclk";
17 };
18
19 gic: interrupt-controller@1400000 {
20 compatible = "arm,gic-400";
21 #interrupt-cells = <3>;
22 interrupt-controller;
23 reg = <0x0 0x1401000 0 0x1000>, /* GICD */
24 <0x0 0x1402000 0 0x2000>, /* GICC */
25 <0x0 0x1404000 0 0x2000>, /* GICH */
26 <0x0 0x1406000 0 0x2000>; /* GICV */
27 interrupts = <1 9 0xf08>;
28 };
29
30 soc {
31 compatible = "simple-bus";
32 #address-cells = <2>;
33 #size-cells = <2>;
34 ranges;
35
36 clockgen: clocking@1ee1000 {
37 compatible = "fsl,ls1012a-clockgen";
38 reg = <0x0 0x1ee1000 0x0 0x1000>;
39 #clock-cells = <2>;
40 clocks = <&sysclk>;
41 };
42
43 dspi0: dspi@2100000 {
44 compatible = "fsl,vf610-dspi";
45 #address-cells = <1>;
46 #size-cells = <0>;
47 reg = <0x0 0x2100000 0x0 0x10000>;
48 interrupts = <0 64 0x4>;
49 clock-names = "dspi";
50 clocks = <&clockgen 4 0>;
51 num-cs = <6>;
52 big-endian;
53 status = "disabled";
54 };
55
Yangbo Lue1f39752016-12-07 11:54:32 +080056 esdhc0: esdhc@1560000 {
57 compatible = "fsl,esdhc";
58 reg = <0x0 0x1560000 0x0 0x10000>;
59 interrupts = <0 62 0x4>;
60 big-endian;
61 bus-width = <4>;
62 };
63
64 esdhc1: esdhc@1580000 {
65 compatible = "fsl,esdhc";
66 reg = <0x0 0x1580000 0x0 0x10000>;
67 interrupts = <0 65 0x4>;
68 big-endian;
69 non-removable;
70 bus-width = <4>;
71 };
Prabhakar Kushwaha9d044fc2016-06-03 18:41:34 +053072
73 i2c0: i2c@2180000 {
74 compatible = "fsl,vf610-i2c";
75 #address-cells = <1>;
76 #size-cells = <0>;
77 reg = <0x0 0x2180000 0x0 0x10000>;
78 interrupts = <0 56 0x4>;
79 clock-names = "i2c";
80 clocks = <&clockgen 4 0>;
81 status = "disabled";
82 };
83
84 i2c1: i2c@2190000 {
85 compatible = "fsl,vf610-i2c";
86 #address-cells = <1>;
87 #size-cells = <0>;
88 reg = <0x0 0x2190000 0x0 0x10000>;
89 interrupts = <0 57 0x4>;
90 clock-names = "i2c";
91 clocks = <&clockgen 4 0>;
92 status = "disabled";
93 };
94
95 duart0: serial@21c0500 {
96 compatible = "fsl,ns16550", "ns16550a";
97 reg = <0x00 0x21c0500 0x0 0x100>;
98 interrupts = <0 54 0x4>;
99 clocks = <&clockgen 4 0>;
100 };
101
102 duart1: serial@21c0600 {
103 compatible = "fsl,ns16550", "ns16550a";
104 reg = <0x00 0x21c0600 0x0 0x100>;
105 interrupts = <0 54 0x4>;
106 clocks = <&clockgen 4 0>;
107 };
108
109 qspi: quadspi@1550000 {
Kuldeep Singhb480bcc2019-12-12 11:49:24 +0530110 compatible = "fsl,ls1021a-qspi";
Prabhakar Kushwaha9d044fc2016-06-03 18:41:34 +0530111 #address-cells = <1>;
112 #size-cells = <0>;
113 reg = <0x0 0x1550000 0x0 0x10000>,
114 <0x0 0x40000000 0x0 0x4000000>;
115 reg-names = "QuadSPI", "QuadSPI-memory";
Prabhakar Kushwaha9d044fc2016-06-03 18:41:34 +0530116 status = "disabled";
117 };
118
Minghuan Lian048a0452016-12-13 14:54:12 +0800119 pcie@3400000 {
120 compatible = "fsl,ls-pcie", "snps,dw-pcie";
121 reg = <0x00 0x03400000 0x0 0x80000 /* dbi registers */
122 0x00 0x03480000 0x0 0x40000 /* lut registers */
123 0x00 0x034c0000 0x0 0x40000 /* pf controls registers */
124 0x40 0x00000000 0x0 0x20000>; /* configuration space */
125 reg-names = "dbi", "lut", "ctrl", "config";
126 big-endian;
127 #address-cells = <3>;
128 #size-cells = <2>;
129 device_type = "pci";
130 bus-range = <0x0 0xff>;
131 ranges = <0x81000000 0x0 0x00000000 0x40 0x00020000 0x0 0x00010000 /* downstream I/O */
132 0x82000000 0x0 0x40000000 0x40 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */
133 };
Tang Yuantiana7305872016-12-27 10:24:44 +0800134
Yuantian Tang86bff2b2018-07-13 17:25:29 +0800135 sata: sata@3200000 {
136 compatible = "fsl,ls1012a-ahci";
Peng Mae765ee52019-04-17 10:10:49 +0000137 reg = <0x0 0x3200000 0x0 0x10000 /* ccsr sata base */
138 0x0 0x20140520 0x0 0x4>; /* ecc sata addr */
139 reg-names = "sata-base", "ecc-addr";
Yuantian Tang86bff2b2018-07-13 17:25:29 +0800140 interrupts = <0 69 4>;
141 clocks = <&clockgen 4 0>;
142 status = "disabled";
143 };
144
Tang Yuantiana7305872016-12-27 10:24:44 +0800145 usb0: usb2@8600000 {
146 compatible = "fsl-usb2-dr-v2.5", "fsl-usb2-dr";
147 reg = <0x0 0x8600000 0x0 0x1000>;
148 interrupts = <0 139 0x4>;
149 dr_mode = "host";
150 fsl,usb-erratum-a005697;
151 };
152
153 usb1: usb3@2f00000 {
154 compatible = "fsl,layerscape-dwc3";
155 reg = <0x0 0x2f00000 0x0 0x10000>;
156 interrupts = <0 61 0x4>;
157 dr_mode = "host";
158 };
Prabhakar Kushwaha9d044fc2016-06-03 18:41:34 +0530159 };
160};