blob: 449cddcb8149b1dd875607a51296f31635da43cc [file] [log] [blame]
Andrew Davis856ec342023-04-11 13:25:02 -05001// SPDX-License-Identifier: GPL-2.0
Lokesh Vutla2c14c642015-09-19 15:00:22 +05302/*
Lokesh Vutla2c14c642015-09-19 15:00:22 +05303 * Keystone 2 Edison soc device tree
4 *
Nishanth Menoneaa39c62023-11-01 15:56:03 -05005 * Copyright (C) 2013-2017 Texas Instruments Incorporated - https://www.ti.com/
Lokesh Vutla2c14c642015-09-19 15:00:22 +05306 */
7
8/ {
9 cpus {
10 #address-cells = <1>;
11 #size-cells = <0>;
12
13 interrupt-parent = <&gic>;
14
15 cpu@0 {
16 compatible = "arm,cortex-a15";
17 device_type = "cpu";
18 reg = <0>;
19 };
20
21 cpu@1 {
22 compatible = "arm,cortex-a15";
23 device_type = "cpu";
24 reg = <1>;
25 };
26
27 cpu@2 {
28 compatible = "arm,cortex-a15";
29 device_type = "cpu";
30 reg = <2>;
31 };
32
33 cpu@3 {
34 compatible = "arm,cortex-a15";
35 device_type = "cpu";
36 reg = <3>;
37 };
38 };
39
40 soc {
Lokesh Vutlae3187b92017-01-31 09:32:57 +053041 /include/ "keystone-k2e-clocks.dtsi"
Lokesh Vutla2c14c642015-09-19 15:00:22 +053042
43 usb: usb@2680000 {
44 interrupts = <GIC_SPI 152 IRQ_TYPE_EDGE_RISING>;
Andrew Davis33e399a2023-04-11 13:25:09 -050045 usb@2690000 {
Lokesh Vutla2c14c642015-09-19 15:00:22 +053046 interrupts = <GIC_SPI 152 IRQ_TYPE_EDGE_RISING>;
47 };
48 };
49
50 usb1_phy: usb_phy@2620750 {
51 compatible = "ti,keystone-usbphy";
52 #address-cells = <1>;
53 #size-cells = <1>;
54 reg = <0x2620750 24>;
55 status = "disabled";
56 };
57
58 usb1: usb@25000000 {
59 compatible = "ti,keystone-dwc3";
60 #address-cells = <1>;
61 #size-cells = <1>;
62 reg = <0x25000000 0x10000>;
63 clocks = <&clkusb1>;
64 clock-names = "usb";
65 interrupts = <GIC_SPI 414 IRQ_TYPE_EDGE_RISING>;
66 ranges;
67 dma-coherent;
68 dma-ranges;
69 status = "disabled";
70
Andrew Davis33e399a2023-04-11 13:25:09 -050071 usb@25010000 {
Lokesh Vutla2c14c642015-09-19 15:00:22 +053072 compatible = "synopsys,dwc3";
73 reg = <0x25010000 0x70000>;
74 interrupts = <GIC_SPI 414 IRQ_TYPE_EDGE_RISING>;
75 usb-phy = <&usb1_phy>, <&usb1_phy>;
76 };
77 };
78
79 dspgpio0: keystone_dsp_gpio@02620240 {
80 compatible = "ti,keystone-dsp-gpio";
81 gpio-controller;
82 #gpio-cells = <2>;
83 gpio,syscon-dev = <&devctrl 0x240>;
84 };
85
86 pcie1: pcie@21020000 {
87 compatible = "ti,keystone-pcie","snps,dw-pcie";
88 clocks = <&clkpcie1>;
89 clock-names = "pcie";
90 #address-cells = <3>;
91 #size-cells = <2>;
Andrew Davis33e399a2023-04-11 13:25:09 -050092 reg = <0x21021000 0x2000>, <0x21020000 0x1000>, <0x02620128 4>;
Lokesh Vutla2c14c642015-09-19 15:00:22 +053093 ranges = <0x81000000 0 0 0x23260000 0x4000 0x4000
94 0x82000000 0 0x60000000 0x60000000 0 0x10000000>;
95
96 status = "disabled";
97 device_type = "pci";
98 num-lanes = <2>;
99
100 #interrupt-cells = <1>;
101 interrupt-map-mask = <0 0 0 7>;
102 interrupt-map = <0 0 0 1 &pcie_intc1 0>, /* INT A */
103 <0 0 0 2 &pcie_intc1 1>, /* INT B */
104 <0 0 0 3 &pcie_intc1 2>, /* INT C */
105 <0 0 0 4 &pcie_intc1 3>; /* INT D */
106
107 pcie_msi_intc1: msi-interrupt-controller {
108 interrupt-controller;
109 #interrupt-cells = <1>;
110 interrupt-parent = <&gic>;
111 interrupts = <GIC_SPI 377 IRQ_TYPE_EDGE_RISING>,
112 <GIC_SPI 378 IRQ_TYPE_EDGE_RISING>,
113 <GIC_SPI 379 IRQ_TYPE_EDGE_RISING>,
114 <GIC_SPI 380 IRQ_TYPE_EDGE_RISING>,
115 <GIC_SPI 381 IRQ_TYPE_EDGE_RISING>,
116 <GIC_SPI 382 IRQ_TYPE_EDGE_RISING>,
117 <GIC_SPI 383 IRQ_TYPE_EDGE_RISING>,
118 <GIC_SPI 384 IRQ_TYPE_EDGE_RISING>;
119 };
120
121 pcie_intc1: legacy-interrupt-controller {
122 interrupt-controller;
123 #interrupt-cells = <1>;
124 interrupt-parent = <&gic>;
125 interrupts = <GIC_SPI 373 IRQ_TYPE_EDGE_RISING>,
126 <GIC_SPI 374 IRQ_TYPE_EDGE_RISING>,
127 <GIC_SPI 375 IRQ_TYPE_EDGE_RISING>,
128 <GIC_SPI 376 IRQ_TYPE_EDGE_RISING>;
129 };
130 };
131
132 mdio: mdio@24200f00 {
Andrew Davis33e399a2023-04-11 13:25:09 -0500133 compatible = "ti,keystone_mdio", "ti,davinci_mdio";
Lokesh Vutla2c14c642015-09-19 15:00:22 +0530134 #address-cells = <1>;
135 #size-cells = <0>;
136 reg = <0x24200f00 0x100>;
137 status = "disabled";
138 clocks = <&clkcpgmac>;
139 clock-names = "fck";
Andrew Davis33e399a2023-04-11 13:25:09 -0500140 bus_freq = <2500000>;
Lokesh Vutla2c14c642015-09-19 15:00:22 +0530141 };
Lokesh Vutlae3187b92017-01-31 09:32:57 +0530142 /include/ "keystone-k2e-netcp.dtsi"
Lokesh Vutla2c14c642015-09-19 15:00:22 +0530143 };
144};