1*c66ec88fSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0-or-later 2*c66ec88fSEmmanuel Vadot/* 3*c66ec88fSEmmanuel Vadot * base MPC5121 Device Tree Source 4*c66ec88fSEmmanuel Vadot * 5*c66ec88fSEmmanuel Vadot * Copyright 2007-2008 Freescale Semiconductor Inc. 6*c66ec88fSEmmanuel Vadot */ 7*c66ec88fSEmmanuel Vadot 8*c66ec88fSEmmanuel Vadot#include <dt-bindings/clock/mpc512x-clock.h> 9*c66ec88fSEmmanuel Vadot 10*c66ec88fSEmmanuel Vadot/dts-v1/; 11*c66ec88fSEmmanuel Vadot 12*c66ec88fSEmmanuel Vadot/ { 13*c66ec88fSEmmanuel Vadot model = "mpc5121"; 14*c66ec88fSEmmanuel Vadot compatible = "fsl,mpc5121"; 15*c66ec88fSEmmanuel Vadot #address-cells = <1>; 16*c66ec88fSEmmanuel Vadot #size-cells = <1>; 17*c66ec88fSEmmanuel Vadot interrupt-parent = <&ipic>; 18*c66ec88fSEmmanuel Vadot 19*c66ec88fSEmmanuel Vadot aliases { 20*c66ec88fSEmmanuel Vadot ethernet0 = ð0; 21*c66ec88fSEmmanuel Vadot pci = &pci; 22*c66ec88fSEmmanuel Vadot }; 23*c66ec88fSEmmanuel Vadot 24*c66ec88fSEmmanuel Vadot cpus { 25*c66ec88fSEmmanuel Vadot #address-cells = <1>; 26*c66ec88fSEmmanuel Vadot #size-cells = <0>; 27*c66ec88fSEmmanuel Vadot 28*c66ec88fSEmmanuel Vadot PowerPC,5121@0 { 29*c66ec88fSEmmanuel Vadot device_type = "cpu"; 30*c66ec88fSEmmanuel Vadot reg = <0>; 31*c66ec88fSEmmanuel Vadot d-cache-line-size = <0x20>; /* 32 bytes */ 32*c66ec88fSEmmanuel Vadot i-cache-line-size = <0x20>; /* 32 bytes */ 33*c66ec88fSEmmanuel Vadot d-cache-size = <0x8000>; /* L1, 32K */ 34*c66ec88fSEmmanuel Vadot i-cache-size = <0x8000>; /* L1, 32K */ 35*c66ec88fSEmmanuel Vadot timebase-frequency = <49500000>;/* 49.5 MHz (csb/4) */ 36*c66ec88fSEmmanuel Vadot bus-frequency = <198000000>; /* 198 MHz csb bus */ 37*c66ec88fSEmmanuel Vadot clock-frequency = <396000000>; /* 396 MHz ppc core */ 38*c66ec88fSEmmanuel Vadot }; 39*c66ec88fSEmmanuel Vadot }; 40*c66ec88fSEmmanuel Vadot 41*c66ec88fSEmmanuel Vadot memory { 42*c66ec88fSEmmanuel Vadot device_type = "memory"; 43*c66ec88fSEmmanuel Vadot reg = <0x00000000 0x10000000>; /* 256MB at 0 */ 44*c66ec88fSEmmanuel Vadot }; 45*c66ec88fSEmmanuel Vadot 46*c66ec88fSEmmanuel Vadot mbx@20000000 { 47*c66ec88fSEmmanuel Vadot compatible = "fsl,mpc5121-mbx"; 48*c66ec88fSEmmanuel Vadot reg = <0x20000000 0x4000>; 49*c66ec88fSEmmanuel Vadot interrupts = <66 0x8>; 50*c66ec88fSEmmanuel Vadot clocks = <&clks MPC512x_CLK_MBX_BUS>, 51*c66ec88fSEmmanuel Vadot <&clks MPC512x_CLK_MBX_3D>, 52*c66ec88fSEmmanuel Vadot <&clks MPC512x_CLK_MBX>; 53*c66ec88fSEmmanuel Vadot clock-names = "mbx-bus", "mbx-3d", "mbx"; 54*c66ec88fSEmmanuel Vadot }; 55*c66ec88fSEmmanuel Vadot 56*c66ec88fSEmmanuel Vadot sram@30000000 { 57*c66ec88fSEmmanuel Vadot compatible = "fsl,mpc5121-sram"; 58*c66ec88fSEmmanuel Vadot reg = <0x30000000 0x20000>; /* 128K at 0x30000000 */ 59*c66ec88fSEmmanuel Vadot }; 60*c66ec88fSEmmanuel Vadot 61*c66ec88fSEmmanuel Vadot nfc@40000000 { 62*c66ec88fSEmmanuel Vadot compatible = "fsl,mpc5121-nfc"; 63*c66ec88fSEmmanuel Vadot reg = <0x40000000 0x100000>; /* 1M at 0x40000000 */ 64*c66ec88fSEmmanuel Vadot interrupts = <6 8>; 65*c66ec88fSEmmanuel Vadot #address-cells = <1>; 66*c66ec88fSEmmanuel Vadot #size-cells = <1>; 67*c66ec88fSEmmanuel Vadot clocks = <&clks MPC512x_CLK_NFC>; 68*c66ec88fSEmmanuel Vadot clock-names = "ipg"; 69*c66ec88fSEmmanuel Vadot }; 70*c66ec88fSEmmanuel Vadot 71*c66ec88fSEmmanuel Vadot localbus@80000020 { 72*c66ec88fSEmmanuel Vadot compatible = "fsl,mpc5121-localbus"; 73*c66ec88fSEmmanuel Vadot #address-cells = <2>; 74*c66ec88fSEmmanuel Vadot #size-cells = <1>; 75*c66ec88fSEmmanuel Vadot reg = <0x80000020 0x40>; 76*c66ec88fSEmmanuel Vadot ranges = <0x0 0x0 0xfc000000 0x04000000>; 77*c66ec88fSEmmanuel Vadot }; 78*c66ec88fSEmmanuel Vadot 79*c66ec88fSEmmanuel Vadot clocks { 80*c66ec88fSEmmanuel Vadot #address-cells = <1>; 81*c66ec88fSEmmanuel Vadot #size-cells = <0>; 82*c66ec88fSEmmanuel Vadot 83*c66ec88fSEmmanuel Vadot osc: osc { 84*c66ec88fSEmmanuel Vadot compatible = "fixed-clock"; 85*c66ec88fSEmmanuel Vadot #clock-cells = <0>; 86*c66ec88fSEmmanuel Vadot clock-frequency = <33000000>; 87*c66ec88fSEmmanuel Vadot }; 88*c66ec88fSEmmanuel Vadot }; 89*c66ec88fSEmmanuel Vadot 90*c66ec88fSEmmanuel Vadot soc@80000000 { 91*c66ec88fSEmmanuel Vadot compatible = "fsl,mpc5121-immr"; 92*c66ec88fSEmmanuel Vadot #address-cells = <1>; 93*c66ec88fSEmmanuel Vadot #size-cells = <1>; 94*c66ec88fSEmmanuel Vadot ranges = <0x0 0x80000000 0x400000>; 95*c66ec88fSEmmanuel Vadot reg = <0x80000000 0x400000>; 96*c66ec88fSEmmanuel Vadot bus-frequency = <66000000>; /* 66 MHz ips bus */ 97*c66ec88fSEmmanuel Vadot 98*c66ec88fSEmmanuel Vadot 99*c66ec88fSEmmanuel Vadot /* 100*c66ec88fSEmmanuel Vadot * IPIC 101*c66ec88fSEmmanuel Vadot * interrupts cell = <intr #, sense> 102*c66ec88fSEmmanuel Vadot * sense values match linux IORESOURCE_IRQ_* defines: 103*c66ec88fSEmmanuel Vadot * sense == 8: Level, low assertion 104*c66ec88fSEmmanuel Vadot * sense == 2: Edge, high-to-low change 105*c66ec88fSEmmanuel Vadot */ 106*c66ec88fSEmmanuel Vadot ipic: interrupt-controller@c00 { 107*c66ec88fSEmmanuel Vadot compatible = "fsl,mpc5121-ipic", "fsl,ipic"; 108*c66ec88fSEmmanuel Vadot interrupt-controller; 109*c66ec88fSEmmanuel Vadot #address-cells = <0>; 110*c66ec88fSEmmanuel Vadot #interrupt-cells = <2>; 111*c66ec88fSEmmanuel Vadot reg = <0xc00 0x100>; 112*c66ec88fSEmmanuel Vadot }; 113*c66ec88fSEmmanuel Vadot 114*c66ec88fSEmmanuel Vadot /* Watchdog timer */ 115*c66ec88fSEmmanuel Vadot wdt@900 { 116*c66ec88fSEmmanuel Vadot compatible = "fsl,mpc5121-wdt"; 117*c66ec88fSEmmanuel Vadot reg = <0x900 0x100>; 118*c66ec88fSEmmanuel Vadot }; 119*c66ec88fSEmmanuel Vadot 120*c66ec88fSEmmanuel Vadot /* Real time clock */ 121*c66ec88fSEmmanuel Vadot rtc@a00 { 122*c66ec88fSEmmanuel Vadot compatible = "fsl,mpc5121-rtc"; 123*c66ec88fSEmmanuel Vadot reg = <0xa00 0x100>; 124*c66ec88fSEmmanuel Vadot interrupts = <79 0x8 80 0x8>; 125*c66ec88fSEmmanuel Vadot }; 126*c66ec88fSEmmanuel Vadot 127*c66ec88fSEmmanuel Vadot /* Reset module */ 128*c66ec88fSEmmanuel Vadot reset@e00 { 129*c66ec88fSEmmanuel Vadot compatible = "fsl,mpc5121-reset"; 130*c66ec88fSEmmanuel Vadot reg = <0xe00 0x100>; 131*c66ec88fSEmmanuel Vadot }; 132*c66ec88fSEmmanuel Vadot 133*c66ec88fSEmmanuel Vadot /* Clock control */ 134*c66ec88fSEmmanuel Vadot clks: clock@f00 { 135*c66ec88fSEmmanuel Vadot compatible = "fsl,mpc5121-clock"; 136*c66ec88fSEmmanuel Vadot reg = <0xf00 0x100>; 137*c66ec88fSEmmanuel Vadot #clock-cells = <1>; 138*c66ec88fSEmmanuel Vadot clocks = <&osc>; 139*c66ec88fSEmmanuel Vadot clock-names = "osc"; 140*c66ec88fSEmmanuel Vadot }; 141*c66ec88fSEmmanuel Vadot 142*c66ec88fSEmmanuel Vadot /* Power Management Controller */ 143*c66ec88fSEmmanuel Vadot pmc@1000 { 144*c66ec88fSEmmanuel Vadot compatible = "fsl,mpc5121-pmc"; 145*c66ec88fSEmmanuel Vadot reg = <0x1000 0x100>; 146*c66ec88fSEmmanuel Vadot interrupts = <83 0x8>; 147*c66ec88fSEmmanuel Vadot }; 148*c66ec88fSEmmanuel Vadot 149*c66ec88fSEmmanuel Vadot gpio@1100 { 150*c66ec88fSEmmanuel Vadot compatible = "fsl,mpc5121-gpio"; 151*c66ec88fSEmmanuel Vadot reg = <0x1100 0x100>; 152*c66ec88fSEmmanuel Vadot interrupts = <78 0x8>; 153*c66ec88fSEmmanuel Vadot }; 154*c66ec88fSEmmanuel Vadot 155*c66ec88fSEmmanuel Vadot can@1300 { 156*c66ec88fSEmmanuel Vadot compatible = "fsl,mpc5121-mscan"; 157*c66ec88fSEmmanuel Vadot reg = <0x1300 0x80>; 158*c66ec88fSEmmanuel Vadot interrupts = <12 0x8>; 159*c66ec88fSEmmanuel Vadot clocks = <&clks MPC512x_CLK_BDLC>, 160*c66ec88fSEmmanuel Vadot <&clks MPC512x_CLK_IPS>, 161*c66ec88fSEmmanuel Vadot <&clks MPC512x_CLK_SYS>, 162*c66ec88fSEmmanuel Vadot <&clks MPC512x_CLK_REF>, 163*c66ec88fSEmmanuel Vadot <&clks MPC512x_CLK_MSCAN0_MCLK>; 164*c66ec88fSEmmanuel Vadot clock-names = "ipg", "ips", "sys", "ref", "mclk"; 165*c66ec88fSEmmanuel Vadot }; 166*c66ec88fSEmmanuel Vadot 167*c66ec88fSEmmanuel Vadot can@1380 { 168*c66ec88fSEmmanuel Vadot compatible = "fsl,mpc5121-mscan"; 169*c66ec88fSEmmanuel Vadot reg = <0x1380 0x80>; 170*c66ec88fSEmmanuel Vadot interrupts = <13 0x8>; 171*c66ec88fSEmmanuel Vadot clocks = <&clks MPC512x_CLK_BDLC>, 172*c66ec88fSEmmanuel Vadot <&clks MPC512x_CLK_IPS>, 173*c66ec88fSEmmanuel Vadot <&clks MPC512x_CLK_SYS>, 174*c66ec88fSEmmanuel Vadot <&clks MPC512x_CLK_REF>, 175*c66ec88fSEmmanuel Vadot <&clks MPC512x_CLK_MSCAN1_MCLK>; 176*c66ec88fSEmmanuel Vadot clock-names = "ipg", "ips", "sys", "ref", "mclk"; 177*c66ec88fSEmmanuel Vadot }; 178*c66ec88fSEmmanuel Vadot 179*c66ec88fSEmmanuel Vadot sdhc@1500 { 180*c66ec88fSEmmanuel Vadot compatible = "fsl,mpc5121-sdhc"; 181*c66ec88fSEmmanuel Vadot reg = <0x1500 0x100>; 182*c66ec88fSEmmanuel Vadot interrupts = <8 0x8>; 183*c66ec88fSEmmanuel Vadot dmas = <&dma0 30>; 184*c66ec88fSEmmanuel Vadot dma-names = "rx-tx"; 185*c66ec88fSEmmanuel Vadot clocks = <&clks MPC512x_CLK_IPS>, 186*c66ec88fSEmmanuel Vadot <&clks MPC512x_CLK_SDHC>; 187*c66ec88fSEmmanuel Vadot clock-names = "ipg", "per"; 188*c66ec88fSEmmanuel Vadot }; 189*c66ec88fSEmmanuel Vadot 190*c66ec88fSEmmanuel Vadot i2c@1700 { 191*c66ec88fSEmmanuel Vadot #address-cells = <1>; 192*c66ec88fSEmmanuel Vadot #size-cells = <0>; 193*c66ec88fSEmmanuel Vadot compatible = "fsl,mpc5121-i2c", "fsl-i2c"; 194*c66ec88fSEmmanuel Vadot reg = <0x1700 0x20>; 195*c66ec88fSEmmanuel Vadot interrupts = <9 0x8>; 196*c66ec88fSEmmanuel Vadot clocks = <&clks MPC512x_CLK_I2C>; 197*c66ec88fSEmmanuel Vadot clock-names = "ipg"; 198*c66ec88fSEmmanuel Vadot }; 199*c66ec88fSEmmanuel Vadot 200*c66ec88fSEmmanuel Vadot i2c@1720 { 201*c66ec88fSEmmanuel Vadot #address-cells = <1>; 202*c66ec88fSEmmanuel Vadot #size-cells = <0>; 203*c66ec88fSEmmanuel Vadot compatible = "fsl,mpc5121-i2c", "fsl-i2c"; 204*c66ec88fSEmmanuel Vadot reg = <0x1720 0x20>; 205*c66ec88fSEmmanuel Vadot interrupts = <10 0x8>; 206*c66ec88fSEmmanuel Vadot clocks = <&clks MPC512x_CLK_I2C>; 207*c66ec88fSEmmanuel Vadot clock-names = "ipg"; 208*c66ec88fSEmmanuel Vadot }; 209*c66ec88fSEmmanuel Vadot 210*c66ec88fSEmmanuel Vadot i2c@1740 { 211*c66ec88fSEmmanuel Vadot #address-cells = <1>; 212*c66ec88fSEmmanuel Vadot #size-cells = <0>; 213*c66ec88fSEmmanuel Vadot compatible = "fsl,mpc5121-i2c", "fsl-i2c"; 214*c66ec88fSEmmanuel Vadot reg = <0x1740 0x20>; 215*c66ec88fSEmmanuel Vadot interrupts = <11 0x8>; 216*c66ec88fSEmmanuel Vadot clocks = <&clks MPC512x_CLK_I2C>; 217*c66ec88fSEmmanuel Vadot clock-names = "ipg"; 218*c66ec88fSEmmanuel Vadot }; 219*c66ec88fSEmmanuel Vadot 220*c66ec88fSEmmanuel Vadot i2ccontrol@1760 { 221*c66ec88fSEmmanuel Vadot compatible = "fsl,mpc5121-i2c-ctrl"; 222*c66ec88fSEmmanuel Vadot reg = <0x1760 0x8>; 223*c66ec88fSEmmanuel Vadot }; 224*c66ec88fSEmmanuel Vadot 225*c66ec88fSEmmanuel Vadot axe@2000 { 226*c66ec88fSEmmanuel Vadot compatible = "fsl,mpc5121-axe"; 227*c66ec88fSEmmanuel Vadot reg = <0x2000 0x100>; 228*c66ec88fSEmmanuel Vadot interrupts = <42 0x8>; 229*c66ec88fSEmmanuel Vadot clocks = <&clks MPC512x_CLK_AXE>; 230*c66ec88fSEmmanuel Vadot clock-names = "ipg"; 231*c66ec88fSEmmanuel Vadot }; 232*c66ec88fSEmmanuel Vadot 233*c66ec88fSEmmanuel Vadot display@2100 { 234*c66ec88fSEmmanuel Vadot compatible = "fsl,mpc5121-diu"; 235*c66ec88fSEmmanuel Vadot reg = <0x2100 0x100>; 236*c66ec88fSEmmanuel Vadot interrupts = <64 0x8>; 237*c66ec88fSEmmanuel Vadot clocks = <&clks MPC512x_CLK_DIU>; 238*c66ec88fSEmmanuel Vadot clock-names = "ipg"; 239*c66ec88fSEmmanuel Vadot }; 240*c66ec88fSEmmanuel Vadot 241*c66ec88fSEmmanuel Vadot can@2300 { 242*c66ec88fSEmmanuel Vadot compatible = "fsl,mpc5121-mscan"; 243*c66ec88fSEmmanuel Vadot reg = <0x2300 0x80>; 244*c66ec88fSEmmanuel Vadot interrupts = <90 0x8>; 245*c66ec88fSEmmanuel Vadot clocks = <&clks MPC512x_CLK_BDLC>, 246*c66ec88fSEmmanuel Vadot <&clks MPC512x_CLK_IPS>, 247*c66ec88fSEmmanuel Vadot <&clks MPC512x_CLK_SYS>, 248*c66ec88fSEmmanuel Vadot <&clks MPC512x_CLK_REF>, 249*c66ec88fSEmmanuel Vadot <&clks MPC512x_CLK_MSCAN2_MCLK>; 250*c66ec88fSEmmanuel Vadot clock-names = "ipg", "ips", "sys", "ref", "mclk"; 251*c66ec88fSEmmanuel Vadot }; 252*c66ec88fSEmmanuel Vadot 253*c66ec88fSEmmanuel Vadot can@2380 { 254*c66ec88fSEmmanuel Vadot compatible = "fsl,mpc5121-mscan"; 255*c66ec88fSEmmanuel Vadot reg = <0x2380 0x80>; 256*c66ec88fSEmmanuel Vadot interrupts = <91 0x8>; 257*c66ec88fSEmmanuel Vadot clocks = <&clks MPC512x_CLK_BDLC>, 258*c66ec88fSEmmanuel Vadot <&clks MPC512x_CLK_IPS>, 259*c66ec88fSEmmanuel Vadot <&clks MPC512x_CLK_SYS>, 260*c66ec88fSEmmanuel Vadot <&clks MPC512x_CLK_REF>, 261*c66ec88fSEmmanuel Vadot <&clks MPC512x_CLK_MSCAN3_MCLK>; 262*c66ec88fSEmmanuel Vadot clock-names = "ipg", "ips", "sys", "ref", "mclk"; 263*c66ec88fSEmmanuel Vadot }; 264*c66ec88fSEmmanuel Vadot 265*c66ec88fSEmmanuel Vadot viu@2400 { 266*c66ec88fSEmmanuel Vadot compatible = "fsl,mpc5121-viu"; 267*c66ec88fSEmmanuel Vadot reg = <0x2400 0x400>; 268*c66ec88fSEmmanuel Vadot interrupts = <67 0x8>; 269*c66ec88fSEmmanuel Vadot clocks = <&clks MPC512x_CLK_VIU>; 270*c66ec88fSEmmanuel Vadot clock-names = "ipg"; 271*c66ec88fSEmmanuel Vadot }; 272*c66ec88fSEmmanuel Vadot 273*c66ec88fSEmmanuel Vadot mdio@2800 { 274*c66ec88fSEmmanuel Vadot compatible = "fsl,mpc5121-fec-mdio"; 275*c66ec88fSEmmanuel Vadot reg = <0x2800 0x800>; 276*c66ec88fSEmmanuel Vadot #address-cells = <1>; 277*c66ec88fSEmmanuel Vadot #size-cells = <0>; 278*c66ec88fSEmmanuel Vadot clocks = <&clks MPC512x_CLK_FEC>; 279*c66ec88fSEmmanuel Vadot clock-names = "per"; 280*c66ec88fSEmmanuel Vadot }; 281*c66ec88fSEmmanuel Vadot 282*c66ec88fSEmmanuel Vadot eth0: ethernet@2800 { 283*c66ec88fSEmmanuel Vadot device_type = "network"; 284*c66ec88fSEmmanuel Vadot compatible = "fsl,mpc5121-fec"; 285*c66ec88fSEmmanuel Vadot reg = <0x2800 0x800>; 286*c66ec88fSEmmanuel Vadot local-mac-address = [ 00 00 00 00 00 00 ]; 287*c66ec88fSEmmanuel Vadot interrupts = <4 0x8>; 288*c66ec88fSEmmanuel Vadot clocks = <&clks MPC512x_CLK_FEC>; 289*c66ec88fSEmmanuel Vadot clock-names = "per"; 290*c66ec88fSEmmanuel Vadot }; 291*c66ec88fSEmmanuel Vadot 292*c66ec88fSEmmanuel Vadot /* USB1 using external ULPI PHY */ 293*c66ec88fSEmmanuel Vadot usb@3000 { 294*c66ec88fSEmmanuel Vadot compatible = "fsl,mpc5121-usb2-dr"; 295*c66ec88fSEmmanuel Vadot reg = <0x3000 0x600>; 296*c66ec88fSEmmanuel Vadot #address-cells = <1>; 297*c66ec88fSEmmanuel Vadot #size-cells = <0>; 298*c66ec88fSEmmanuel Vadot interrupts = <43 0x8>; 299*c66ec88fSEmmanuel Vadot dr_mode = "otg"; 300*c66ec88fSEmmanuel Vadot phy_type = "ulpi"; 301*c66ec88fSEmmanuel Vadot clocks = <&clks MPC512x_CLK_USB1>; 302*c66ec88fSEmmanuel Vadot clock-names = "ipg"; 303*c66ec88fSEmmanuel Vadot }; 304*c66ec88fSEmmanuel Vadot 305*c66ec88fSEmmanuel Vadot /* USB0 using internal UTMI PHY */ 306*c66ec88fSEmmanuel Vadot usb@4000 { 307*c66ec88fSEmmanuel Vadot compatible = "fsl,mpc5121-usb2-dr"; 308*c66ec88fSEmmanuel Vadot reg = <0x4000 0x600>; 309*c66ec88fSEmmanuel Vadot #address-cells = <1>; 310*c66ec88fSEmmanuel Vadot #size-cells = <0>; 311*c66ec88fSEmmanuel Vadot interrupts = <44 0x8>; 312*c66ec88fSEmmanuel Vadot dr_mode = "otg"; 313*c66ec88fSEmmanuel Vadot phy_type = "utmi_wide"; 314*c66ec88fSEmmanuel Vadot clocks = <&clks MPC512x_CLK_USB2>; 315*c66ec88fSEmmanuel Vadot clock-names = "ipg"; 316*c66ec88fSEmmanuel Vadot }; 317*c66ec88fSEmmanuel Vadot 318*c66ec88fSEmmanuel Vadot /* IO control */ 319*c66ec88fSEmmanuel Vadot ioctl@a000 { 320*c66ec88fSEmmanuel Vadot compatible = "fsl,mpc5121-ioctl"; 321*c66ec88fSEmmanuel Vadot reg = <0xA000 0x1000>; 322*c66ec88fSEmmanuel Vadot }; 323*c66ec88fSEmmanuel Vadot 324*c66ec88fSEmmanuel Vadot /* LocalPlus controller */ 325*c66ec88fSEmmanuel Vadot lpc@10000 { 326*c66ec88fSEmmanuel Vadot compatible = "fsl,mpc5121-lpc"; 327*c66ec88fSEmmanuel Vadot reg = <0x10000 0x100>; 328*c66ec88fSEmmanuel Vadot }; 329*c66ec88fSEmmanuel Vadot 330*c66ec88fSEmmanuel Vadot sclpc@10100 { 331*c66ec88fSEmmanuel Vadot compatible = "fsl,mpc512x-lpbfifo"; 332*c66ec88fSEmmanuel Vadot reg = <0x10100 0x50>; 333*c66ec88fSEmmanuel Vadot interrupts = <7 0x8>; 334*c66ec88fSEmmanuel Vadot dmas = <&dma0 26>; 335*c66ec88fSEmmanuel Vadot dma-names = "rx-tx"; 336*c66ec88fSEmmanuel Vadot }; 337*c66ec88fSEmmanuel Vadot 338*c66ec88fSEmmanuel Vadot pata@10200 { 339*c66ec88fSEmmanuel Vadot compatible = "fsl,mpc5121-pata"; 340*c66ec88fSEmmanuel Vadot reg = <0x10200 0x100>; 341*c66ec88fSEmmanuel Vadot interrupts = <5 0x8>; 342*c66ec88fSEmmanuel Vadot clocks = <&clks MPC512x_CLK_PATA>; 343*c66ec88fSEmmanuel Vadot clock-names = "ipg"; 344*c66ec88fSEmmanuel Vadot }; 345*c66ec88fSEmmanuel Vadot 346*c66ec88fSEmmanuel Vadot /* 512x PSCs are not 52xx PSC compatible */ 347*c66ec88fSEmmanuel Vadot 348*c66ec88fSEmmanuel Vadot /* PSC0 */ 349*c66ec88fSEmmanuel Vadot psc@11000 { 350*c66ec88fSEmmanuel Vadot compatible = "fsl,mpc5121-psc"; 351*c66ec88fSEmmanuel Vadot reg = <0x11000 0x100>; 352*c66ec88fSEmmanuel Vadot interrupts = <40 0x8>; 353*c66ec88fSEmmanuel Vadot fsl,rx-fifo-size = <16>; 354*c66ec88fSEmmanuel Vadot fsl,tx-fifo-size = <16>; 355*c66ec88fSEmmanuel Vadot clocks = <&clks MPC512x_CLK_PSC0>, 356*c66ec88fSEmmanuel Vadot <&clks MPC512x_CLK_PSC0_MCLK>; 357*c66ec88fSEmmanuel Vadot clock-names = "ipg", "mclk"; 358*c66ec88fSEmmanuel Vadot }; 359*c66ec88fSEmmanuel Vadot 360*c66ec88fSEmmanuel Vadot /* PSC1 */ 361*c66ec88fSEmmanuel Vadot psc@11100 { 362*c66ec88fSEmmanuel Vadot compatible = "fsl,mpc5121-psc"; 363*c66ec88fSEmmanuel Vadot reg = <0x11100 0x100>; 364*c66ec88fSEmmanuel Vadot interrupts = <40 0x8>; 365*c66ec88fSEmmanuel Vadot fsl,rx-fifo-size = <16>; 366*c66ec88fSEmmanuel Vadot fsl,tx-fifo-size = <16>; 367*c66ec88fSEmmanuel Vadot clocks = <&clks MPC512x_CLK_PSC1>, 368*c66ec88fSEmmanuel Vadot <&clks MPC512x_CLK_PSC1_MCLK>; 369*c66ec88fSEmmanuel Vadot clock-names = "ipg", "mclk"; 370*c66ec88fSEmmanuel Vadot }; 371*c66ec88fSEmmanuel Vadot 372*c66ec88fSEmmanuel Vadot /* PSC2 */ 373*c66ec88fSEmmanuel Vadot psc@11200 { 374*c66ec88fSEmmanuel Vadot compatible = "fsl,mpc5121-psc"; 375*c66ec88fSEmmanuel Vadot reg = <0x11200 0x100>; 376*c66ec88fSEmmanuel Vadot interrupts = <40 0x8>; 377*c66ec88fSEmmanuel Vadot fsl,rx-fifo-size = <16>; 378*c66ec88fSEmmanuel Vadot fsl,tx-fifo-size = <16>; 379*c66ec88fSEmmanuel Vadot clocks = <&clks MPC512x_CLK_PSC2>, 380*c66ec88fSEmmanuel Vadot <&clks MPC512x_CLK_PSC2_MCLK>; 381*c66ec88fSEmmanuel Vadot clock-names = "ipg", "mclk"; 382*c66ec88fSEmmanuel Vadot }; 383*c66ec88fSEmmanuel Vadot 384*c66ec88fSEmmanuel Vadot /* PSC3 */ 385*c66ec88fSEmmanuel Vadot psc@11300 { 386*c66ec88fSEmmanuel Vadot compatible = "fsl,mpc5121-psc-uart", "fsl,mpc5121-psc"; 387*c66ec88fSEmmanuel Vadot reg = <0x11300 0x100>; 388*c66ec88fSEmmanuel Vadot interrupts = <40 0x8>; 389*c66ec88fSEmmanuel Vadot fsl,rx-fifo-size = <16>; 390*c66ec88fSEmmanuel Vadot fsl,tx-fifo-size = <16>; 391*c66ec88fSEmmanuel Vadot clocks = <&clks MPC512x_CLK_PSC3>, 392*c66ec88fSEmmanuel Vadot <&clks MPC512x_CLK_PSC3_MCLK>; 393*c66ec88fSEmmanuel Vadot clock-names = "ipg", "mclk"; 394*c66ec88fSEmmanuel Vadot }; 395*c66ec88fSEmmanuel Vadot 396*c66ec88fSEmmanuel Vadot /* PSC4 */ 397*c66ec88fSEmmanuel Vadot psc@11400 { 398*c66ec88fSEmmanuel Vadot compatible = "fsl,mpc5121-psc-uart", "fsl,mpc5121-psc"; 399*c66ec88fSEmmanuel Vadot reg = <0x11400 0x100>; 400*c66ec88fSEmmanuel Vadot interrupts = <40 0x8>; 401*c66ec88fSEmmanuel Vadot fsl,rx-fifo-size = <16>; 402*c66ec88fSEmmanuel Vadot fsl,tx-fifo-size = <16>; 403*c66ec88fSEmmanuel Vadot clocks = <&clks MPC512x_CLK_PSC4>, 404*c66ec88fSEmmanuel Vadot <&clks MPC512x_CLK_PSC4_MCLK>; 405*c66ec88fSEmmanuel Vadot clock-names = "ipg", "mclk"; 406*c66ec88fSEmmanuel Vadot }; 407*c66ec88fSEmmanuel Vadot 408*c66ec88fSEmmanuel Vadot /* PSC5 */ 409*c66ec88fSEmmanuel Vadot psc@11500 { 410*c66ec88fSEmmanuel Vadot compatible = "fsl,mpc5121-psc"; 411*c66ec88fSEmmanuel Vadot reg = <0x11500 0x100>; 412*c66ec88fSEmmanuel Vadot interrupts = <40 0x8>; 413*c66ec88fSEmmanuel Vadot fsl,rx-fifo-size = <16>; 414*c66ec88fSEmmanuel Vadot fsl,tx-fifo-size = <16>; 415*c66ec88fSEmmanuel Vadot clocks = <&clks MPC512x_CLK_PSC5>, 416*c66ec88fSEmmanuel Vadot <&clks MPC512x_CLK_PSC5_MCLK>; 417*c66ec88fSEmmanuel Vadot clock-names = "ipg", "mclk"; 418*c66ec88fSEmmanuel Vadot }; 419*c66ec88fSEmmanuel Vadot 420*c66ec88fSEmmanuel Vadot /* PSC6 */ 421*c66ec88fSEmmanuel Vadot psc@11600 { 422*c66ec88fSEmmanuel Vadot compatible = "fsl,mpc5121-psc"; 423*c66ec88fSEmmanuel Vadot reg = <0x11600 0x100>; 424*c66ec88fSEmmanuel Vadot interrupts = <40 0x8>; 425*c66ec88fSEmmanuel Vadot fsl,rx-fifo-size = <16>; 426*c66ec88fSEmmanuel Vadot fsl,tx-fifo-size = <16>; 427*c66ec88fSEmmanuel Vadot clocks = <&clks MPC512x_CLK_PSC6>, 428*c66ec88fSEmmanuel Vadot <&clks MPC512x_CLK_PSC6_MCLK>; 429*c66ec88fSEmmanuel Vadot clock-names = "ipg", "mclk"; 430*c66ec88fSEmmanuel Vadot }; 431*c66ec88fSEmmanuel Vadot 432*c66ec88fSEmmanuel Vadot /* PSC7 */ 433*c66ec88fSEmmanuel Vadot psc@11700 { 434*c66ec88fSEmmanuel Vadot compatible = "fsl,mpc5121-psc"; 435*c66ec88fSEmmanuel Vadot reg = <0x11700 0x100>; 436*c66ec88fSEmmanuel Vadot interrupts = <40 0x8>; 437*c66ec88fSEmmanuel Vadot fsl,rx-fifo-size = <16>; 438*c66ec88fSEmmanuel Vadot fsl,tx-fifo-size = <16>; 439*c66ec88fSEmmanuel Vadot clocks = <&clks MPC512x_CLK_PSC7>, 440*c66ec88fSEmmanuel Vadot <&clks MPC512x_CLK_PSC7_MCLK>; 441*c66ec88fSEmmanuel Vadot clock-names = "ipg", "mclk"; 442*c66ec88fSEmmanuel Vadot }; 443*c66ec88fSEmmanuel Vadot 444*c66ec88fSEmmanuel Vadot /* PSC8 */ 445*c66ec88fSEmmanuel Vadot psc@11800 { 446*c66ec88fSEmmanuel Vadot compatible = "fsl,mpc5121-psc"; 447*c66ec88fSEmmanuel Vadot reg = <0x11800 0x100>; 448*c66ec88fSEmmanuel Vadot interrupts = <40 0x8>; 449*c66ec88fSEmmanuel Vadot fsl,rx-fifo-size = <16>; 450*c66ec88fSEmmanuel Vadot fsl,tx-fifo-size = <16>; 451*c66ec88fSEmmanuel Vadot clocks = <&clks MPC512x_CLK_PSC8>, 452*c66ec88fSEmmanuel Vadot <&clks MPC512x_CLK_PSC8_MCLK>; 453*c66ec88fSEmmanuel Vadot clock-names = "ipg", "mclk"; 454*c66ec88fSEmmanuel Vadot }; 455*c66ec88fSEmmanuel Vadot 456*c66ec88fSEmmanuel Vadot /* PSC9 */ 457*c66ec88fSEmmanuel Vadot psc@11900 { 458*c66ec88fSEmmanuel Vadot compatible = "fsl,mpc5121-psc"; 459*c66ec88fSEmmanuel Vadot reg = <0x11900 0x100>; 460*c66ec88fSEmmanuel Vadot interrupts = <40 0x8>; 461*c66ec88fSEmmanuel Vadot fsl,rx-fifo-size = <16>; 462*c66ec88fSEmmanuel Vadot fsl,tx-fifo-size = <16>; 463*c66ec88fSEmmanuel Vadot clocks = <&clks MPC512x_CLK_PSC9>, 464*c66ec88fSEmmanuel Vadot <&clks MPC512x_CLK_PSC9_MCLK>; 465*c66ec88fSEmmanuel Vadot clock-names = "ipg", "mclk"; 466*c66ec88fSEmmanuel Vadot }; 467*c66ec88fSEmmanuel Vadot 468*c66ec88fSEmmanuel Vadot /* PSC10 */ 469*c66ec88fSEmmanuel Vadot psc@11a00 { 470*c66ec88fSEmmanuel Vadot compatible = "fsl,mpc5121-psc"; 471*c66ec88fSEmmanuel Vadot reg = <0x11a00 0x100>; 472*c66ec88fSEmmanuel Vadot interrupts = <40 0x8>; 473*c66ec88fSEmmanuel Vadot fsl,rx-fifo-size = <16>; 474*c66ec88fSEmmanuel Vadot fsl,tx-fifo-size = <16>; 475*c66ec88fSEmmanuel Vadot clocks = <&clks MPC512x_CLK_PSC10>, 476*c66ec88fSEmmanuel Vadot <&clks MPC512x_CLK_PSC10_MCLK>; 477*c66ec88fSEmmanuel Vadot clock-names = "ipg", "mclk"; 478*c66ec88fSEmmanuel Vadot }; 479*c66ec88fSEmmanuel Vadot 480*c66ec88fSEmmanuel Vadot /* PSC11 */ 481*c66ec88fSEmmanuel Vadot psc@11b00 { 482*c66ec88fSEmmanuel Vadot compatible = "fsl,mpc5121-psc"; 483*c66ec88fSEmmanuel Vadot reg = <0x11b00 0x100>; 484*c66ec88fSEmmanuel Vadot interrupts = <40 0x8>; 485*c66ec88fSEmmanuel Vadot fsl,rx-fifo-size = <16>; 486*c66ec88fSEmmanuel Vadot fsl,tx-fifo-size = <16>; 487*c66ec88fSEmmanuel Vadot clocks = <&clks MPC512x_CLK_PSC11>, 488*c66ec88fSEmmanuel Vadot <&clks MPC512x_CLK_PSC11_MCLK>; 489*c66ec88fSEmmanuel Vadot clock-names = "ipg", "mclk"; 490*c66ec88fSEmmanuel Vadot }; 491*c66ec88fSEmmanuel Vadot 492*c66ec88fSEmmanuel Vadot pscfifo@11f00 { 493*c66ec88fSEmmanuel Vadot compatible = "fsl,mpc5121-psc-fifo"; 494*c66ec88fSEmmanuel Vadot reg = <0x11f00 0x100>; 495*c66ec88fSEmmanuel Vadot interrupts = <40 0x8>; 496*c66ec88fSEmmanuel Vadot clocks = <&clks MPC512x_CLK_PSC_FIFO>; 497*c66ec88fSEmmanuel Vadot clock-names = "ipg"; 498*c66ec88fSEmmanuel Vadot }; 499*c66ec88fSEmmanuel Vadot 500*c66ec88fSEmmanuel Vadot dma0: dma@14000 { 501*c66ec88fSEmmanuel Vadot compatible = "fsl,mpc5121-dma"; 502*c66ec88fSEmmanuel Vadot reg = <0x14000 0x1800>; 503*c66ec88fSEmmanuel Vadot interrupts = <65 0x8>; 504*c66ec88fSEmmanuel Vadot #dma-cells = <1>; 505*c66ec88fSEmmanuel Vadot }; 506*c66ec88fSEmmanuel Vadot }; 507*c66ec88fSEmmanuel Vadot 508*c66ec88fSEmmanuel Vadot pci: pci@80008500 { 509*c66ec88fSEmmanuel Vadot compatible = "fsl,mpc5121-pci"; 510*c66ec88fSEmmanuel Vadot device_type = "pci"; 511*c66ec88fSEmmanuel Vadot interrupts = <1 0x8>; 512*c66ec88fSEmmanuel Vadot clock-frequency = <0>; 513*c66ec88fSEmmanuel Vadot #address-cells = <3>; 514*c66ec88fSEmmanuel Vadot #size-cells = <2>; 515*c66ec88fSEmmanuel Vadot #interrupt-cells = <1>; 516*c66ec88fSEmmanuel Vadot clocks = <&clks MPC512x_CLK_PCI>; 517*c66ec88fSEmmanuel Vadot clock-names = "ipg"; 518*c66ec88fSEmmanuel Vadot 519*c66ec88fSEmmanuel Vadot reg = <0x80008500 0x100 /* internal registers */ 520*c66ec88fSEmmanuel Vadot 0x80008300 0x8>; /* config space access registers */ 521*c66ec88fSEmmanuel Vadot bus-range = <0x0 0x0>; 522*c66ec88fSEmmanuel Vadot ranges = <0x42000000 0x0 0xa0000000 0xa0000000 0x0 0x10000000 523*c66ec88fSEmmanuel Vadot 0x02000000 0x0 0xb0000000 0xb0000000 0x0 0x10000000 524*c66ec88fSEmmanuel Vadot 0x01000000 0x0 0x00000000 0x84000000 0x0 0x01000000>; 525*c66ec88fSEmmanuel Vadot }; 526*c66ec88fSEmmanuel Vadot}; 527