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 { |
| 17 | compatible = "fsl-usb2-dr"; |
| 18 | reg = <0x22000 0x1000>; |
| 19 | phy_type = "ulpi"; |
| 20 | }; |
| 21 | |
Hou Zhiqiang | 1a2961d | 2019-08-20 09:35:29 +0000 | [diff] [blame] | 22 | mpic: pic@40000 { |
| 23 | interrupt-controller; |
| 24 | #address-cells = <0>; |
| 25 | #interrupt-cells = <4>; |
| 26 | reg = <0x40000 0x40000>; |
| 27 | compatible = "fsl,mpic"; |
| 28 | device_type = "open-pic"; |
| 29 | big-endian; |
| 30 | single-cpu-affinity; |
| 31 | last-interrupt-source = <255>; |
| 32 | }; |
Yinbo Zhu | e4e1c2a | 2019-10-15 17:20:41 +0800 | [diff] [blame] | 33 | |
Pali Rohár | bf39a8f | 2022-04-05 11:23:25 +0200 | [diff] [blame] | 34 | esdhc: sdhc@2e000 { |
Yinbo Zhu | e4e1c2a | 2019-10-15 17:20:41 +0800 | [diff] [blame] | 35 | compatible = "fsl,esdhc"; |
| 36 | reg = <0x2e000 0x1000>; |
| 37 | /* Filled in by U-Boot */ |
| 38 | clock-frequency = <0>; |
| 39 | }; |
Biwen Li | fc60ffd | 2020-05-01 20:04:03 +0800 | [diff] [blame] | 40 | |
Xiaowei Bao | be39501 | 2020-06-04 23:16:37 +0800 | [diff] [blame] | 41 | espi0: spi@7000 { |
| 42 | compatible = "fsl,mpc8536-espi"; |
| 43 | #address-cells = <1>; |
| 44 | #size-cells = <0>; |
| 45 | reg = <0x7000 0x1000>; |
| 46 | fsl,espi-num-chipselects = <4>; |
| 47 | status = "disabled"; |
| 48 | }; |
| 49 | |
Hou Zhiqiang | d1bce13 | 2020-09-21 15:16:23 +0530 | [diff] [blame] | 50 | /include/ "pq3-i2c-0.dtsi" |
| 51 | /include/ "pq3-i2c-1.dtsi" |
Pali Rohár | e15478f | 2022-04-03 00:42:26 +0200 | [diff] [blame] | 52 | /include/ "pq3-duart-0.dtsi" |
Pali Rohár | 97ddccd | 2022-04-08 14:39:50 +0200 | [diff] [blame] | 53 | /include/ "pq3-gpio-0.dtsi" |
Hou Zhiqiang | d1bce13 | 2020-09-21 15:16:23 +0530 | [diff] [blame] | 54 | |
| 55 | /include/ "pq3-etsec1-0.dtsi" |
| 56 | /include/ "pq3-etsec1-1.dtsi" |
| 57 | /include/ "pq3-etsec1-2.dtsi" |
Hou Zhiqiang | 1a2961d | 2019-08-20 09:35:29 +0000 | [diff] [blame] | 58 | }; |
Hou Zhiqiang | ba61f64 | 2019-08-27 11:04:15 +0000 | [diff] [blame] | 59 | |
| 60 | /* PCIe controller base address 0x8000 */ |
| 61 | &pci2 { |
Pali Rohár | 01e4a07 | 2022-04-08 14:39:51 +0200 | [diff] [blame^] | 62 | compatible = "fsl,pcie-p1_p2", "fsl,pcie-fsl-qoriq", "fsl,mpc8548-pcie"; |
Hou Zhiqiang | ba61f64 | 2019-08-27 11:04:15 +0000 | [diff] [blame] | 63 | law_trgt_if = <0>; |
| 64 | #address-cells = <3>; |
| 65 | #size-cells = <2>; |
| 66 | device_type = "pci"; |
| 67 | bus-range = <0x0 0xff>; |
Pali Rohár | 01e4a07 | 2022-04-08 14:39:51 +0200 | [diff] [blame^] | 68 | clock-frequency = <33333333>; |
| 69 | interrupts = <24 2 0 0>; |
| 70 | |
| 71 | pcie@0 { |
| 72 | reg = <0 0 0 0 0>; |
| 73 | #interrupt-cells = <1>; |
| 74 | #size-cells = <2>; |
| 75 | #address-cells = <3>; |
| 76 | device_type = "pci"; |
| 77 | interrupts = <24 2 0 0>; |
| 78 | interrupt-map-mask = <0xf800 0 0 7>; |
| 79 | |
| 80 | interrupt-map = < |
| 81 | /* IDSEL 0x0 */ |
| 82 | 0000 0x0 0x0 0x1 &mpic 0x8 0x1 0x0 0x0 |
| 83 | 0000 0x0 0x0 0x2 &mpic 0x9 0x1 0x0 0x0 |
| 84 | 0000 0x0 0x0 0x3 &mpic 0xa 0x1 0x0 0x0 |
| 85 | 0000 0x0 0x0 0x4 &mpic 0xb 0x1 0x0 0x0 |
| 86 | >; |
| 87 | }; |
Hou Zhiqiang | ba61f64 | 2019-08-27 11:04:15 +0000 | [diff] [blame] | 88 | }; |
| 89 | |
| 90 | /* PCIe controller base address 0x9000 */ |
| 91 | &pci1 { |
Pali Rohár | 01e4a07 | 2022-04-08 14:39:51 +0200 | [diff] [blame^] | 92 | compatible = "fsl,pcie-p1_p2", "fsl,pcie-fsl-qoriq", "fsl,mpc8548-pcie"; |
Hou Zhiqiang | ba61f64 | 2019-08-27 11:04:15 +0000 | [diff] [blame] | 93 | law_trgt_if = <1>; |
| 94 | #address-cells = <3>; |
| 95 | #size-cells = <2>; |
| 96 | device_type = "pci"; |
| 97 | bus-range = <0x0 0xff>; |
Pali Rohár | 01e4a07 | 2022-04-08 14:39:51 +0200 | [diff] [blame^] | 98 | clock-frequency = <33333333>; |
| 99 | interrupts = <25 2 0 0>; |
| 100 | |
| 101 | pcie@0 { |
| 102 | reg = <0 0 0 0 0>; |
| 103 | #interrupt-cells = <1>; |
| 104 | #size-cells = <2>; |
| 105 | #address-cells = <3>; |
| 106 | device_type = "pci"; |
| 107 | interrupts = <25 2 0 0>; |
| 108 | interrupt-map-mask = <0xf800 0 0 7>; |
| 109 | |
| 110 | interrupt-map = < |
| 111 | /* IDSEL 0x0 */ |
| 112 | 0000 0x0 0x0 0x1 &mpic 0x4 0x1 0x0 0x0 |
| 113 | 0000 0x0 0x0 0x2 &mpic 0x5 0x1 0x0 0x0 |
| 114 | 0000 0x0 0x0 0x3 &mpic 0x6 0x1 0x0 0x0 |
| 115 | 0000 0x0 0x0 0x4 &mpic 0x7 0x1 0x0 0x0 |
| 116 | >; |
| 117 | }; |
Hou Zhiqiang | ba61f64 | 2019-08-27 11:04:15 +0000 | [diff] [blame] | 118 | }; |
| 119 | |
| 120 | /* PCIe controller base address 0xa000 */ |
| 121 | &pci0 { |
Pali Rohár | 01e4a07 | 2022-04-08 14:39:51 +0200 | [diff] [blame^] | 122 | compatible = "fsl,pcie-p1_p2", "fsl,pcie-fsl-qoriq", "fsl,mpc8548-pcie"; |
Hou Zhiqiang | ba61f64 | 2019-08-27 11:04:15 +0000 | [diff] [blame] | 123 | law_trgt_if = <2>; |
| 124 | #address-cells = <3>; |
| 125 | #size-cells = <2>; |
| 126 | device_type = "pci"; |
| 127 | bus-range = <0x0 0xff>; |
Pali Rohár | 01e4a07 | 2022-04-08 14:39:51 +0200 | [diff] [blame^] | 128 | clock-frequency = <33333333>; |
| 129 | interrupts = <26 2 0 0>; |
| 130 | |
| 131 | pcie@0 { |
| 132 | reg = <0 0 0 0 0>; |
| 133 | #interrupt-cells = <1>; |
| 134 | #size-cells = <2>; |
| 135 | #address-cells = <3>; |
| 136 | device_type = "pci"; |
| 137 | interrupts = <26 2 0 0>; |
| 138 | interrupt-map-mask = <0xf800 0 0 7>; |
| 139 | interrupt-map = < |
| 140 | /* IDSEL 0x0 */ |
| 141 | 0000 0x0 0x0 0x1 &mpic 0x0 0x1 0x0 0x0 |
| 142 | 0000 0x0 0x0 0x2 &mpic 0x1 0x1 0x0 0x0 |
| 143 | 0000 0x0 0x0 0x3 &mpic 0x2 0x1 0x0 0x0 |
| 144 | 0000 0x0 0x0 0x4 &mpic 0x3 0x1 0x0 0x0 |
| 145 | >; |
| 146 | }; |
Hou Zhiqiang | ba61f64 | 2019-08-27 11:04:15 +0000 | [diff] [blame] | 147 | }; |
Pali Rohár | c27f255 | 2022-04-05 11:15:21 +0200 | [diff] [blame] | 148 | |
| 149 | &lbc { |
| 150 | #address-cells = <2>; |
| 151 | #size-cells = <1>; |
| 152 | compatible = "fsl,p2020-elbc", "fsl,elbc", "simple-bus"; |
| 153 | interrupts = <19 2 0 0>; |
| 154 | }; |