1ac0ca416SShaohui Xie/* 2ac0ca416SShaohui Xie * Device Tree Include file for Freescale Layerscape-1043A family SoC. 3ac0ca416SShaohui Xie * 4ac0ca416SShaohui Xie * Copyright 2014-2015, Freescale Semiconductor 5ac0ca416SShaohui Xie * 6ac0ca416SShaohui Xie * Mingkai Hu <Mingkai.hu@freescale.com> 7ac0ca416SShaohui Xie * 8ac0ca416SShaohui Xie * This file is dual-licensed: you can use it either under the terms 9ac0ca416SShaohui Xie * of the GPLv2 or the X11 license, at your option. Note that this dual 10ac0ca416SShaohui Xie * licensing only applies to this file, and not this project as a 11ac0ca416SShaohui Xie * whole. 12ac0ca416SShaohui Xie * 13ac0ca416SShaohui Xie * a) This library is free software; you can redistribute it and/or 14ac0ca416SShaohui Xie * modify it under the terms of the GNU General Public License as 15ac0ca416SShaohui Xie * published by the Free Software Foundation; either version 2 of the 16ac0ca416SShaohui Xie * License, or (at your option) any later version. 17ac0ca416SShaohui Xie * 18ac0ca416SShaohui Xie * This library is distributed in the hope that it will be useful, 19ac0ca416SShaohui Xie * but WITHOUT ANY WARRANTY; without even the implied warranty of 20ac0ca416SShaohui Xie * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 21ac0ca416SShaohui Xie * GNU General Public License for more details. 22ac0ca416SShaohui Xie * 23ac0ca416SShaohui Xie * Or, alternatively, 24ac0ca416SShaohui Xie * 25ac0ca416SShaohui Xie * b) Permission is hereby granted, free of charge, to any person 26ac0ca416SShaohui Xie * obtaining a copy of this software and associated documentation 27ac0ca416SShaohui Xie * files (the "Software"), to deal in the Software without 28ac0ca416SShaohui Xie * restriction, including without limitation the rights to use, 29ac0ca416SShaohui Xie * copy, modify, merge, publish, distribute, sublicense, and/or 30ac0ca416SShaohui Xie * sell copies of the Software, and to permit persons to whom the 31ac0ca416SShaohui Xie * Software is furnished to do so, subject to the following 32ac0ca416SShaohui Xie * conditions: 33ac0ca416SShaohui Xie * 34ac0ca416SShaohui Xie * The above copyright notice and this permission notice shall be 35ac0ca416SShaohui Xie * included in all copies or substantial portions of the Software. 36ac0ca416SShaohui Xie * 37ac0ca416SShaohui Xie * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 38ac0ca416SShaohui Xie * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES 39ac0ca416SShaohui Xie * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 40ac0ca416SShaohui Xie * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT 41ac0ca416SShaohui Xie * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 42ac0ca416SShaohui Xie * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 43ac0ca416SShaohui Xie * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 44ac0ca416SShaohui Xie * OTHER DEALINGS IN THE SOFTWARE. 45ac0ca416SShaohui Xie */ 46ac0ca416SShaohui Xie 47ac0ca416SShaohui Xie/dts-v1/; 48ac0ca416SShaohui Xie/include/ "fsl-ls1043a.dtsi" 49ac0ca416SShaohui Xie 50ac0ca416SShaohui Xie/ { 51ac0ca416SShaohui Xie model = "LS1043A RDB Board"; 5263dac35bSHoria Geantă 5363dac35bSHoria Geantă aliases { 5463dac35bSHoria Geantă crypto = &crypto; 5563dac35bSHoria Geantă }; 56ac0ca416SShaohui Xie}; 57ac0ca416SShaohui Xie 58ac0ca416SShaohui Xie&i2c0 { 59ac0ca416SShaohui Xie status = "okay"; 60ac0ca416SShaohui Xie ina220@40 { 61ac0ca416SShaohui Xie compatible = "ti,ina220"; 62ac0ca416SShaohui Xie reg = <0x40>; 63ac0ca416SShaohui Xie shunt-resistor = <1000>; 64ac0ca416SShaohui Xie }; 65ac0ca416SShaohui Xie adt7461a@4c { 66ac0ca416SShaohui Xie compatible = "adi,adt7461"; 67ac0ca416SShaohui Xie reg = <0x4c>; 68ac0ca416SShaohui Xie }; 69ac0ca416SShaohui Xie eeprom@52 { 70ac0ca416SShaohui Xie compatible = "at24,24c512"; 71ac0ca416SShaohui Xie reg = <0x52>; 72ac0ca416SShaohui Xie }; 73ac0ca416SShaohui Xie eeprom@53 { 74ac0ca416SShaohui Xie compatible = "at24,24c512"; 75ac0ca416SShaohui Xie reg = <0x53>; 76ac0ca416SShaohui Xie }; 77ac0ca416SShaohui Xie rtc@68 { 78ac0ca416SShaohui Xie compatible = "pericom,pt7c4338"; 79ac0ca416SShaohui Xie reg = <0x68>; 80ac0ca416SShaohui Xie }; 81ac0ca416SShaohui Xie}; 82ac0ca416SShaohui Xie 83ac0ca416SShaohui Xie&ifc { 84ac0ca416SShaohui Xie status = "okay"; 85ac0ca416SShaohui Xie #address-cells = <2>; 86ac0ca416SShaohui Xie #size-cells = <1>; 87ac0ca416SShaohui Xie /* NOR, NAND Flashes and FPGA on board */ 88ac0ca416SShaohui Xie ranges = <0x0 0x0 0x0 0x60000000 0x08000000 89ac0ca416SShaohui Xie 0x1 0x0 0x0 0x7e800000 0x00010000 90ac0ca416SShaohui Xie 0x2 0x0 0x0 0x7fb00000 0x00000100>; 91ac0ca416SShaohui Xie 92ac0ca416SShaohui Xie nor@0,0 { 93ac0ca416SShaohui Xie compatible = "cfi-flash"; 94ac0ca416SShaohui Xie #address-cells = <1>; 95ac0ca416SShaohui Xie #size-cells = <1>; 96ac0ca416SShaohui Xie reg = <0x0 0x0 0x8000000>; 97ac0ca416SShaohui Xie bank-width = <2>; 98ac0ca416SShaohui Xie device-width = <1>; 99ac0ca416SShaohui Xie }; 100ac0ca416SShaohui Xie 101ac0ca416SShaohui Xie nand@1,0 { 102ac0ca416SShaohui Xie compatible = "fsl,ifc-nand"; 103ac0ca416SShaohui Xie #address-cells = <1>; 104ac0ca416SShaohui Xie #size-cells = <1>; 105ac0ca416SShaohui Xie reg = <0x1 0x0 0x10000>; 106ac0ca416SShaohui Xie }; 107ac0ca416SShaohui Xie 108ac0ca416SShaohui Xie cpld: board-control@2,0 { 109ac0ca416SShaohui Xie compatible = "fsl,ls1043ardb-cpld"; 110ac0ca416SShaohui Xie reg = <0x2 0x0 0x0000100>; 111ac0ca416SShaohui Xie }; 112ac0ca416SShaohui Xie}; 113ac0ca416SShaohui Xie 114730628f0SYunhui Cui&dspi0 { 115730628f0SYunhui Cui bus-num = <0>; 116730628f0SYunhui Cui status = "okay"; 117730628f0SYunhui Cui 118730628f0SYunhui Cui flash@0 { 119730628f0SYunhui Cui #address-cells = <1>; 120730628f0SYunhui Cui #size-cells = <1>; 121730628f0SYunhui Cui compatible = "n25q128a13", "jedec,spi-nor"; /* 16MB */ 122730628f0SYunhui Cui reg = <0>; 123730628f0SYunhui Cui spi-max-frequency = <1000000>; /* input clock */ 124730628f0SYunhui Cui }; 125730628f0SYunhui Cui}; 126730628f0SYunhui Cui 127ac0ca416SShaohui Xie&duart0 { 128ac0ca416SShaohui Xie status = "okay"; 129ac0ca416SShaohui Xie}; 130ac0ca416SShaohui Xie 131ac0ca416SShaohui Xie&duart1 { 132ac0ca416SShaohui Xie status = "okay"; 133ac0ca416SShaohui Xie}; 134