Hou Zhiqiang | 4276454 | 2019-08-20 09:35:32 +0000 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ OR X11 |
| 2 | /* |
| 3 | * P4080/P4040 Silicon/SoC Device Tree Source (pre include) |
| 4 | * |
| 5 | * Copyright 2011 - 2015 Freescale Semiconductor Inc. |
| 6 | * Copyright 2019 NXP |
| 7 | */ |
| 8 | |
| 9 | /dts-v1/; |
| 10 | |
| 11 | /include/ "e500mc_power_isa.dtsi" |
| 12 | |
| 13 | / { |
| 14 | compatible = "fsl,P4080"; |
| 15 | #address-cells = <2>; |
| 16 | #size-cells = <2>; |
| 17 | interrupt-parent = <&mpic>; |
| 18 | |
| 19 | cpus { |
| 20 | #address-cells = <1>; |
| 21 | #size-cells = <0>; |
| 22 | |
| 23 | cpu0: PowerPC,e500mc@0 { |
| 24 | device_type = "cpu"; |
| 25 | reg = <0>; |
| 26 | fsl,portid-mapping = <0x80000000>; |
| 27 | }; |
| 28 | cpu1: PowerPC,e500mc@1 { |
| 29 | device_type = "cpu"; |
| 30 | reg = <1>; |
| 31 | fsl,portid-mapping = <0x40000000>; |
| 32 | }; |
| 33 | cpu2: PowerPC,e500mc@2 { |
| 34 | device_type = "cpu"; |
| 35 | reg = <2>; |
| 36 | fsl,portid-mapping = <0x20000000>; |
| 37 | }; |
| 38 | cpu3: PowerPC,e500mc@3 { |
| 39 | device_type = "cpu"; |
| 40 | reg = <3>; |
| 41 | fsl,portid-mapping = <0x10000000>; |
| 42 | }; |
| 43 | cpu4: PowerPC,e500mc@4 { |
| 44 | device_type = "cpu"; |
| 45 | reg = <4>; |
| 46 | fsl,portid-mapping = <0x08000000>; |
| 47 | }; |
| 48 | cpu5: PowerPC,e500mc@5 { |
| 49 | device_type = "cpu"; |
| 50 | reg = <5>; |
| 51 | fsl,portid-mapping = <0x04000000>; |
| 52 | }; |
| 53 | cpu6: PowerPC,e500mc@6 { |
| 54 | device_type = "cpu"; |
| 55 | reg = <6>; |
| 56 | fsl,portid-mapping = <0x02000000>; |
| 57 | }; |
| 58 | cpu7: PowerPC,e500mc@7 { |
| 59 | device_type = "cpu"; |
| 60 | reg = <7>; |
| 61 | fsl,portid-mapping = <0x01000000>; |
| 62 | }; |
| 63 | }; |
| 64 | |
| 65 | soc: soc@ffe000000 { |
| 66 | ranges = <0x00000000 0xf 0xfe000000 0x1000000>; |
| 67 | reg = <0xf 0xfe000000 0 0x00001000>; |
| 68 | #address-cells = <1>; |
| 69 | #size-cells = <1>; |
| 70 | device_type = "soc"; |
| 71 | compatible = "simple-bus"; |
| 72 | |
| 73 | mpic: pic@40000 { |
| 74 | interrupt-controller; |
| 75 | #address-cells = <0>; |
| 76 | #interrupt-cells = <4>; |
| 77 | reg = <0x40000 0x40000>; |
| 78 | compatible = "fsl,mpic", "chrp,open-pic"; |
| 79 | device_type = "open-pic"; |
| 80 | clock-frequency = <0x0>; |
| 81 | }; |
Yinbo Zhu | 6c76db4 | 2019-10-15 17:20:44 +0800 | [diff] [blame] | 82 | |
| 83 | esdhc: esdhc@114000 { |
| 84 | compatible = "fsl,esdhc"; |
| 85 | reg = <0x114000 0x1000>; |
| 86 | clock-frequency = <0>; |
| 87 | }; |
Ran Wang | dc6c15c | 2019-12-12 17:30:59 +0800 | [diff] [blame] | 88 | |
| 89 | usb0@210000 { |
| 90 | compatible = "fsl-usb2-mph"; |
| 91 | reg = <0x210000 0x1000>; |
| 92 | phy_type = "ulpi"; |
| 93 | }; |
| 94 | |
| 95 | usb1@211000 { |
| 96 | compatible = "fsl-usb2-dr"; |
| 97 | reg = <0x211000 0x1000>; |
| 98 | phy_type = "ulpi"; |
| 99 | }; |
Hou Zhiqiang | 4276454 | 2019-08-20 09:35:32 +0000 | [diff] [blame] | 100 | }; |
Hou Zhiqiang | f892ab5 | 2019-08-27 11:04:56 +0000 | [diff] [blame] | 101 | |
| 102 | pcie@ffe200000 { |
| 103 | compatible = "fsl,pcie-p4080", "fsl,pcie-fsl-qoriq"; |
| 104 | reg = <0xf 0xfe200000 0x0 0x1000>; /* registers */ |
| 105 | law_trgt_if = <0>; |
| 106 | #address-cells = <3>; |
| 107 | #size-cells = <2>; |
| 108 | device_type = "pci"; |
| 109 | bus-range = <0x0 0xff>; |
| 110 | ranges = <0x01000000 0x0 0x00000000 0xf 0xf8000000 0x0 0x00010000 /* downstream I/O */ |
| 111 | 0x02000000 0x0 0xe0000000 0xc 0x00000000 0x0 0x20000000>; /* non-prefetchable memory */ |
| 112 | }; |
| 113 | |
| 114 | pcie@ffe201000 { |
| 115 | compatible = "fsl,pcie-p4080", "fsl,pcie-fsl-qoriq"; |
| 116 | reg = <0xf 0xfe201000 0x0 0x1000>; /* registers */ |
| 117 | law_trgt_if = <1>; |
| 118 | #address-cells = <3>; |
| 119 | #size-cells = <2>; |
| 120 | device_type = "pci"; |
| 121 | bus-range = <0x0 0xff>; |
| 122 | ranges = <0x01000000 0x0 0x00000000 0xf 0xf8010000 0x0 0x00010000 /* downstream I/O */ |
| 123 | 0x02000000 0x0 0xe0000000 0xc 0x20000000 0x0 0x20000000>; /* non-prefetchable memory */ |
| 124 | }; |
| 125 | |
| 126 | pcie@ffe202000 { |
| 127 | compatible = "fsl,pcie-p4080", "fsl,pcie-fsl-qoriq"; |
| 128 | reg = <0xf 0xfe202000 0x0 0x1000>; /* registers */ |
| 129 | law_trgt_if = <2>; |
| 130 | #address-cells = <3>; |
| 131 | #size-cells = <2>; |
| 132 | device_type = "pci"; |
| 133 | bus-range = <0x0 0xff>; |
| 134 | ranges = <0x01000000 0x0 0x00000000 0xf 0xf8020000 0x0 0x00010000 /* downstream I/O */ |
| 135 | 0x02000000 0x0 0xe0000000 0xc 0x40000000 0x0 0x20000000>; /* non-prefetchable memory */ |
| 136 | }; |
Hou Zhiqiang | 4276454 | 2019-08-20 09:35:32 +0000 | [diff] [blame] | 137 | }; |