Andrew Davis | 856ec34 | 2023-04-11 13:25:02 -0500 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0 |
Lokesh Vutla | 2c14c64 | 2015-09-19 15:00:22 +0530 | [diff] [blame] | 2 | /* |
Lokesh Vutla | 2c14c64 | 2015-09-19 15:00:22 +0530 | [diff] [blame] | 3 | * Keystone 2 Edison soc device tree |
| 4 | * |
Nishanth Menon | eaa39c6 | 2023-11-01 15:56:03 -0500 | [diff] [blame] | 5 | * Copyright (C) 2013-2017 Texas Instruments Incorporated - https://www.ti.com/ |
Lokesh Vutla | 2c14c64 | 2015-09-19 15:00:22 +0530 | [diff] [blame] | 6 | */ |
| 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 Vutla | e3187b9 | 2017-01-31 09:32:57 +0530 | [diff] [blame] | 41 | /include/ "keystone-k2e-clocks.dtsi" |
Lokesh Vutla | 2c14c64 | 2015-09-19 15:00:22 +0530 | [diff] [blame] | 42 | |
| 43 | usb: usb@2680000 { |
| 44 | interrupts = <GIC_SPI 152 IRQ_TYPE_EDGE_RISING>; |
Andrew Davis | 33e399a | 2023-04-11 13:25:09 -0500 | [diff] [blame] | 45 | usb@2690000 { |
Lokesh Vutla | 2c14c64 | 2015-09-19 15:00:22 +0530 | [diff] [blame] | 46 | 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 Davis | 33e399a | 2023-04-11 13:25:09 -0500 | [diff] [blame] | 71 | usb@25010000 { |
Lokesh Vutla | 2c14c64 | 2015-09-19 15:00:22 +0530 | [diff] [blame] | 72 | 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 Davis | 33e399a | 2023-04-11 13:25:09 -0500 | [diff] [blame] | 92 | reg = <0x21021000 0x2000>, <0x21020000 0x1000>, <0x02620128 4>; |
Lokesh Vutla | 2c14c64 | 2015-09-19 15:00:22 +0530 | [diff] [blame] | 93 | 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 Davis | 33e399a | 2023-04-11 13:25:09 -0500 | [diff] [blame] | 133 | compatible = "ti,keystone_mdio", "ti,davinci_mdio"; |
Lokesh Vutla | 2c14c64 | 2015-09-19 15:00:22 +0530 | [diff] [blame] | 134 | #address-cells = <1>; |
| 135 | #size-cells = <0>; |
| 136 | reg = <0x24200f00 0x100>; |
| 137 | status = "disabled"; |
| 138 | clocks = <&clkcpgmac>; |
| 139 | clock-names = "fck"; |
Andrew Davis | 33e399a | 2023-04-11 13:25:09 -0500 | [diff] [blame] | 140 | bus_freq = <2500000>; |
Lokesh Vutla | 2c14c64 | 2015-09-19 15:00:22 +0530 | [diff] [blame] | 141 | }; |
Lokesh Vutla | e3187b9 | 2017-01-31 09:32:57 +0530 | [diff] [blame] | 142 | /include/ "keystone-k2e-netcp.dtsi" |
Lokesh Vutla | 2c14c64 | 2015-09-19 15:00:22 +0530 | [diff] [blame] | 143 | }; |
| 144 | }; |