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