112fb0eb4SAnatolij Gustschin/* 212fb0eb4SAnatolij Gustschin * Device Tree Source for IFM PDM360NG. 312fb0eb4SAnatolij Gustschin * 412fb0eb4SAnatolij Gustschin * Copyright 2009 - 2010 DENX Software Engineering. 512fb0eb4SAnatolij Gustschin * Anatolij Gustschin <agust@denx.de> 612fb0eb4SAnatolij Gustschin * 712fb0eb4SAnatolij Gustschin * Based on MPC5121E ADS dts. 812fb0eb4SAnatolij Gustschin * Copyright 2008 Freescale Semiconductor Inc. 912fb0eb4SAnatolij Gustschin * 1012fb0eb4SAnatolij Gustschin * This program is free software; you can redistribute it and/or modify it 1112fb0eb4SAnatolij Gustschin * under the terms of the GNU General Public License as published by the 1212fb0eb4SAnatolij Gustschin * Free Software Foundation; either version 2 of the License, or (at your 1312fb0eb4SAnatolij Gustschin * option) any later version. 1412fb0eb4SAnatolij Gustschin */ 1512fb0eb4SAnatolij Gustschin 165405c92bSMasahiro Yamada#include "mpc5121.dtsi" 1712fb0eb4SAnatolij Gustschin 1812fb0eb4SAnatolij Gustschin/ { 1912fb0eb4SAnatolij Gustschin model = "pdm360ng"; 20a9b6aae4SMatteo Facchinetti compatible = "ifm,pdm360ng", "fsl,mpc5121"; 2112fb0eb4SAnatolij Gustschin #address-cells = <1>; 2212fb0eb4SAnatolij Gustschin #size-cells = <1>; 2312fb0eb4SAnatolij Gustschin interrupt-parent = <&ipic>; 2412fb0eb4SAnatolij Gustschin 2512fb0eb4SAnatolij Gustschin memory { 2612fb0eb4SAnatolij Gustschin device_type = "memory"; 2712fb0eb4SAnatolij Gustschin reg = <0x00000000 0x20000000>; // 512MB at 0 2812fb0eb4SAnatolij Gustschin }; 2912fb0eb4SAnatolij Gustschin 3012fb0eb4SAnatolij Gustschin nfc@40000000 { 3112fb0eb4SAnatolij Gustschin bank-width = <0x1>; 3212fb0eb4SAnatolij Gustschin chips = <0x1>; 3312fb0eb4SAnatolij Gustschin 3412fb0eb4SAnatolij Gustschin partition@0 { 3512fb0eb4SAnatolij Gustschin label = "nand0"; 3612fb0eb4SAnatolij Gustschin reg = <0x0 0x40000000>; 3712fb0eb4SAnatolij Gustschin }; 3812fb0eb4SAnatolij Gustschin }; 3912fb0eb4SAnatolij Gustschin 4012fb0eb4SAnatolij Gustschin localbus@80000020 { 4112fb0eb4SAnatolij Gustschin ranges = <0x0 0x0 0xf0000000 0x10000000 /* Flash */ 4212fb0eb4SAnatolij Gustschin 0x2 0x0 0x50040000 0x00020000>; /* CS2: MRAM */ 4312fb0eb4SAnatolij Gustschin 4412fb0eb4SAnatolij Gustschin flash@0,0 { 4512fb0eb4SAnatolij Gustschin compatible = "amd,s29gl01gp", "cfi-flash"; 4612fb0eb4SAnatolij Gustschin reg = <0 0x00000000 0x08000000 4712fb0eb4SAnatolij Gustschin 0 0x08000000 0x08000000>; 4812fb0eb4SAnatolij Gustschin #address-cells = <1>; 4912fb0eb4SAnatolij Gustschin #size-cells = <1>; 5012fb0eb4SAnatolij Gustschin bank-width = <4>; 5112fb0eb4SAnatolij Gustschin device-width = <2>; 5212fb0eb4SAnatolij Gustschin 5312fb0eb4SAnatolij Gustschin partition@0 { 5412fb0eb4SAnatolij Gustschin label = "u-boot"; 5512fb0eb4SAnatolij Gustschin reg = <0x00000000 0x00080000>; 5612fb0eb4SAnatolij Gustschin read-only; 5712fb0eb4SAnatolij Gustschin }; 5812fb0eb4SAnatolij Gustschin partition@80000 { 5912fb0eb4SAnatolij Gustschin label = "environment"; 6012fb0eb4SAnatolij Gustschin reg = <0x00080000 0x00080000>; 6112fb0eb4SAnatolij Gustschin read-only; 6212fb0eb4SAnatolij Gustschin }; 6312fb0eb4SAnatolij Gustschin partition@100000 { 6412fb0eb4SAnatolij Gustschin label = "splash-image"; 6512fb0eb4SAnatolij Gustschin reg = <0x00100000 0x00080000>; 6612fb0eb4SAnatolij Gustschin read-only; 6712fb0eb4SAnatolij Gustschin }; 6812fb0eb4SAnatolij Gustschin partition@180000 { 6912fb0eb4SAnatolij Gustschin label = "device-tree"; 7012fb0eb4SAnatolij Gustschin reg = <0x00180000 0x00040000>; 7112fb0eb4SAnatolij Gustschin }; 7212fb0eb4SAnatolij Gustschin partition@1c0000 { 7312fb0eb4SAnatolij Gustschin label = "kernel"; 7412fb0eb4SAnatolij Gustschin reg = <0x001c0000 0x00500000>; 7512fb0eb4SAnatolij Gustschin }; 7612fb0eb4SAnatolij Gustschin partition@6c0000 { 7712fb0eb4SAnatolij Gustschin label = "filesystem"; 7812fb0eb4SAnatolij Gustschin reg = <0x006c0000 0x07940000>; 7912fb0eb4SAnatolij Gustschin }; 8012fb0eb4SAnatolij Gustschin }; 8112fb0eb4SAnatolij Gustschin 8212fb0eb4SAnatolij Gustschin mram0@2,0 { 8312fb0eb4SAnatolij Gustschin compatible = "mtd-ram"; 8412fb0eb4SAnatolij Gustschin reg = <2 0x00000 0x10000>; 8512fb0eb4SAnatolij Gustschin bank-width = <2>; 8612fb0eb4SAnatolij Gustschin }; 8712fb0eb4SAnatolij Gustschin 8812fb0eb4SAnatolij Gustschin mram1@2,10000 { 8912fb0eb4SAnatolij Gustschin compatible = "mtd-ram"; 9012fb0eb4SAnatolij Gustschin reg = <2 0x010000 0x10000>; 9112fb0eb4SAnatolij Gustschin bank-width = <2>; 9212fb0eb4SAnatolij Gustschin }; 9312fb0eb4SAnatolij Gustschin }; 9412fb0eb4SAnatolij Gustschin 9512fb0eb4SAnatolij Gustschin soc@80000000 { 9612fb0eb4SAnatolij Gustschin 9712fb0eb4SAnatolij Gustschin i2c@1700 { 9812fb0eb4SAnatolij Gustschin fsl,preserve-clocking; 9912fb0eb4SAnatolij Gustschin 10012fb0eb4SAnatolij Gustschin eeprom@50 { 101*835b706bSBartosz Golaszewski compatible = "atmel,24c01"; 10212fb0eb4SAnatolij Gustschin reg = <0x50>; 10312fb0eb4SAnatolij Gustschin }; 10412fb0eb4SAnatolij Gustschin 10512fb0eb4SAnatolij Gustschin rtc@68 { 1065edc2aaeSStefan Agner compatible = "st,m41t00"; 10712fb0eb4SAnatolij Gustschin reg = <0x68>; 10812fb0eb4SAnatolij Gustschin }; 10912fb0eb4SAnatolij Gustschin }; 11012fb0eb4SAnatolij Gustschin 11173e31235SAnatolij Gustschin i2c@1720 { 11273e31235SAnatolij Gustschin status = "disabled"; 11373e31235SAnatolij Gustschin }; 11473e31235SAnatolij Gustschin 11512fb0eb4SAnatolij Gustschin i2c@1740 { 11612fb0eb4SAnatolij Gustschin fsl,preserve-clocking; 11712fb0eb4SAnatolij Gustschin }; 11812fb0eb4SAnatolij Gustschin 11973e31235SAnatolij Gustschin ethernet@2800 { 12073e31235SAnatolij Gustschin phy-handle = <&phy0>; 12112fb0eb4SAnatolij Gustschin }; 12212fb0eb4SAnatolij Gustschin 12312fb0eb4SAnatolij Gustschin mdio@2800 { 12473e31235SAnatolij Gustschin phy0: ethernet-phy@1f { 12512fb0eb4SAnatolij Gustschin compatible = "smsc,lan8700"; 12612fb0eb4SAnatolij Gustschin reg = <0x1f>; 12712fb0eb4SAnatolij Gustschin }; 12812fb0eb4SAnatolij Gustschin }; 12912fb0eb4SAnatolij Gustschin 13073e31235SAnatolij Gustschin /* USB1 using external ULPI PHY */ 13112fb0eb4SAnatolij Gustschin usb@3000 { 13212fb0eb4SAnatolij Gustschin dr_mode = "host"; 13312fb0eb4SAnatolij Gustschin }; 13412fb0eb4SAnatolij Gustschin 13573e31235SAnatolij Gustschin /* USB0 using internal UTMI PHY */ 13612fb0eb4SAnatolij Gustschin usb@4000 { 13712fb0eb4SAnatolij Gustschin fsl,invert-pwr-fault; 13812fb0eb4SAnatolij Gustschin }; 13912fb0eb4SAnatolij Gustschin 14073e31235SAnatolij Gustschin psc@11000 { 14112fb0eb4SAnatolij Gustschin compatible = "fsl,mpc5121-psc-uart", "fsl,mpc5121-psc"; 14212fb0eb4SAnatolij Gustschin }; 14312fb0eb4SAnatolij Gustschin 14473e31235SAnatolij Gustschin psc@11100 { 14512fb0eb4SAnatolij Gustschin compatible = "fsl,mpc5121-psc-uart", "fsl,mpc5121-psc"; 14612fb0eb4SAnatolij Gustschin }; 14712fb0eb4SAnatolij Gustschin 14873e31235SAnatolij Gustschin psc@11200 { 14912fb0eb4SAnatolij Gustschin compatible = "fsl,mpc5121-psc-uart", "fsl,mpc5121-psc"; 15012fb0eb4SAnatolij Gustschin }; 15112fb0eb4SAnatolij Gustschin 15273e31235SAnatolij Gustschin psc@11300 { 15312fb0eb4SAnatolij Gustschin compatible = "fsl,mpc5121-psc-uart", "fsl,mpc5121-psc"; 15412fb0eb4SAnatolij Gustschin }; 15512fb0eb4SAnatolij Gustschin 15673e31235SAnatolij Gustschin psc@11400 { 15712fb0eb4SAnatolij Gustschin compatible = "fsl,mpc5121-psc-uart", "fsl,mpc5121-psc"; 15812fb0eb4SAnatolij Gustschin }; 15912fb0eb4SAnatolij Gustschin 16073e31235SAnatolij Gustschin psc@11500 { 16173e31235SAnatolij Gustschin status = "disabled"; 16273e31235SAnatolij Gustschin }; 16373e31235SAnatolij Gustschin 16473e31235SAnatolij Gustschin psc@11600 { 16512fb0eb4SAnatolij Gustschin compatible = "fsl,mpc5121-psc-uart", "fsl,mpc5121-psc"; 16612fb0eb4SAnatolij Gustschin }; 16712fb0eb4SAnatolij Gustschin 16873e31235SAnatolij Gustschin psc@11700 { 16973e31235SAnatolij Gustschin status = "disabled"; 17073e31235SAnatolij Gustschin }; 17173e31235SAnatolij Gustschin 17273e31235SAnatolij Gustschin psc@11800 { 17312fb0eb4SAnatolij Gustschin compatible = "fsl,mpc5121-psc-uart", "fsl,mpc5121-psc"; 17412fb0eb4SAnatolij Gustschin }; 17512fb0eb4SAnatolij Gustschin 17673e31235SAnatolij Gustschin psc@11900 { 17712fb0eb4SAnatolij Gustschin compatible = "fsl,mpc5121-psc-spi", "fsl,mpc5121-psc"; 17812fb0eb4SAnatolij Gustschin #address-cells = <1>; 17912fb0eb4SAnatolij Gustschin #size-cells = <0>; 18012fb0eb4SAnatolij Gustschin 18173e31235SAnatolij Gustschin /* ADS7845 touch screen controller */ 18212fb0eb4SAnatolij Gustschin ts@0 { 18312fb0eb4SAnatolij Gustschin compatible = "ti,ads7846"; 18412fb0eb4SAnatolij Gustschin reg = <0x0>; 18512fb0eb4SAnatolij Gustschin spi-max-frequency = <3000000>; 18673e31235SAnatolij Gustschin /* pen irq is GPIO25 */ 18712fb0eb4SAnatolij Gustschin interrupts = <78 0x8>; 18812fb0eb4SAnatolij Gustschin }; 18912fb0eb4SAnatolij Gustschin }; 19012fb0eb4SAnatolij Gustschin 19173e31235SAnatolij Gustschin psc@11a00 { 19273e31235SAnatolij Gustschin status = "disabled"; 19373e31235SAnatolij Gustschin }; 19473e31235SAnatolij Gustschin 19573e31235SAnatolij Gustschin psc@11b00 { 19673e31235SAnatolij Gustschin compatible = "fsl,mpc5121-psc-uart", "fsl,mpc5121-psc"; 19712fb0eb4SAnatolij Gustschin }; 19812fb0eb4SAnatolij Gustschin }; 19912fb0eb4SAnatolij Gustschin}; 200