1*2874c5fdSThomas Gleixner// SPDX-License-Identifier: GPL-2.0-or-later 212fb0eb4SAnatolij Gustschin/* 312fb0eb4SAnatolij Gustschin * Device Tree Source for IFM PDM360NG. 412fb0eb4SAnatolij Gustschin * 512fb0eb4SAnatolij Gustschin * Copyright 2009 - 2010 DENX Software Engineering. 612fb0eb4SAnatolij Gustschin * Anatolij Gustschin <agust@denx.de> 712fb0eb4SAnatolij Gustschin * 812fb0eb4SAnatolij Gustschin * Based on MPC5121E ADS dts. 912fb0eb4SAnatolij Gustschin * Copyright 2008 Freescale Semiconductor Inc. 1012fb0eb4SAnatolij Gustschin */ 1112fb0eb4SAnatolij Gustschin 125405c92bSMasahiro Yamada#include "mpc5121.dtsi" 1312fb0eb4SAnatolij Gustschin 1412fb0eb4SAnatolij Gustschin/ { 1512fb0eb4SAnatolij Gustschin model = "pdm360ng"; 16a9b6aae4SMatteo Facchinetti compatible = "ifm,pdm360ng", "fsl,mpc5121"; 1712fb0eb4SAnatolij Gustschin #address-cells = <1>; 1812fb0eb4SAnatolij Gustschin #size-cells = <1>; 1912fb0eb4SAnatolij Gustschin interrupt-parent = <&ipic>; 2012fb0eb4SAnatolij Gustschin 2112fb0eb4SAnatolij Gustschin memory { 2212fb0eb4SAnatolij Gustschin device_type = "memory"; 2312fb0eb4SAnatolij Gustschin reg = <0x00000000 0x20000000>; // 512MB at 0 2412fb0eb4SAnatolij Gustschin }; 2512fb0eb4SAnatolij Gustschin 2612fb0eb4SAnatolij Gustschin nfc@40000000 { 2712fb0eb4SAnatolij Gustschin bank-width = <0x1>; 2812fb0eb4SAnatolij Gustschin chips = <0x1>; 2912fb0eb4SAnatolij Gustschin 3012fb0eb4SAnatolij Gustschin partition@0 { 3112fb0eb4SAnatolij Gustschin label = "nand0"; 3212fb0eb4SAnatolij Gustschin reg = <0x0 0x40000000>; 3312fb0eb4SAnatolij Gustschin }; 3412fb0eb4SAnatolij Gustschin }; 3512fb0eb4SAnatolij Gustschin 3612fb0eb4SAnatolij Gustschin localbus@80000020 { 3712fb0eb4SAnatolij Gustschin ranges = <0x0 0x0 0xf0000000 0x10000000 /* Flash */ 3812fb0eb4SAnatolij Gustschin 0x2 0x0 0x50040000 0x00020000>; /* CS2: MRAM */ 3912fb0eb4SAnatolij Gustschin 4012fb0eb4SAnatolij Gustschin flash@0,0 { 4112fb0eb4SAnatolij Gustschin compatible = "amd,s29gl01gp", "cfi-flash"; 4212fb0eb4SAnatolij Gustschin reg = <0 0x00000000 0x08000000 4312fb0eb4SAnatolij Gustschin 0 0x08000000 0x08000000>; 4412fb0eb4SAnatolij Gustschin #address-cells = <1>; 4512fb0eb4SAnatolij Gustschin #size-cells = <1>; 4612fb0eb4SAnatolij Gustschin bank-width = <4>; 4712fb0eb4SAnatolij Gustschin device-width = <2>; 4812fb0eb4SAnatolij Gustschin 4912fb0eb4SAnatolij Gustschin partition@0 { 5012fb0eb4SAnatolij Gustschin label = "u-boot"; 5112fb0eb4SAnatolij Gustschin reg = <0x00000000 0x00080000>; 5212fb0eb4SAnatolij Gustschin read-only; 5312fb0eb4SAnatolij Gustschin }; 5412fb0eb4SAnatolij Gustschin partition@80000 { 5512fb0eb4SAnatolij Gustschin label = "environment"; 5612fb0eb4SAnatolij Gustschin reg = <0x00080000 0x00080000>; 5712fb0eb4SAnatolij Gustschin read-only; 5812fb0eb4SAnatolij Gustschin }; 5912fb0eb4SAnatolij Gustschin partition@100000 { 6012fb0eb4SAnatolij Gustschin label = "splash-image"; 6112fb0eb4SAnatolij Gustschin reg = <0x00100000 0x00080000>; 6212fb0eb4SAnatolij Gustschin read-only; 6312fb0eb4SAnatolij Gustschin }; 6412fb0eb4SAnatolij Gustschin partition@180000 { 6512fb0eb4SAnatolij Gustschin label = "device-tree"; 6612fb0eb4SAnatolij Gustschin reg = <0x00180000 0x00040000>; 6712fb0eb4SAnatolij Gustschin }; 6812fb0eb4SAnatolij Gustschin partition@1c0000 { 6912fb0eb4SAnatolij Gustschin label = "kernel"; 7012fb0eb4SAnatolij Gustschin reg = <0x001c0000 0x00500000>; 7112fb0eb4SAnatolij Gustschin }; 7212fb0eb4SAnatolij Gustschin partition@6c0000 { 7312fb0eb4SAnatolij Gustschin label = "filesystem"; 7412fb0eb4SAnatolij Gustschin reg = <0x006c0000 0x07940000>; 7512fb0eb4SAnatolij Gustschin }; 7612fb0eb4SAnatolij Gustschin }; 7712fb0eb4SAnatolij Gustschin 7812fb0eb4SAnatolij Gustschin mram0@2,0 { 7912fb0eb4SAnatolij Gustschin compatible = "mtd-ram"; 8012fb0eb4SAnatolij Gustschin reg = <2 0x00000 0x10000>; 8112fb0eb4SAnatolij Gustschin bank-width = <2>; 8212fb0eb4SAnatolij Gustschin }; 8312fb0eb4SAnatolij Gustschin 8412fb0eb4SAnatolij Gustschin mram1@2,10000 { 8512fb0eb4SAnatolij Gustschin compatible = "mtd-ram"; 8612fb0eb4SAnatolij Gustschin reg = <2 0x010000 0x10000>; 8712fb0eb4SAnatolij Gustschin bank-width = <2>; 8812fb0eb4SAnatolij Gustschin }; 8912fb0eb4SAnatolij Gustschin }; 9012fb0eb4SAnatolij Gustschin 9112fb0eb4SAnatolij Gustschin soc@80000000 { 9212fb0eb4SAnatolij Gustschin 9312fb0eb4SAnatolij Gustschin i2c@1700 { 9412fb0eb4SAnatolij Gustschin fsl,preserve-clocking; 9512fb0eb4SAnatolij Gustschin 9612fb0eb4SAnatolij Gustschin eeprom@50 { 97835b706bSBartosz Golaszewski compatible = "atmel,24c01"; 9812fb0eb4SAnatolij Gustschin reg = <0x50>; 9912fb0eb4SAnatolij Gustschin }; 10012fb0eb4SAnatolij Gustschin 10112fb0eb4SAnatolij Gustschin rtc@68 { 1025edc2aaeSStefan Agner compatible = "st,m41t00"; 10312fb0eb4SAnatolij Gustschin reg = <0x68>; 10412fb0eb4SAnatolij Gustschin }; 10512fb0eb4SAnatolij Gustschin }; 10612fb0eb4SAnatolij Gustschin 10773e31235SAnatolij Gustschin i2c@1720 { 10873e31235SAnatolij Gustschin status = "disabled"; 10973e31235SAnatolij Gustschin }; 11073e31235SAnatolij Gustschin 11112fb0eb4SAnatolij Gustschin i2c@1740 { 11212fb0eb4SAnatolij Gustschin fsl,preserve-clocking; 11312fb0eb4SAnatolij Gustschin }; 11412fb0eb4SAnatolij Gustschin 11573e31235SAnatolij Gustschin ethernet@2800 { 11673e31235SAnatolij Gustschin phy-handle = <&phy0>; 11712fb0eb4SAnatolij Gustschin }; 11812fb0eb4SAnatolij Gustschin 11912fb0eb4SAnatolij Gustschin mdio@2800 { 12073e31235SAnatolij Gustschin phy0: ethernet-phy@1f { 12112fb0eb4SAnatolij Gustschin compatible = "smsc,lan8700"; 12212fb0eb4SAnatolij Gustschin reg = <0x1f>; 12312fb0eb4SAnatolij Gustschin }; 12412fb0eb4SAnatolij Gustschin }; 12512fb0eb4SAnatolij Gustschin 12673e31235SAnatolij Gustschin /* USB1 using external ULPI PHY */ 12712fb0eb4SAnatolij Gustschin usb@3000 { 12812fb0eb4SAnatolij Gustschin dr_mode = "host"; 12912fb0eb4SAnatolij Gustschin }; 13012fb0eb4SAnatolij Gustschin 13173e31235SAnatolij Gustschin /* USB0 using internal UTMI PHY */ 13212fb0eb4SAnatolij Gustschin usb@4000 { 13312fb0eb4SAnatolij Gustschin fsl,invert-pwr-fault; 13412fb0eb4SAnatolij Gustschin }; 13512fb0eb4SAnatolij Gustschin 13673e31235SAnatolij Gustschin psc@11000 { 13712fb0eb4SAnatolij Gustschin compatible = "fsl,mpc5121-psc-uart", "fsl,mpc5121-psc"; 13812fb0eb4SAnatolij Gustschin }; 13912fb0eb4SAnatolij Gustschin 14073e31235SAnatolij Gustschin psc@11100 { 14112fb0eb4SAnatolij Gustschin compatible = "fsl,mpc5121-psc-uart", "fsl,mpc5121-psc"; 14212fb0eb4SAnatolij Gustschin }; 14312fb0eb4SAnatolij Gustschin 14473e31235SAnatolij Gustschin psc@11200 { 14512fb0eb4SAnatolij Gustschin compatible = "fsl,mpc5121-psc-uart", "fsl,mpc5121-psc"; 14612fb0eb4SAnatolij Gustschin }; 14712fb0eb4SAnatolij Gustschin 14873e31235SAnatolij Gustschin psc@11300 { 14912fb0eb4SAnatolij Gustschin compatible = "fsl,mpc5121-psc-uart", "fsl,mpc5121-psc"; 15012fb0eb4SAnatolij Gustschin }; 15112fb0eb4SAnatolij Gustschin 15273e31235SAnatolij Gustschin psc@11400 { 15312fb0eb4SAnatolij Gustschin compatible = "fsl,mpc5121-psc-uart", "fsl,mpc5121-psc"; 15412fb0eb4SAnatolij Gustschin }; 15512fb0eb4SAnatolij Gustschin 15673e31235SAnatolij Gustschin psc@11500 { 15773e31235SAnatolij Gustschin status = "disabled"; 15873e31235SAnatolij Gustschin }; 15973e31235SAnatolij Gustschin 16073e31235SAnatolij Gustschin psc@11600 { 16112fb0eb4SAnatolij Gustschin compatible = "fsl,mpc5121-psc-uart", "fsl,mpc5121-psc"; 16212fb0eb4SAnatolij Gustschin }; 16312fb0eb4SAnatolij Gustschin 16473e31235SAnatolij Gustschin psc@11700 { 16573e31235SAnatolij Gustschin status = "disabled"; 16673e31235SAnatolij Gustschin }; 16773e31235SAnatolij Gustschin 16873e31235SAnatolij Gustschin psc@11800 { 16912fb0eb4SAnatolij Gustschin compatible = "fsl,mpc5121-psc-uart", "fsl,mpc5121-psc"; 17012fb0eb4SAnatolij Gustschin }; 17112fb0eb4SAnatolij Gustschin 17273e31235SAnatolij Gustschin psc@11900 { 17312fb0eb4SAnatolij Gustschin compatible = "fsl,mpc5121-psc-spi", "fsl,mpc5121-psc"; 17412fb0eb4SAnatolij Gustschin #address-cells = <1>; 17512fb0eb4SAnatolij Gustschin #size-cells = <0>; 17612fb0eb4SAnatolij Gustschin 17773e31235SAnatolij Gustschin /* ADS7845 touch screen controller */ 17812fb0eb4SAnatolij Gustschin ts@0 { 17912fb0eb4SAnatolij Gustschin compatible = "ti,ads7846"; 18012fb0eb4SAnatolij Gustschin reg = <0x0>; 18112fb0eb4SAnatolij Gustschin spi-max-frequency = <3000000>; 18273e31235SAnatolij Gustschin /* pen irq is GPIO25 */ 18312fb0eb4SAnatolij Gustschin interrupts = <78 0x8>; 18412fb0eb4SAnatolij Gustschin }; 18512fb0eb4SAnatolij Gustschin }; 18612fb0eb4SAnatolij Gustschin 18773e31235SAnatolij Gustschin psc@11a00 { 18873e31235SAnatolij Gustschin status = "disabled"; 18973e31235SAnatolij Gustschin }; 19073e31235SAnatolij Gustschin 19173e31235SAnatolij Gustschin psc@11b00 { 19273e31235SAnatolij Gustschin compatible = "fsl,mpc5121-psc-uart", "fsl,mpc5121-psc"; 19312fb0eb4SAnatolij Gustschin }; 19412fb0eb4SAnatolij Gustschin }; 19512fb0eb4SAnatolij Gustschin}; 196