Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0-or-later
0002 /*
0003  * MPC8349E-mITX Device Tree Source
0004  *
0005  * Copyright 2006 Freescale Semiconductor Inc.
0006  */
0007 
0008 /dts-v1/;
0009 
0010 / {
0011         model = "MPC8349EMITX";
0012         compatible = "MPC8349EMITX", "MPC834xMITX", "MPC83xxMITX";
0013         #address-cells = <1>;
0014         #size-cells = <1>;
0015 
0016         aliases {
0017                 ethernet0 = &enet0;
0018                 ethernet1 = &enet1;
0019                 serial0 = &serial0;
0020                 serial1 = &serial1;
0021                 pci0 = &pci0;
0022                 pci1 = &pci1;
0023         };
0024 
0025         cpus {
0026                 #address-cells = <1>;
0027                 #size-cells = <0>;
0028 
0029                 PowerPC,8349@0 {
0030                         device_type = "cpu";
0031                         reg = <0x0>;
0032                         d-cache-line-size = <32>;
0033                         i-cache-line-size = <32>;
0034                         d-cache-size = <32768>;
0035                         i-cache-size = <32768>;
0036                         timebase-frequency = <0>;       // from bootloader
0037                         bus-frequency = <0>;            // from bootloader
0038                         clock-frequency = <0>;          // from bootloader
0039                 };
0040         };
0041 
0042         memory {
0043                 device_type = "memory";
0044                 reg = <0x00000000 0x10000000>;
0045         };
0046 
0047         soc8349@e0000000 {
0048                 #address-cells = <1>;
0049                 #size-cells = <1>;
0050                 device_type = "soc";
0051                 compatible = "simple-bus";
0052                 ranges = <0x0 0xe0000000 0x00100000>;
0053                 reg = <0xe0000000 0x00000200>;
0054                 bus-frequency = <0>;                    // from bootloader
0055 
0056                 wdt@200 {
0057                         device_type = "watchdog";
0058                         compatible = "mpc83xx_wdt";
0059                         reg = <0x200 0x100>;
0060                 };
0061 
0062                 gpio1: gpio-controller@c00 {
0063                         #gpio-cells = <2>;
0064                         compatible = "fsl,mpc8349-gpio";
0065                         reg = <0xc00 0x100>;
0066                         interrupts = <74 0x8>;
0067                         interrupt-parent = <&ipic>;
0068                         gpio-controller;
0069                 };
0070 
0071                 gpio2: gpio-controller@d00 {
0072                         #gpio-cells = <2>;
0073                         compatible = "fsl,mpc8349-gpio";
0074                         reg = <0xd00 0x100>;
0075                         interrupts = <75 0x8>;
0076                         interrupt-parent = <&ipic>;
0077                         gpio-controller;
0078                 };
0079 
0080                 i2c@3000 {
0081                         #address-cells = <1>;
0082                         #size-cells = <0>;
0083                         cell-index = <0>;
0084                         compatible = "fsl-i2c";
0085                         reg = <0x3000 0x100>;
0086                         interrupts = <14 0x8>;
0087                         interrupt-parent = <&ipic>;
0088                         dfsrr;
0089 
0090                         eeprom: at24@50 {
0091                                 compatible = "st,24c256", "atmel,24c256";
0092                                 reg = <0x50>;
0093                         };
0094 
0095                 };
0096 
0097                 i2c@3100 {
0098                         #address-cells = <1>;
0099                         #size-cells = <0>;
0100                         cell-index = <1>;
0101                         compatible = "fsl-i2c";
0102                         reg = <0x3100 0x100>;
0103                         interrupts = <15 0x8>;
0104                         interrupt-parent = <&ipic>;
0105                         dfsrr;
0106 
0107                         rtc@68 {
0108                                 compatible = "dallas,ds1339";
0109                                 reg = <0x68>;
0110                                 interrupts = <18 0x8>;
0111                                 interrupt-parent = <&ipic>;
0112                         };
0113 
0114                         pcf1: iexp@38 {
0115                                 #gpio-cells = <2>;
0116                                 compatible = "ti,pcf8574a";
0117                                 reg = <0x38>;
0118                                 gpio-controller;
0119                         };
0120 
0121                         pcf2: iexp@39 {
0122                                 #gpio-cells = <2>;
0123                                 compatible = "ti,pcf8574a";
0124                                 reg = <0x39>;
0125                                 gpio-controller;
0126                         };
0127 
0128                         spd: at24@51 {
0129                                 compatible = "atmel,spd";
0130                                 reg = <0x51>;
0131                         };
0132 
0133                         mcu_pio: mcu@a {
0134                                 #gpio-cells = <2>;
0135                                 compatible = "fsl,mc9s08qg8-mpc8349emitx",
0136                                              "fsl,mcu-mpc8349emitx";
0137                                 reg = <0x0a>;
0138                                 gpio-controller;
0139                         };
0140                 };
0141 
0142                 spi@7000 {
0143                         cell-index = <0>;
0144                         compatible = "fsl,spi";
0145                         reg = <0x7000 0x1000>;
0146                         interrupts = <16 0x8>;
0147                         interrupt-parent = <&ipic>;
0148                         mode = "cpu";
0149                 };
0150 
0151                 dma@82a8 {
0152                         #address-cells = <1>;
0153                         #size-cells = <1>;
0154                         compatible = "fsl,mpc8349-dma", "fsl,elo-dma";
0155                         reg = <0x82a8 4>;
0156                         ranges = <0 0x8100 0x1a8>;
0157                         interrupt-parent = <&ipic>;
0158                         interrupts = <71 8>;
0159                         cell-index = <0>;
0160                         dma-channel@0 {
0161                                 compatible = "fsl,mpc8349-dma-channel", "fsl,elo-dma-channel";
0162                                 reg = <0 0x80>;
0163                                 cell-index = <0>;
0164                                 interrupt-parent = <&ipic>;
0165                                 interrupts = <71 8>;
0166                         };
0167                         dma-channel@80 {
0168                                 compatible = "fsl,mpc8349-dma-channel", "fsl,elo-dma-channel";
0169                                 reg = <0x80 0x80>;
0170                                 cell-index = <1>;
0171                                 interrupt-parent = <&ipic>;
0172                                 interrupts = <71 8>;
0173                         };
0174                         dma-channel@100 {
0175                                 compatible = "fsl,mpc8349-dma-channel", "fsl,elo-dma-channel";
0176                                 reg = <0x100 0x80>;
0177                                 cell-index = <2>;
0178                                 interrupt-parent = <&ipic>;
0179                                 interrupts = <71 8>;
0180                         };
0181                         dma-channel@180 {
0182                                 compatible = "fsl,mpc8349-dma-channel", "fsl,elo-dma-channel";
0183                                 reg = <0x180 0x28>;
0184                                 cell-index = <3>;
0185                                 interrupt-parent = <&ipic>;
0186                                 interrupts = <71 8>;
0187                         };
0188                 };
0189 
0190                 usb@22000 {
0191                         compatible = "fsl-usb2-mph";
0192                         reg = <0x22000 0x1000>;
0193                         #address-cells = <1>;
0194                         #size-cells = <0>;
0195                         interrupt-parent = <&ipic>;
0196                         interrupts = <39 0x8>;
0197                         phy_type = "ulpi";
0198                         port0;
0199                 };
0200 
0201                 usb@23000 {
0202                         compatible = "fsl-usb2-dr";
0203                         reg = <0x23000 0x1000>;
0204                         #address-cells = <1>;
0205                         #size-cells = <0>;
0206                         interrupt-parent = <&ipic>;
0207                         interrupts = <38 0x8>;
0208                         dr_mode = "peripheral";
0209                         phy_type = "ulpi";
0210                 };
0211 
0212                 enet0: ethernet@24000 {
0213                         #address-cells = <1>;
0214                         #size-cells = <1>;
0215                         cell-index = <0>;
0216                         device_type = "network";
0217                         model = "TSEC";
0218                         compatible = "gianfar";
0219                         reg = <0x24000 0x1000>;
0220                         ranges = <0x0 0x24000 0x1000>;
0221                         local-mac-address = [ 00 00 00 00 00 00 ];
0222                         interrupts = <32 0x8 33 0x8 34 0x8>;
0223                         interrupt-parent = <&ipic>;
0224                         tbi-handle = <&tbi0>;
0225                         phy-handle = <&phy1c>;
0226                         linux,network-index = <0>;
0227 
0228                         mdio@520 {
0229                                 #address-cells = <1>;
0230                                 #size-cells = <0>;
0231                                 compatible = "fsl,gianfar-mdio";
0232                                 reg = <0x520 0x20>;
0233 
0234                                 /* Vitesse 8201 */
0235                                 phy1c: ethernet-phy@1c {
0236                                         interrupt-parent = <&ipic>;
0237                                         interrupts = <18 0x8>;
0238                                         reg = <0x1c>;
0239                                 };
0240 
0241                                 tbi0: tbi-phy@11 {
0242                                         reg = <0x11>;
0243                                         device_type = "tbi-phy";
0244                                 };
0245                         };
0246                 };
0247 
0248                 enet1: ethernet@25000 {
0249                         #address-cells = <1>;
0250                         #size-cells = <1>;
0251                         cell-index = <1>;
0252                         device_type = "network";
0253                         model = "TSEC";
0254                         compatible = "gianfar";
0255                         reg = <0x25000 0x1000>;
0256                         ranges = <0x0 0x25000 0x1000>;
0257                         local-mac-address = [ 00 00 00 00 00 00 ];
0258                         interrupts = <35 0x8 36 0x8 37 0x8>;
0259                         interrupt-parent = <&ipic>;
0260                         /* Vitesse 7385 isn't on the MDIO bus */
0261                         fixed-link = <1 1 1000 0 0>;
0262                         linux,network-index = <1>;
0263                         tbi-handle = <&tbi1>;
0264 
0265                         mdio@520 {
0266                                 #address-cells = <1>;
0267                                 #size-cells = <0>;
0268                                 compatible = "fsl,gianfar-tbi";
0269                                 reg = <0x520 0x20>;
0270 
0271                                 tbi1: tbi-phy@11 {
0272                                         reg = <0x11>;
0273                                         device_type = "tbi-phy";
0274                                 };
0275                         };
0276                 };
0277 
0278                 serial0: serial@4500 {
0279                         cell-index = <0>;
0280                         device_type = "serial";
0281                         compatible = "fsl,ns16550", "ns16550";
0282                         reg = <0x4500 0x100>;
0283                         clock-frequency = <0>;          // from bootloader
0284                         interrupts = <9 0x8>;
0285                         interrupt-parent = <&ipic>;
0286                 };
0287 
0288                 serial1: serial@4600 {
0289                         cell-index = <1>;
0290                         device_type = "serial";
0291                         compatible = "fsl,ns16550", "ns16550";
0292                         reg = <0x4600 0x100>;
0293                         clock-frequency = <0>;          // from bootloader
0294                         interrupts = <10 0x8>;
0295                         interrupt-parent = <&ipic>;
0296                 };
0297 
0298                 crypto@30000 {
0299                         compatible = "fsl,sec2.0";
0300                         reg = <0x30000 0x10000>;
0301                         interrupts = <11 0x8>;
0302                         interrupt-parent = <&ipic>;
0303                         fsl,num-channels = <4>;
0304                         fsl,channel-fifo-len = <24>;
0305                         fsl,exec-units-mask = <0x7e>;
0306                         fsl,descriptor-types-mask = <0x01010ebf>;
0307                 };
0308 
0309                 ipic: pic@700 {
0310                         interrupt-controller;
0311                         #address-cells = <0>;
0312                         #interrupt-cells = <2>;
0313                         reg = <0x700 0x100>;
0314                         device_type = "ipic";
0315                 };
0316 
0317                 gpio-leds {
0318                         compatible = "gpio-leds";
0319 
0320                         green {
0321                                 label = "Green";
0322                                 gpios = <&pcf1 0 1>;
0323                                 linux,default-trigger = "heartbeat";
0324                         };
0325 
0326                         yellow {
0327                                 label = "Yellow";
0328                                 gpios = <&pcf1 1 1>;
0329                                 /* linux,default-trigger = "heartbeat"; */
0330                                 default-state = "on";
0331                         };
0332                 };
0333 
0334         };
0335 
0336         pci0: pci@e0008500 {
0337                 interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
0338                 interrupt-map = <
0339                                 /* IDSEL 0x10 - SATA */
0340                                 0x8000 0x0 0x0 0x1 &ipic 22 0x8 /* SATA_INTA */
0341                                 >;
0342                 interrupt-parent = <&ipic>;
0343                 interrupts = <66 0x8>;
0344                 bus-range = <0x0 0x0>;
0345                 ranges = <0x42000000 0x0 0x80000000 0x80000000 0x0 0x10000000
0346                           0x02000000 0x0 0x90000000 0x90000000 0x0 0x10000000
0347                           0x01000000 0x0 0x00000000 0xe2000000 0x0 0x01000000>;
0348                 clock-frequency = <66666666>;
0349                 #interrupt-cells = <1>;
0350                 #size-cells = <2>;
0351                 #address-cells = <3>;
0352                 reg = <0xe0008500 0x100         /* internal registers */
0353                        0xe0008300 0x8>;         /* config space access registers */
0354                 compatible = "fsl,mpc8349-pci";
0355                 device_type = "pci";
0356         };
0357 
0358         pci1: pci@e0008600 {
0359                 interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
0360                 interrupt-map = <
0361                                 /* IDSEL 0x0E - MiniPCI Slot */
0362                                 0x7000 0x0 0x0 0x1 &ipic 21 0x8 /* PCI_INTA */
0363 
0364                                 /* IDSEL 0x0F - PCI Slot */
0365                                 0x7800 0x0 0x0 0x1 &ipic 20 0x8 /* PCI_INTA */
0366                                 0x7800 0x0 0x0 0x2 &ipic 21 0x8 /* PCI_INTB */
0367                                 >;
0368                 interrupt-parent = <&ipic>;
0369                 interrupts = <67 0x8>;
0370                 bus-range = <0x0 0x0>;
0371                 ranges = <0x42000000 0x0 0xa0000000 0xa0000000 0x0 0x10000000
0372                           0x02000000 0x0 0xb0000000 0xb0000000 0x0 0x10000000
0373                           0x01000000 0x0 0x00000000 0xe3000000 0x0 0x01000000>;
0374                 clock-frequency = <66666666>;
0375                 #interrupt-cells = <1>;
0376                 #size-cells = <2>;
0377                 #address-cells = <3>;
0378                 reg = <0xe0008600 0x100         /* internal registers */
0379                        0xe0008380 0x8>;         /* config space access registers */
0380                 compatible = "fsl,mpc8349-pci";
0381                 device_type = "pci";
0382         };
0383 
0384         localbus@e0005000 {
0385                 #address-cells = <2>;
0386                 #size-cells = <1>;
0387                 compatible = "fsl,mpc8349e-localbus",
0388                              "fsl,pq2pro-localbus",
0389                              "simple-bus";
0390                 reg = <0xe0005000 0xd8>;
0391                 ranges = <0x0 0x0 0xfe000000 0x1000000  /* flash */
0392                           0x1 0x0 0xf8000000 0x20000    /* VSC 7385 */
0393                           0x2 0x0 0xf9000000 0x200000   /* exp slot */
0394                           0x3 0x0 0xf0000000 0x210>;    /* CF slot */
0395 
0396                 flash@0,0 {
0397                         compatible = "cfi-flash";
0398                         reg = <0x0      0x0 0x800000>;
0399                         bank-width = <2>;
0400                         device-width = <1>;
0401                 };
0402 
0403                 flash@0,800000 {
0404                         #address-cells = <1>;
0405                         #size-cells = <1>;
0406                         compatible = "cfi-flash";
0407                         reg = <0x0 0x800000 0x800000>;
0408                         bank-width = <2>;
0409                         device-width = <1>;
0410                 };
0411 
0412                 pata@3,0 {
0413                         compatible = "fsl,mpc8349emitx-pata", "ata-generic";
0414                         reg = <0x3 0x0 0x10 0x3 0x20c 0x4>;
0415                         reg-shift = <1>;
0416                         pio-mode = <6>;
0417                         interrupts = <23 0x8>;
0418                         interrupt-parent = <&ipic>;
0419                 };
0420         };
0421 };