1/* 2 * Device Tree file for Freescale LS2080A QDS Board. 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&esdhc { 49 mmc-hs200-1_8v; 50 status = "okay"; 51}; 52 53&ifc { 54 status = "okay"; 55 #address-cells = <2>; 56 #size-cells = <1>; 57 ranges = <0x0 0x0 0x5 0x80000000 0x08000000 58 0x2 0x0 0x5 0x30000000 0x00010000 59 0x3 0x0 0x5 0x20000000 0x00010000>; 60 61 nor@0,0 { 62 #address-cells = <1>; 63 #size-cells = <1>; 64 compatible = "cfi-flash"; 65 reg = <0x0 0x0 0x8000000>; 66 bank-width = <2>; 67 device-width = <1>; 68 }; 69 70 nand@2,0 { 71 compatible = "fsl,ifc-nand"; 72 reg = <0x2 0x0 0x10000>; 73 }; 74 75 cpld@3,0 { 76 reg = <0x3 0x0 0x10000>; 77 compatible = "fsl,ls2080aqds-fpga", "fsl,fpga-qixis"; 78 }; 79}; 80 81&i2c0 { 82 status = "okay"; 83 pca9547@77 { 84 compatible = "nxp,pca9547"; 85 reg = <0x77>; 86 #address-cells = <1>; 87 #size-cells = <0>; 88 i2c@0 { 89 #address-cells = <1>; 90 #size-cells = <0>; 91 reg = <0x00>; 92 rtc@68 { 93 compatible = "dallas,ds3232"; 94 reg = <0x68>; 95 }; 96 }; 97 98 i2c@2 { 99 #address-cells = <1>; 100 #size-cells = <0>; 101 reg = <0x02>; 102 103 ina220@40 { 104 compatible = "ti,ina220"; 105 reg = <0x40>; 106 shunt-resistor = <500>; 107 }; 108 109 ina220@41 { 110 compatible = "ti,ina220"; 111 reg = <0x41>; 112 shunt-resistor = <1000>; 113 }; 114 }; 115 116 i2c@3 { 117 #address-cells = <1>; 118 #size-cells = <0>; 119 reg = <0x3>; 120 121 adt7481@4c { 122 compatible = "adi,adt7461"; 123 reg = <0x4c>; 124 }; 125 }; 126 }; 127}; 128 129&i2c1 { 130 status = "disabled"; 131}; 132 133&i2c2 { 134 status = "disabled"; 135}; 136 137&i2c3 { 138 status = "disabled"; 139}; 140 141&dspi { 142 status = "okay"; 143 dflash0: n25q128a { 144 #address-cells = <1>; 145 #size-cells = <1>; 146 compatible = "st,m25p80"; 147 spi-max-frequency = <3000000>; 148 reg = <0>; 149 }; 150 dflash1: sst25wf040b { 151 #address-cells = <1>; 152 #size-cells = <1>; 153 compatible = "st,m25p80"; 154 spi-max-frequency = <3000000>; 155 reg = <1>; 156 }; 157 dflash2: en25s64 { 158 #address-cells = <1>; 159 #size-cells = <1>; 160 compatible = "st,m25p80"; 161 spi-max-frequency = <3000000>; 162 reg = <2>; 163 }; 164}; 165 166&qspi { 167 status = "okay"; 168 flash0: s25fl256s1@0 { 169 #address-cells = <1>; 170 #size-cells = <1>; 171 compatible = "st,m25p80"; 172 spi-max-frequency = <20000000>; 173 reg = <0>; 174 }; 175 flash2: s25fl256s1@2 { 176 #address-cells = <1>; 177 #size-cells = <1>; 178 compatible = "st,m25p80"; 179 spi-max-frequency = <20000000>; 180 reg = <0>; 181 }; 182}; 183 184&sata0 { 185 status = "okay"; 186}; 187 188&sata1 { 189 status = "okay"; 190}; 191 192&usb0 { 193 status = "okay"; 194}; 195 196&usb1 { 197 status = "okay"; 198}; 199