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