1/* 2 * Device Tree file for Freescale LS2080a QDS Board. 3 * 4 * Copyright (C) 2015, Freescale Semiconductor 5 * 6 * Bhupesh Sharma <bhupesh.sharma@freescale.com> 7 * 8 * This file is dual-licensed: you can use it either under the terms 9 * of the GPLv2 or the X11 license, at your option. Note that this dual 10 * licensing only applies to this file, and not this project as a 11 * whole. 12 * 13 * a) This library is free software; you can redistribute it and/or 14 * modify it under the terms of the GNU General Public License as 15 * published by the Free Software Foundation; either version 2 of the 16 * License, or (at your option) any later version. 17 * 18 * This library is distributed in the hope that it will be useful, 19 * but WITHOUT ANY WARRANTY; without even the implied warranty of 20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 21 * GNU General Public License for more details. 22 * 23 * Or, alternatively, 24 * 25 * b) Permission is hereby granted, free of charge, to any person 26 * obtaining a copy of this software and associated documentation 27 * files (the "Software"), to deal in the Software without 28 * restriction, including without limitation the rights to use, 29 * copy, modify, merge, publish, distribute, sublicense, and/or 30 * sell copies of the Software, and to permit persons to whom the 31 * Software is furnished to do so, subject to the following 32 * conditions: 33 * 34 * The above copyright notice and this permission notice shall be 35 * included in all copies or substantial portions of the Software. 36 * 37 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 38 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES 39 * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 40 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT 41 * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 42 * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 43 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 44 * OTHER DEALINGS IN THE SOFTWARE. 45 */ 46 47/dts-v1/; 48 49/include/ "fsl-ls2080a.dtsi" 50 51/ { 52 model = "Freescale Layerscape 2080a QDS Board"; 53 compatible = "fsl,ls2080a-qds", "fsl,ls2080a"; 54 55 aliases { 56 serial0 = &serial0; 57 serial1 = &serial1; 58 }; 59 60 chosen { 61 stdout-path = "serial0:115200n8"; 62 }; 63}; 64 65&esdhc { 66 status = "okay"; 67}; 68 69&ifc { 70 status = "okay"; 71 #address-cells = <2>; 72 #size-cells = <1>; 73 ranges = <0x0 0x0 0x5 0x80000000 0x08000000 74 0x2 0x0 0x5 0x30000000 0x00010000 75 0x3 0x0 0x5 0x20000000 0x00010000>; 76 77 nor@0,0 { 78 #address-cells = <1>; 79 #size-cells = <1>; 80 compatible = "cfi-flash"; 81 reg = <0x0 0x0 0x8000000>; 82 bank-width = <2>; 83 device-width = <1>; 84 }; 85 86 nand@2,0 { 87 compatible = "fsl,ifc-nand"; 88 reg = <0x2 0x0 0x10000>; 89 }; 90 91 cpld@3,0 { 92 reg = <0x3 0x0 0x10000>; 93 compatible = "fsl,ls2080aqds-fpga", "fsl,fpga-qixis"; 94 }; 95}; 96 97&i2c0 { 98 status = "okay"; 99 pca9547@77 { 100 compatible = "nxp,pca9547"; 101 reg = <0x77>; 102 #address-cells = <1>; 103 #size-cells = <0>; 104 i2c@0 { 105 #address-cells = <1>; 106 #size-cells = <0>; 107 reg = <0x00>; 108 rtc@68 { 109 compatible = "dallas,ds3232"; 110 reg = <0x68>; 111 }; 112 }; 113 114 i2c@2 { 115 #address-cells = <1>; 116 #size-cells = <0>; 117 reg = <0x02>; 118 119 ina220@40 { 120 compatible = "ti,ina220"; 121 reg = <0x40>; 122 shunt-resistor = <500>; 123 }; 124 125 ina220@41 { 126 compatible = "ti,ina220"; 127 reg = <0x41>; 128 shunt-resistor = <1000>; 129 }; 130 }; 131 132 i2c@3 { 133 #address-cells = <1>; 134 #size-cells = <0>; 135 reg = <0x3>; 136 137 adt7481@4c { 138 compatible = "adi,adt7461"; 139 reg = <0x4c>; 140 }; 141 }; 142 }; 143}; 144 145&i2c1 { 146 status = "disabled"; 147}; 148 149&i2c2 { 150 status = "disabled"; 151}; 152 153&i2c3 { 154 status = "disabled"; 155}; 156 157&dspi { 158 status = "okay"; 159 dflash0: n25q128a { 160 #address-cells = <1>; 161 #size-cells = <1>; 162 compatible = "st,m25p80"; 163 spi-max-frequency = <3000000>; 164 reg = <0>; 165 }; 166 dflash1: sst25wf040b { 167 #address-cells = <1>; 168 #size-cells = <1>; 169 compatible = "st,m25p80"; 170 spi-max-frequency = <3000000>; 171 reg = <1>; 172 }; 173 dflash2: en25s64 { 174 #address-cells = <1>; 175 #size-cells = <1>; 176 compatible = "st,m25p80"; 177 spi-max-frequency = <3000000>; 178 reg = <2>; 179 }; 180}; 181 182&qspi { 183 status = "okay"; 184 flash0: s25fl256s1@0 { 185 #address-cells = <1>; 186 #size-cells = <1>; 187 compatible = "st,m25p80"; 188 spi-max-frequency = <20000000>; 189 reg = <0>; 190 }; 191 flash2: s25fl256s1@2 { 192 #address-cells = <1>; 193 #size-cells = <1>; 194 compatible = "st,m25p80"; 195 spi-max-frequency = <20000000>; 196 reg = <0>; 197 }; 198}; 199 200&sata0 { 201 status = "okay"; 202}; 203 204&sata1 { 205 status = "okay"; 206}; 207 208&usb0 { 209 status = "okay"; 210}; 211 212&usb1 { 213 status = "okay"; 214}; 215