Hou Zhiqiang | 224999f | 2019-08-20 09:35:28 +0000 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ OR X11 |
| 2 | /* |
| 3 | * P1020 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,p1020-immr", "simple-bus"; |
| 14 | bus-frequency = <0x0>; |
| 15 | |
Ran Wang | 6225824 | 2019-12-12 17:30:53 +0800 | [diff] [blame] | 16 | usb@22000 { |
| 17 | compatible = "fsl-usb2-dr"; |
| 18 | reg = <0x22000 0x1000>; |
| 19 | phy_type = "ulpi"; |
| 20 | }; |
| 21 | |
| 22 | usb@23000 { |
| 23 | compatible = "fsl-usb2-dr"; |
| 24 | reg = <0x23000 0x1000>; |
| 25 | phy_type = "ulpi"; |
| 26 | }; |
| 27 | |
Hou Zhiqiang | 224999f | 2019-08-20 09:35:28 +0000 | [diff] [blame] | 28 | mpic: pic@40000 { |
| 29 | interrupt-controller; |
| 30 | #address-cells = <0>; |
| 31 | #interrupt-cells = <4>; |
| 32 | reg = <0x40000 0x40000>; |
| 33 | compatible = "fsl,mpic"; |
| 34 | device_type = "open-pic"; |
| 35 | big-endian; |
| 36 | single-cpu-affinity; |
| 37 | last-interrupt-source = <255>; |
| 38 | }; |
Yinbo Zhu | a03609c | 2019-10-15 17:20:40 +0800 | [diff] [blame] | 39 | |
| 40 | esdhc: esdhc@2e000 { |
| 41 | compatible = "fsl,esdhc"; |
| 42 | reg = <0x2e000 0x1000>; |
| 43 | /* Filled in by U-Boot */ |
| 44 | clock-frequency = <0>; |
| 45 | }; |
Ran Wang | 6225824 | 2019-12-12 17:30:53 +0800 | [diff] [blame] | 46 | |
Xiaowei Bao | d1074ff | 2020-06-04 23:16:34 +0800 | [diff] [blame] | 47 | espi0: spi@7000 { |
| 48 | compatible = "fsl,mpc8536-espi"; |
| 49 | #address-cells = <1>; |
| 50 | #size-cells = <0>; |
| 51 | reg = <0x7000 0x1000>; |
| 52 | fsl,espi-num-chipselects = <4>; |
| 53 | status = "disabled"; |
| 54 | }; |
| 55 | |
Hou Zhiqiang | 8eb8a9f | 2020-09-21 14:59:05 +0530 | [diff] [blame] | 56 | /include/ "pq3-i2c-0.dtsi" |
| 57 | /include/ "pq3-i2c-1.dtsi" |
| 58 | |
| 59 | /include/ "pq3-etsec2-0.dtsi" |
| 60 | enet0: enet0_grp2: ethernet@b0000 { |
| 61 | }; |
| 62 | |
| 63 | /include/ "pq3-etsec2-1.dtsi" |
| 64 | enet1: enet1_grp2: ethernet@b1000 { |
| 65 | }; |
| 66 | |
| 67 | /include/ "pq3-etsec2-2.dtsi" |
| 68 | enet2: enet2_grp2: ethernet@b2000 { |
| 69 | }; |
Hou Zhiqiang | 224999f | 2019-08-20 09:35:28 +0000 | [diff] [blame] | 70 | }; |
Hou Zhiqiang | 802865c | 2019-08-27 11:04:04 +0000 | [diff] [blame] | 71 | |
Hou Zhiqiang | 8eb8a9f | 2020-09-21 14:59:05 +0530 | [diff] [blame] | 72 | /include/ "pq3-etsec2-grp2-0.dtsi" |
| 73 | /include/ "pq3-etsec2-grp2-1.dtsi" |
| 74 | /include/ "pq3-etsec2-grp2-2.dtsi" |
| 75 | |
Hou Zhiqiang | 802865c | 2019-08-27 11:04:04 +0000 | [diff] [blame] | 76 | /* PCIe controller base address 0x9000 */ |
| 77 | &pci1 { |
| 78 | compatible = "fsl,pcie-p1_p2", "fsl,pcie-fsl-qoriq"; |
| 79 | law_trgt_if = <1>; |
| 80 | #address-cells = <3>; |
| 81 | #size-cells = <2>; |
| 82 | device_type = "pci"; |
| 83 | bus-range = <0x0 0xff>; |
| 84 | }; |
| 85 | |
| 86 | /* PCIe controller base address 0xa000 */ |
| 87 | &pci0 { |
| 88 | compatible = "fsl,pcie-p1_p2", "fsl,pcie-fsl-qoriq"; |
| 89 | law_trgt_if = <2>; |
| 90 | #address-cells = <3>; |
| 91 | #size-cells = <2>; |
| 92 | device_type = "pci"; |
| 93 | bus-range = <0x0 0xff>; |
| 94 | }; |