1/* 2 * Device Tree Include file for Freescale Layerscape-2088A family SoC. 3 * 4 * Copyright 2016 Freescale Semiconductor, Inc. 5 * Copyright 2017 NXP 6 * 7 * Abhimanyu Saini <abhimanyu.saini@nxp.com> 8 * 9 * This file is dual-licensed: you can use it either under the terms 10 * of the GPLv2 or the X11 license, at your option. Note that this dual 11 * licensing only applies to this file, and not this project as a 12 * whole. 13 * 14 * a) This library is free software; you can redistribute it and/or 15 * modify it under the terms of the GNU General Public License as 16 * published by the Free Software Foundation; either version 2 of the 17 * License, or (at your option) any later version. 18 * 19 * This library is distributed in the hope that it will be useful, 20 * but WITHOUT ANY WARRANTY; without even the implied warranty of 21 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 22 * GNU General Public License for more details. 23 * 24 * Or, alternatively, 25 * 26 * b) Permission is hereby granted, free of charge, to any person 27 * obtaining a copy of this software and associated documentation 28 * files (the "Software"), to deal in the Software without 29 * restriction, including without limitation the rights to use, 30 * copy, modify, merge, publish, distribute, sublicense, and/or 31 * sell copies of the Software, and to permit persons to whom the 32 * Software is furnished to do so, subject to the following 33 * conditions: 34 * 35 * The above copyright notice and this permission notice shall be 36 * included in all copies or substantial portions of the Software. 37 * 38 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 39 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES 40 * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 41 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT 42 * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 43 * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 44 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 45 * OTHER DEALINGS IN THE SOFTWARE. 46 */ 47 48#include "fsl-ls208xa.dtsi" 49 50&cpu { 51 cpu0: cpu@0 { 52 device_type = "cpu"; 53 compatible = "arm,cortex-a72"; 54 reg = <0x0>; 55 clocks = <&clockgen 1 0>; 56 cpu-idle-states = <&CPU_PW20>; 57 next-level-cache = <&cluster0_l2>; 58 #cooling-cells = <2>; 59 }; 60 61 cpu1: cpu@1 { 62 device_type = "cpu"; 63 compatible = "arm,cortex-a72"; 64 reg = <0x1>; 65 clocks = <&clockgen 1 0>; 66 cpu-idle-states = <&CPU_PW20>; 67 next-level-cache = <&cluster0_l2>; 68 }; 69 70 cpu2: cpu@100 { 71 device_type = "cpu"; 72 compatible = "arm,cortex-a72"; 73 reg = <0x100>; 74 clocks = <&clockgen 1 1>; 75 cpu-idle-states = <&CPU_PW20>; 76 next-level-cache = <&cluster1_l2>; 77 #cooling-cells = <2>; 78 }; 79 80 cpu3: cpu@101 { 81 device_type = "cpu"; 82 compatible = "arm,cortex-a72"; 83 reg = <0x101>; 84 clocks = <&clockgen 1 1>; 85 cpu-idle-states = <&CPU_PW20>; 86 next-level-cache = <&cluster1_l2>; 87 }; 88 89 cpu4: cpu@200 { 90 device_type = "cpu"; 91 compatible = "arm,cortex-a72"; 92 reg = <0x200>; 93 clocks = <&clockgen 1 2>; 94 next-level-cache = <&cluster2_l2>; 95 cpu-idle-states = <&CPU_PW20>; 96 #cooling-cells = <2>; 97 }; 98 99 cpu5: cpu@201 { 100 device_type = "cpu"; 101 compatible = "arm,cortex-a72"; 102 reg = <0x201>; 103 clocks = <&clockgen 1 2>; 104 cpu-idle-states = <&CPU_PW20>; 105 next-level-cache = <&cluster2_l2>; 106 }; 107 108 cpu6: cpu@300 { 109 device_type = "cpu"; 110 compatible = "arm,cortex-a72"; 111 reg = <0x300>; 112 clocks = <&clockgen 1 3>; 113 cpu-idle-states = <&CPU_PW20>; 114 next-level-cache = <&cluster3_l2>; 115 #cooling-cells = <2>; 116 }; 117 118 cpu7: cpu@301 { 119 device_type = "cpu"; 120 compatible = "arm,cortex-a72"; 121 reg = <0x301>; 122 clocks = <&clockgen 1 3>; 123 cpu-idle-states = <&CPU_PW20>; 124 next-level-cache = <&cluster3_l2>; 125 }; 126 127 cluster0_l2: l2-cache0 { 128 compatible = "cache"; 129 }; 130 131 cluster1_l2: l2-cache1 { 132 compatible = "cache"; 133 }; 134 135 cluster2_l2: l2-cache2 { 136 compatible = "cache"; 137 }; 138 139 cluster3_l2: l2-cache3 { 140 compatible = "cache"; 141 }; 142 143 CPU_PW20: cpu-pw20 { 144 compatible = "arm,idle-state"; 145 idle-state-name = "PW20"; 146 arm,psci-suspend-param = <0x0>; 147 entry-latency-us = <2000>; 148 exit-latency-us = <2000>; 149 min-residency-us = <6000>; 150 }; 151}; 152 153&pcie1 { 154 compatible = "fsl,ls2088a-pcie", "snps,dw-pcie"; 155 reg = <0x00 0x03400000 0x0 0x00100000 /* controller registers */ 156 0x20 0x00000000 0x0 0x00002000>; /* configuration space */ 157 158 ranges = <0x81000000 0x0 0x00000000 0x20 0x00010000 0x0 0x00010000 159 0x82000000 0x0 0x40000000 0x20 0x40000000 0x0 0x40000000>; 160}; 161 162&pcie2 { 163 compatible = "fsl,ls2088a-pcie", "snps,dw-pcie"; 164 reg = <0x00 0x03500000 0x0 0x00100000 /* controller registers */ 165 0x28 0x00000000 0x0 0x00002000>; /* configuration space */ 166 167 ranges = <0x81000000 0x0 0x00000000 0x28 0x00010000 0x0 0x00010000 168 0x82000000 0x0 0x40000000 0x28 0x40000000 0x0 0x40000000>; 169}; 170 171&pcie3 { 172 compatible = "fsl,ls2088a-pcie", "snps,dw-pcie"; 173 reg = <0x00 0x03600000 0x0 0x00100000 /* controller registers */ 174 0x30 0x00000000 0x0 0x00002000>; /* configuration space */ 175 176 ranges = <0x81000000 0x0 0x00000000 0x30 0x00010000 0x0 0x00010000 177 0x82000000 0x0 0x40000000 0x30 0x40000000 0x0 0x40000000>; 178}; 179 180&pcie4 { 181 compatible = "fsl,ls2088a-pcie", "snps,dw-pcie"; 182 reg = <0x00 0x03700000 0x0 0x00100000 /* controller registers */ 183 0x38 0x00000000 0x0 0x00002000>; /* configuration space */ 184 185 ranges = <0x81000000 0x0 0x00000000 0x38 0x00010000 0x0 0x00010000 186 0x82000000 0x0 0x40000000 0x38 0x40000000 0x0 0x40000000>; 187}; 188