Hou Zhiqiang | 1a2961d | 2019-08-20 09:35:29 +0000 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ OR X11 |
| 2 | /* |
| 3 | * P2020 Silicon/SoC Device Tree Source (post include) |
| 4 | * |
| 5 | * Copyright 2013 Freescale Semiconductor Inc. |
| 6 | * Copyright 2019 NXP |
| 7 | */ |
| 8 | |
| 9 | &soc { |
| 10 | #address-cells = <1>; |
| 11 | #size-cells = <1>; |
| 12 | device_type = "soc"; |
| 13 | compatible = "fsl,p2020-immr", "simple-bus"; |
| 14 | bus-frequency = <0x0>; |
| 15 | |
Pali Rohár | c4ab6fd | 2022-04-27 16:05:01 +0200 | [diff] [blame] | 16 | ecm-law@0 { |
| 17 | compatible = "fsl,ecm-law"; |
| 18 | reg = <0x0 0x1000>; |
| 19 | fsl,num-laws = <12>; |
| 20 | }; |
| 21 | |
| 22 | ecm@1000 { |
| 23 | compatible = "fsl,p2020-ecm", "fsl,ecm"; |
| 24 | reg = <0x1000 0x1000>; |
| 25 | interrupts = <17 2 0 0>; |
| 26 | }; |
| 27 | |
| 28 | memory-controller@2000 { |
| 29 | compatible = "fsl,p2020-memory-controller"; |
| 30 | reg = <0x2000 0x1000>; |
| 31 | interrupts = <18 2 0 0>; |
| 32 | }; |
| 33 | |
Pali Rohár | 0636953 | 2022-06-23 14:39:03 +0200 | [diff] [blame^] | 34 | /include/ "pq3-i2c-0.dtsi" |
| 35 | /include/ "pq3-i2c-1.dtsi" |
| 36 | /include/ "pq3-duart-0.dtsi" |
| 37 | |
| 38 | espi0: spi@7000 { |
| 39 | compatible = "fsl,mpc8536-espi"; |
| 40 | #address-cells = <1>; |
| 41 | #size-cells = <0>; |
| 42 | reg = <0x7000 0x1000>; |
| 43 | interrupts = < 0x3b 0x02 0x00 0x00 >; |
| 44 | fsl,espi-num-chipselects = <4>; |
| 45 | }; |
| 46 | |
| 47 | /include/ "pq3-dma-1.dtsi" |
| 48 | /include/ "pq3-gpio-0.dtsi" |
| 49 | |
Pali Rohár | b9f1c60 | 2022-04-08 14:39:57 +0200 | [diff] [blame] | 50 | L2: l2-cache-controller@20000 { |
| 51 | compatible = "fsl,p2020-l2-cache-controller"; |
| 52 | reg = <0x20000 0x1000>; |
| 53 | cache-line-size = <32>; /* 32 bytes */ |
| 54 | cache-size = <0x80000>; /* L2,512K */ |
| 55 | interrupts = <16 2 0 0>; |
| 56 | }; |
| 57 | |
Pali Rohár | 6388724 | 2022-04-27 16:05:00 +0200 | [diff] [blame] | 58 | /include/ "pq3-dma-0.dtsi" |
Pali Rohár | 0636953 | 2022-06-23 14:39:03 +0200 | [diff] [blame^] | 59 | |
| 60 | usb@22000 { |
| 61 | compatible = "fsl-usb2-dr-v1.6", "fsl-usb2-dr"; |
| 62 | reg = <0x22000 0x1000>; |
| 63 | #address-cells = <1>; |
| 64 | #size-cells = <0>; |
| 65 | interrupts = <28 0x2 0 0>; |
| 66 | phy_type = "ulpi"; |
| 67 | }; |
Pali Rohár | 6388724 | 2022-04-27 16:05:00 +0200 | [diff] [blame] | 68 | |
Hou Zhiqiang | d1bce13 | 2020-09-21 15:16:23 +0530 | [diff] [blame] | 69 | /include/ "pq3-etsec1-0.dtsi" |
Pali Rohár | 107eb42 | 2022-04-08 14:39:52 +0200 | [diff] [blame] | 70 | /include/ "pq3-etsec1-timer-0.dtsi" |
| 71 | |
| 72 | ptp_clock@24e00 { |
| 73 | interrupts = <68 2 0 0 69 2 0 0 70 2 0 0>; |
| 74 | }; |
| 75 | |
Hou Zhiqiang | d1bce13 | 2020-09-21 15:16:23 +0530 | [diff] [blame] | 76 | /include/ "pq3-etsec1-1.dtsi" |
| 77 | /include/ "pq3-etsec1-2.dtsi" |
Pali Rohár | 82a21ed | 2022-04-27 16:04:58 +0200 | [diff] [blame] | 78 | |
Pali Rohár | 0636953 | 2022-06-23 14:39:03 +0200 | [diff] [blame^] | 79 | esdhc: sdhc@2e000 { |
| 80 | compatible = "fsl,p2020-esdhc", "fsl,esdhc"; |
| 81 | reg = <0x2e000 0x1000>; |
| 82 | interrupts = <72 0x2 0 0>; |
| 83 | /* Filled in by U-Boot */ |
| 84 | clock-frequency = <0>; |
| 85 | }; |
| 86 | |
Pali Rohár | da665f6 | 2022-04-27 16:04:59 +0200 | [diff] [blame] | 87 | /include/ "pq3-sec3.1-0.dtsi" |
Pali Rohár | 82a21ed | 2022-04-27 16:04:58 +0200 | [diff] [blame] | 88 | /include/ "pq3-mpic.dtsi" |
| 89 | /include/ "pq3-mpic-timer-B.dtsi" |
Pali Rohár | c4ab6fd | 2022-04-27 16:05:01 +0200 | [diff] [blame] | 90 | |
Pali Rohár | 0636953 | 2022-06-23 14:39:03 +0200 | [diff] [blame^] | 91 | mpic: pic@40000 { |
| 92 | interrupt-controller; |
| 93 | #address-cells = <0>; |
| 94 | #interrupt-cells = <4>; |
| 95 | reg = <0x40000 0x40000>; |
| 96 | compatible = "fsl,mpic"; |
| 97 | device_type = "open-pic"; |
| 98 | big-endian; |
| 99 | single-cpu-affinity; |
| 100 | last-interrupt-source = <255>; |
| 101 | }; |
| 102 | |
Pali Rohár | c4ab6fd | 2022-04-27 16:05:01 +0200 | [diff] [blame] | 103 | global-utilities@e0000 { |
| 104 | compatible = "fsl,p2020-guts"; |
| 105 | reg = <0xe0000 0x1000>; |
| 106 | fsl,has-rstcr; |
| 107 | }; |
Pali Rohár | 9639361 | 2022-05-24 13:24:59 +0200 | [diff] [blame] | 108 | |
| 109 | pmc: power@e0070 { |
| 110 | compatible = "fsl,mpc8548-pmc"; |
| 111 | reg = <0xe0070 0x20>; |
| 112 | }; |
Hou Zhiqiang | 1a2961d | 2019-08-20 09:35:29 +0000 | [diff] [blame] | 113 | }; |
Hou Zhiqiang | ba61f64 | 2019-08-27 11:04:15 +0000 | [diff] [blame] | 114 | |
| 115 | /* PCIe controller base address 0x8000 */ |
| 116 | &pci2 { |
Pali Rohár | 01e4a07 | 2022-04-08 14:39:51 +0200 | [diff] [blame] | 117 | compatible = "fsl,pcie-p1_p2", "fsl,pcie-fsl-qoriq", "fsl,mpc8548-pcie"; |
Hou Zhiqiang | ba61f64 | 2019-08-27 11:04:15 +0000 | [diff] [blame] | 118 | law_trgt_if = <0>; |
| 119 | #address-cells = <3>; |
| 120 | #size-cells = <2>; |
| 121 | device_type = "pci"; |
| 122 | bus-range = <0x0 0xff>; |
Pali Rohár | 01e4a07 | 2022-04-08 14:39:51 +0200 | [diff] [blame] | 123 | clock-frequency = <33333333>; |
| 124 | interrupts = <24 2 0 0>; |
| 125 | |
| 126 | pcie@0 { |
| 127 | reg = <0 0 0 0 0>; |
| 128 | #interrupt-cells = <1>; |
| 129 | #size-cells = <2>; |
| 130 | #address-cells = <3>; |
| 131 | device_type = "pci"; |
| 132 | interrupts = <24 2 0 0>; |
| 133 | interrupt-map-mask = <0xf800 0 0 7>; |
| 134 | |
| 135 | interrupt-map = < |
| 136 | /* IDSEL 0x0 */ |
| 137 | 0000 0x0 0x0 0x1 &mpic 0x8 0x1 0x0 0x0 |
| 138 | 0000 0x0 0x0 0x2 &mpic 0x9 0x1 0x0 0x0 |
| 139 | 0000 0x0 0x0 0x3 &mpic 0xa 0x1 0x0 0x0 |
| 140 | 0000 0x0 0x0 0x4 &mpic 0xb 0x1 0x0 0x0 |
| 141 | >; |
| 142 | }; |
Hou Zhiqiang | ba61f64 | 2019-08-27 11:04:15 +0000 | [diff] [blame] | 143 | }; |
| 144 | |
| 145 | /* PCIe controller base address 0x9000 */ |
| 146 | &pci1 { |
Pali Rohár | 01e4a07 | 2022-04-08 14:39:51 +0200 | [diff] [blame] | 147 | compatible = "fsl,pcie-p1_p2", "fsl,pcie-fsl-qoriq", "fsl,mpc8548-pcie"; |
Hou Zhiqiang | ba61f64 | 2019-08-27 11:04:15 +0000 | [diff] [blame] | 148 | law_trgt_if = <1>; |
| 149 | #address-cells = <3>; |
| 150 | #size-cells = <2>; |
| 151 | device_type = "pci"; |
| 152 | bus-range = <0x0 0xff>; |
Pali Rohár | 01e4a07 | 2022-04-08 14:39:51 +0200 | [diff] [blame] | 153 | clock-frequency = <33333333>; |
| 154 | interrupts = <25 2 0 0>; |
| 155 | |
| 156 | pcie@0 { |
| 157 | reg = <0 0 0 0 0>; |
| 158 | #interrupt-cells = <1>; |
| 159 | #size-cells = <2>; |
| 160 | #address-cells = <3>; |
| 161 | device_type = "pci"; |
| 162 | interrupts = <25 2 0 0>; |
| 163 | interrupt-map-mask = <0xf800 0 0 7>; |
| 164 | |
| 165 | interrupt-map = < |
| 166 | /* IDSEL 0x0 */ |
| 167 | 0000 0x0 0x0 0x1 &mpic 0x4 0x1 0x0 0x0 |
| 168 | 0000 0x0 0x0 0x2 &mpic 0x5 0x1 0x0 0x0 |
| 169 | 0000 0x0 0x0 0x3 &mpic 0x6 0x1 0x0 0x0 |
| 170 | 0000 0x0 0x0 0x4 &mpic 0x7 0x1 0x0 0x0 |
| 171 | >; |
| 172 | }; |
Hou Zhiqiang | ba61f64 | 2019-08-27 11:04:15 +0000 | [diff] [blame] | 173 | }; |
| 174 | |
| 175 | /* PCIe controller base address 0xa000 */ |
| 176 | &pci0 { |
Pali Rohár | 01e4a07 | 2022-04-08 14:39:51 +0200 | [diff] [blame] | 177 | compatible = "fsl,pcie-p1_p2", "fsl,pcie-fsl-qoriq", "fsl,mpc8548-pcie"; |
Hou Zhiqiang | ba61f64 | 2019-08-27 11:04:15 +0000 | [diff] [blame] | 178 | law_trgt_if = <2>; |
| 179 | #address-cells = <3>; |
| 180 | #size-cells = <2>; |
| 181 | device_type = "pci"; |
| 182 | bus-range = <0x0 0xff>; |
Pali Rohár | 01e4a07 | 2022-04-08 14:39:51 +0200 | [diff] [blame] | 183 | clock-frequency = <33333333>; |
| 184 | interrupts = <26 2 0 0>; |
| 185 | |
| 186 | pcie@0 { |
| 187 | reg = <0 0 0 0 0>; |
| 188 | #interrupt-cells = <1>; |
| 189 | #size-cells = <2>; |
| 190 | #address-cells = <3>; |
| 191 | device_type = "pci"; |
| 192 | interrupts = <26 2 0 0>; |
| 193 | interrupt-map-mask = <0xf800 0 0 7>; |
| 194 | interrupt-map = < |
| 195 | /* IDSEL 0x0 */ |
| 196 | 0000 0x0 0x0 0x1 &mpic 0x0 0x1 0x0 0x0 |
| 197 | 0000 0x0 0x0 0x2 &mpic 0x1 0x1 0x0 0x0 |
| 198 | 0000 0x0 0x0 0x3 &mpic 0x2 0x1 0x0 0x0 |
| 199 | 0000 0x0 0x0 0x4 &mpic 0x3 0x1 0x0 0x0 |
| 200 | >; |
| 201 | }; |
Hou Zhiqiang | ba61f64 | 2019-08-27 11:04:15 +0000 | [diff] [blame] | 202 | }; |
Pali Rohár | c27f255 | 2022-04-05 11:15:21 +0200 | [diff] [blame] | 203 | |
| 204 | &lbc { |
| 205 | #address-cells = <2>; |
| 206 | #size-cells = <1>; |
| 207 | compatible = "fsl,p2020-elbc", "fsl,elbc", "simple-bus"; |
| 208 | interrupts = <19 2 0 0>; |
| 209 | }; |