Hou Zhiqiang | bebc072 | 2019-08-20 09:35:31 +0000 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ OR X11 |
| 2 | /* |
| 3 | * P3041 Silicon/SoC Device Tree Source (pre include) |
| 4 | * |
| 5 | * Copyright 2010 - 2015 Freescale Semiconductor Inc. |
Biwen Li | 0a98d5b | 2020-05-01 20:04:07 +0800 | [diff] [blame] | 6 | * Copyright 2019-2020 NXP |
Hou Zhiqiang | bebc072 | 2019-08-20 09:35:31 +0000 | [diff] [blame] | 7 | */ |
| 8 | |
| 9 | /dts-v1/; |
| 10 | |
| 11 | /include/ "e500mc_power_isa.dtsi" |
| 12 | |
| 13 | / { |
| 14 | compatible = "fsl,P3041"; |
| 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 | }; |
| 44 | |
| 45 | soc: soc@ffe000000 { |
| 46 | ranges = <0x00000000 0xf 0xfe000000 0x1000000>; |
| 47 | reg = <0xf 0xfe000000 0 0x00001000>; |
| 48 | #address-cells = <1>; |
| 49 | #size-cells = <1>; |
| 50 | device_type = "soc"; |
| 51 | compatible = "simple-bus"; |
| 52 | |
| 53 | mpic: pic@40000 { |
| 54 | interrupt-controller; |
| 55 | #address-cells = <0>; |
| 56 | #interrupt-cells = <4>; |
| 57 | reg = <0x40000 0x40000>; |
| 58 | compatible = "fsl,mpic", "chrp,open-pic"; |
| 59 | device_type = "open-pic"; |
| 60 | clock-frequency = <0x0>; |
| 61 | }; |
Peng Ma | e71499a | 2019-10-23 11:07:09 +0000 | [diff] [blame] | 62 | |
Ran Wang | 65d7a27 | 2019-12-12 17:30:51 +0800 | [diff] [blame] | 63 | usb0: usb@fe210000 { |
| 64 | compatible = "fsl-usb2-mph"; |
| 65 | reg = <0x210000 0x1000>; |
| 66 | phy_type = "utmi"; |
| 67 | }; |
| 68 | |
| 69 | usb1: usb@fe211000 { |
| 70 | compatible = "fsl-usb2-dr"; |
| 71 | reg = <0x211000 0x1000>; |
| 72 | phy_type = "utmi"; |
| 73 | }; |
| 74 | |
Peng Ma | e71499a | 2019-10-23 11:07:09 +0000 | [diff] [blame] | 75 | sata: sata@220000 { |
| 76 | compatible = "fsl,pq-sata-v2"; |
| 77 | reg = <0x220000 0x1000>; |
| 78 | interrupts = <68 0x2 0 0>; |
| 79 | sata-offset = <0x1000>; |
| 80 | sata-number = <2>; |
| 81 | sata-fpdma = <0>; |
| 82 | }; |
Yinbo Zhu | dfeb70c | 2019-10-15 17:20:43 +0800 | [diff] [blame] | 83 | |
| 84 | esdhc: esdhc@114000 { |
| 85 | compatible = "fsl,esdhc"; |
| 86 | reg = <0x114000 0x1000>; |
| 87 | clock-frequency = <0>; |
| 88 | }; |
Biwen Li | 0a98d5b | 2020-05-01 20:04:07 +0800 | [diff] [blame] | 89 | /include/ "qoriq-i2c-0.dtsi" |
| 90 | /include/ "qoriq-i2c-1.dtsi" |
Hou Zhiqiang | bebc072 | 2019-08-20 09:35:31 +0000 | [diff] [blame] | 91 | }; |
Hou Zhiqiang | fc81606 | 2019-08-27 11:04:42 +0000 | [diff] [blame] | 92 | |
| 93 | pcie@ffe200000 { |
| 94 | compatible = "fsl,pcie-p3041", "fsl,pcie-fsl-qoriq"; |
| 95 | reg = <0xf 0xfe200000 0x0 0x1000>; /* registers */ |
| 96 | law_trgt_if = <0>; |
| 97 | #address-cells = <3>; |
| 98 | #size-cells = <2>; |
| 99 | device_type = "pci"; |
| 100 | bus-range = <0x0 0xff>; |
| 101 | ranges = <0x01000000 0x0 0x00000000 0xf 0xf8000000 0x0 0x00010000 /* downstream I/O */ |
| 102 | 0x02000000 0x0 0xe0000000 0xc 0x00000000 0x0 0x20000000>; /* non-prefetchable memory */ |
| 103 | }; |
| 104 | |
| 105 | pcie@ffe201000 { |
| 106 | compatible = "fsl,pcie-p3041", "fsl,pcie-fsl-qoriq"; |
| 107 | reg = <0xf 0xfe201000 0x0 0x1000>; /* registers */ |
| 108 | law_trgt_if = <1>; |
| 109 | #address-cells = <3>; |
| 110 | #size-cells = <2>; |
| 111 | device_type = "pci"; |
| 112 | bus-range = <0x0 0xff>; |
| 113 | ranges = <0x01000000 0x0 0x00000000 0xf 0xf8010000 0x0 0x00010000 /* downstream I/O */ |
| 114 | 0x02000000 0x0 0xe0000000 0xc 0x20000000 0x0 0x20000000>; /* non-prefetchable memory */ |
| 115 | }; |
| 116 | |
| 117 | pcie@ffe202000 { |
| 118 | compatible = "fsl,pcie-p3041", "fsl,pcie-fsl-qoriq"; |
| 119 | reg = <0xf 0xfe202000 0x0 0x1000>; /* registers */ |
| 120 | law_trgt_if = <2>; |
| 121 | #address-cells = <3>; |
| 122 | #size-cells = <2>; |
| 123 | device_type = "pci"; |
| 124 | bus-range = <0x0 0xff>; |
| 125 | ranges = <0x01000000 0x0 0x00000000 0xf 0xf8020000 0x0 0x00010000 /* downstream I/O */ |
| 126 | 0x02000000 0x0 0xe0000000 0xc 0x40000000 0x0 0x20000000>; /* non-prefetchable memory */ |
| 127 | }; |
| 128 | |
| 129 | pcie@ffe203000 { |
| 130 | compatible = "fsl,pcie-p3041", "fsl,pcie-fsl-qoriq"; |
| 131 | reg = <0xf 0xfe203000 0x0 0x1000>; /* registers */ |
| 132 | law_trgt_if = <3>; |
| 133 | #address-cells = <3>; |
| 134 | #size-cells = <2>; |
| 135 | device_type = "pci"; |
| 136 | bus-range = <0x0 0xff>; |
| 137 | ranges = <0x01000000 0x0 0x00000000 0xf 0xf8030000 0x0 0x00010000 /* downstream I/O */ |
| 138 | 0x02000000 0x0 0xe0000000 0xc 0x60000000 0x0 0x20000000>; /* non-prefetchable memory */ |
| 139 | }; |
Hou Zhiqiang | bebc072 | 2019-08-20 09:35:31 +0000 | [diff] [blame] | 140 | }; |