0001 // SPDX-License-Identifier: GPL-2.0-or-later
0002 /*
0003 * Device Tree Source for IFM PDM360NG.
0004 *
0005 * Copyright 2009 - 2010 DENX Software Engineering.
0006 * Anatolij Gustschin <agust@denx.de>
0007 *
0008 * Based on MPC5121E ADS dts.
0009 * Copyright 2008 Freescale Semiconductor Inc.
0010 */
0011
0012 #include "mpc5121.dtsi"
0013
0014 / {
0015 model = "pdm360ng";
0016 compatible = "ifm,pdm360ng", "fsl,mpc5121";
0017 #address-cells = <1>;
0018 #size-cells = <1>;
0019 interrupt-parent = <&ipic>;
0020
0021 memory {
0022 device_type = "memory";
0023 reg = <0x00000000 0x20000000>; // 512MB at 0
0024 };
0025
0026 nfc@40000000 {
0027 bank-width = <0x1>;
0028 chips = <0x1>;
0029
0030 partition@0 {
0031 label = "nand0";
0032 reg = <0x0 0x40000000>;
0033 };
0034 };
0035
0036 localbus@80000020 {
0037 ranges = <0x0 0x0 0xf0000000 0x10000000 /* Flash */
0038 0x2 0x0 0x50040000 0x00020000>; /* CS2: MRAM */
0039
0040 flash@0,0 {
0041 compatible = "amd,s29gl01gp", "cfi-flash";
0042 reg = <0 0x00000000 0x08000000
0043 0 0x08000000 0x08000000>;
0044 #address-cells = <1>;
0045 #size-cells = <1>;
0046 bank-width = <4>;
0047 device-width = <2>;
0048
0049 partition@0 {
0050 label = "u-boot";
0051 reg = <0x00000000 0x00080000>;
0052 read-only;
0053 };
0054 partition@80000 {
0055 label = "environment";
0056 reg = <0x00080000 0x00080000>;
0057 read-only;
0058 };
0059 partition@100000 {
0060 label = "splash-image";
0061 reg = <0x00100000 0x00080000>;
0062 read-only;
0063 };
0064 partition@180000 {
0065 label = "device-tree";
0066 reg = <0x00180000 0x00040000>;
0067 };
0068 partition@1c0000 {
0069 label = "kernel";
0070 reg = <0x001c0000 0x00500000>;
0071 };
0072 partition@6c0000 {
0073 label = "filesystem";
0074 reg = <0x006c0000 0x07940000>;
0075 };
0076 };
0077
0078 mram0@2,0 {
0079 compatible = "mtd-ram";
0080 reg = <2 0x00000 0x10000>;
0081 bank-width = <2>;
0082 };
0083
0084 mram1@2,10000 {
0085 compatible = "mtd-ram";
0086 reg = <2 0x010000 0x10000>;
0087 bank-width = <2>;
0088 };
0089 };
0090
0091 soc@80000000 {
0092
0093 i2c@1700 {
0094 fsl,preserve-clocking;
0095
0096 eeprom@50 {
0097 compatible = "atmel,24c01";
0098 reg = <0x50>;
0099 };
0100
0101 rtc@68 {
0102 compatible = "st,m41t00";
0103 reg = <0x68>;
0104 };
0105 };
0106
0107 i2c@1720 {
0108 status = "disabled";
0109 };
0110
0111 i2c@1740 {
0112 fsl,preserve-clocking;
0113 };
0114
0115 ethernet@2800 {
0116 phy-handle = <&phy0>;
0117 };
0118
0119 mdio@2800 {
0120 phy0: ethernet-phy@1f {
0121 compatible = "smsc,lan8700";
0122 reg = <0x1f>;
0123 };
0124 };
0125
0126 /* USB1 using external ULPI PHY */
0127 usb@3000 {
0128 dr_mode = "host";
0129 };
0130
0131 /* USB0 using internal UTMI PHY */
0132 usb@4000 {
0133 fsl,invert-pwr-fault;
0134 };
0135
0136 psc@11000 {
0137 compatible = "fsl,mpc5121-psc-uart", "fsl,mpc5121-psc";
0138 };
0139
0140 psc@11100 {
0141 compatible = "fsl,mpc5121-psc-uart", "fsl,mpc5121-psc";
0142 };
0143
0144 psc@11200 {
0145 compatible = "fsl,mpc5121-psc-uart", "fsl,mpc5121-psc";
0146 };
0147
0148 psc@11300 {
0149 compatible = "fsl,mpc5121-psc-uart", "fsl,mpc5121-psc";
0150 };
0151
0152 psc@11400 {
0153 compatible = "fsl,mpc5121-psc-uart", "fsl,mpc5121-psc";
0154 };
0155
0156 psc@11500 {
0157 status = "disabled";
0158 };
0159
0160 psc@11600 {
0161 compatible = "fsl,mpc5121-psc-uart", "fsl,mpc5121-psc";
0162 };
0163
0164 psc@11700 {
0165 status = "disabled";
0166 };
0167
0168 psc@11800 {
0169 compatible = "fsl,mpc5121-psc-uart", "fsl,mpc5121-psc";
0170 };
0171
0172 psc@11900 {
0173 compatible = "fsl,mpc5121-psc-spi", "fsl,mpc5121-psc";
0174 #address-cells = <1>;
0175 #size-cells = <0>;
0176
0177 /* ADS7845 touch screen controller */
0178 ts@0 {
0179 compatible = "ti,ads7846";
0180 reg = <0x0>;
0181 spi-max-frequency = <3000000>;
0182 /* pen irq is GPIO25 */
0183 interrupts = <78 0x8>;
0184 };
0185 };
0186
0187 psc@11a00 {
0188 status = "disabled";
0189 };
0190
0191 psc@11b00 {
0192 compatible = "fsl,mpc5121-psc-uart", "fsl,mpc5121-psc";
0193 };
0194 };
0195 };