1*c66ec88fSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0-or-later 2*c66ec88fSEmmanuel Vadot/* 3*c66ec88fSEmmanuel Vadot * Device Tree for the PQ2FADS-ZU board with an MPC8280 chip. 4*c66ec88fSEmmanuel Vadot * 5*c66ec88fSEmmanuel Vadot * Copyright 2007,2008 Freescale Semiconductor Inc. 6*c66ec88fSEmmanuel Vadot */ 7*c66ec88fSEmmanuel Vadot 8*c66ec88fSEmmanuel Vadot/dts-v1/; 9*c66ec88fSEmmanuel Vadot 10*c66ec88fSEmmanuel Vadot/ { 11*c66ec88fSEmmanuel Vadot model = "pq2fads"; 12*c66ec88fSEmmanuel Vadot compatible = "fsl,pq2fads"; 13*c66ec88fSEmmanuel Vadot #address-cells = <1>; 14*c66ec88fSEmmanuel Vadot #size-cells = <1>; 15*c66ec88fSEmmanuel Vadot 16*c66ec88fSEmmanuel Vadot aliases { 17*c66ec88fSEmmanuel Vadot ethernet0 = &enet0; 18*c66ec88fSEmmanuel Vadot ethernet1 = &enet1; 19*c66ec88fSEmmanuel Vadot serial0 = &serial0; 20*c66ec88fSEmmanuel Vadot serial1 = &serial1; 21*c66ec88fSEmmanuel Vadot pci0 = &pci0; 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 cpu@0 { 29*c66ec88fSEmmanuel Vadot device_type = "cpu"; 30*c66ec88fSEmmanuel Vadot reg = <0x0>; 31*c66ec88fSEmmanuel Vadot d-cache-line-size = <32>; 32*c66ec88fSEmmanuel Vadot i-cache-line-size = <32>; 33*c66ec88fSEmmanuel Vadot d-cache-size = <16384>; 34*c66ec88fSEmmanuel Vadot i-cache-size = <16384>; 35*c66ec88fSEmmanuel Vadot timebase-frequency = <0>; 36*c66ec88fSEmmanuel Vadot clock-frequency = <0>; 37*c66ec88fSEmmanuel Vadot }; 38*c66ec88fSEmmanuel Vadot }; 39*c66ec88fSEmmanuel Vadot 40*c66ec88fSEmmanuel Vadot memory { 41*c66ec88fSEmmanuel Vadot device_type = "memory"; 42*c66ec88fSEmmanuel Vadot reg = <0x0 0x0>; 43*c66ec88fSEmmanuel Vadot }; 44*c66ec88fSEmmanuel Vadot 45*c66ec88fSEmmanuel Vadot localbus@f0010100 { 46*c66ec88fSEmmanuel Vadot compatible = "fsl,mpc8280-localbus", 47*c66ec88fSEmmanuel Vadot "fsl,pq2-localbus"; 48*c66ec88fSEmmanuel Vadot #address-cells = <2>; 49*c66ec88fSEmmanuel Vadot #size-cells = <1>; 50*c66ec88fSEmmanuel Vadot reg = <0xf0010100 0x60>; 51*c66ec88fSEmmanuel Vadot 52*c66ec88fSEmmanuel Vadot ranges = <0x0 0x0 0xff800000 0x800000 53*c66ec88fSEmmanuel Vadot 0x1 0x0 0xf4500000 0x8000 54*c66ec88fSEmmanuel Vadot 0x8 0x0 0xf8200000 0x8000>; 55*c66ec88fSEmmanuel Vadot 56*c66ec88fSEmmanuel Vadot flash@0,0 { 57*c66ec88fSEmmanuel Vadot compatible = "jedec-flash"; 58*c66ec88fSEmmanuel Vadot reg = <0x0 0x0 0x800000>; 59*c66ec88fSEmmanuel Vadot bank-width = <4>; 60*c66ec88fSEmmanuel Vadot device-width = <1>; 61*c66ec88fSEmmanuel Vadot }; 62*c66ec88fSEmmanuel Vadot 63*c66ec88fSEmmanuel Vadot bcsr@1,0 { 64*c66ec88fSEmmanuel Vadot reg = <0x1 0x0 0x20>; 65*c66ec88fSEmmanuel Vadot compatible = "fsl,pq2fads-bcsr"; 66*c66ec88fSEmmanuel Vadot }; 67*c66ec88fSEmmanuel Vadot 68*c66ec88fSEmmanuel Vadot PCI_PIC: pic@8,0 { 69*c66ec88fSEmmanuel Vadot #interrupt-cells = <1>; 70*c66ec88fSEmmanuel Vadot interrupt-controller; 71*c66ec88fSEmmanuel Vadot reg = <0x8 0x0 0x8>; 72*c66ec88fSEmmanuel Vadot compatible = "fsl,pq2ads-pci-pic"; 73*c66ec88fSEmmanuel Vadot interrupt-parent = <&PIC>; 74*c66ec88fSEmmanuel Vadot interrupts = <24 8>; 75*c66ec88fSEmmanuel Vadot }; 76*c66ec88fSEmmanuel Vadot }; 77*c66ec88fSEmmanuel Vadot 78*c66ec88fSEmmanuel Vadot pci0: pci@f0010800 { 79*c66ec88fSEmmanuel Vadot device_type = "pci"; 80*c66ec88fSEmmanuel Vadot reg = <0xf0010800 0x10c 0xf00101ac 0x8 0xf00101c4 0x8>; 81*c66ec88fSEmmanuel Vadot compatible = "fsl,mpc8280-pci", "fsl,pq2-pci"; 82*c66ec88fSEmmanuel Vadot #interrupt-cells = <1>; 83*c66ec88fSEmmanuel Vadot #size-cells = <2>; 84*c66ec88fSEmmanuel Vadot #address-cells = <3>; 85*c66ec88fSEmmanuel Vadot clock-frequency = <66000000>; 86*c66ec88fSEmmanuel Vadot interrupt-map-mask = <0xf800 0x0 0x0 0x7>; 87*c66ec88fSEmmanuel Vadot interrupt-map = < 88*c66ec88fSEmmanuel Vadot /* IDSEL 0x16 */ 89*c66ec88fSEmmanuel Vadot 0xb000 0x0 0x0 0x1 &PCI_PIC 0 90*c66ec88fSEmmanuel Vadot 0xb000 0x0 0x0 0x2 &PCI_PIC 1 91*c66ec88fSEmmanuel Vadot 0xb000 0x0 0x0 0x3 &PCI_PIC 2 92*c66ec88fSEmmanuel Vadot 0xb000 0x0 0x0 0x4 &PCI_PIC 3 93*c66ec88fSEmmanuel Vadot 94*c66ec88fSEmmanuel Vadot /* IDSEL 0x17 */ 95*c66ec88fSEmmanuel Vadot 0xb800 0x0 0x0 0x1 &PCI_PIC 4 96*c66ec88fSEmmanuel Vadot 0xb800 0x0 0x0 0x2 &PCI_PIC 5 97*c66ec88fSEmmanuel Vadot 0xb800 0x0 0x0 0x3 &PCI_PIC 6 98*c66ec88fSEmmanuel Vadot 0xb800 0x0 0x0 0x4 &PCI_PIC 7 99*c66ec88fSEmmanuel Vadot 100*c66ec88fSEmmanuel Vadot /* IDSEL 0x18 */ 101*c66ec88fSEmmanuel Vadot 0xc000 0x0 0x0 0x1 &PCI_PIC 8 102*c66ec88fSEmmanuel Vadot 0xc000 0x0 0x0 0x2 &PCI_PIC 9 103*c66ec88fSEmmanuel Vadot 0xc000 0x0 0x0 0x3 &PCI_PIC 10 104*c66ec88fSEmmanuel Vadot 0xc000 0x0 0x0 0x4 &PCI_PIC 11>; 105*c66ec88fSEmmanuel Vadot 106*c66ec88fSEmmanuel Vadot interrupt-parent = <&PIC>; 107*c66ec88fSEmmanuel Vadot interrupts = <18 8>; 108*c66ec88fSEmmanuel Vadot ranges = <0x42000000 0x0 0x80000000 0x80000000 0x0 0x20000000 109*c66ec88fSEmmanuel Vadot 0x2000000 0x0 0xa0000000 0xa0000000 0x0 0x20000000 110*c66ec88fSEmmanuel Vadot 0x1000000 0x0 0x0 0xf6000000 0x0 0x2000000>; 111*c66ec88fSEmmanuel Vadot }; 112*c66ec88fSEmmanuel Vadot 113*c66ec88fSEmmanuel Vadot soc@f0000000 { 114*c66ec88fSEmmanuel Vadot #address-cells = <1>; 115*c66ec88fSEmmanuel Vadot #size-cells = <1>; 116*c66ec88fSEmmanuel Vadot device_type = "soc"; 117*c66ec88fSEmmanuel Vadot compatible = "fsl,mpc8280", "fsl,pq2-soc"; 118*c66ec88fSEmmanuel Vadot ranges = <0x0 0xf0000000 0x53000>; 119*c66ec88fSEmmanuel Vadot 120*c66ec88fSEmmanuel Vadot // Temporary -- will go away once kernel uses ranges for get_immrbase(). 121*c66ec88fSEmmanuel Vadot reg = <0xf0000000 0x53000>; 122*c66ec88fSEmmanuel Vadot 123*c66ec88fSEmmanuel Vadot cpm@119c0 { 124*c66ec88fSEmmanuel Vadot #address-cells = <1>; 125*c66ec88fSEmmanuel Vadot #size-cells = <1>; 126*c66ec88fSEmmanuel Vadot #interrupt-cells = <2>; 127*c66ec88fSEmmanuel Vadot compatible = "fsl,mpc8280-cpm", "fsl,cpm2"; 128*c66ec88fSEmmanuel Vadot reg = <0x119c0 0x30>; 129*c66ec88fSEmmanuel Vadot ranges; 130*c66ec88fSEmmanuel Vadot 131*c66ec88fSEmmanuel Vadot muram@0 { 132*c66ec88fSEmmanuel Vadot #address-cells = <1>; 133*c66ec88fSEmmanuel Vadot #size-cells = <1>; 134*c66ec88fSEmmanuel Vadot ranges = <0x0 0x0 0x10000>; 135*c66ec88fSEmmanuel Vadot 136*c66ec88fSEmmanuel Vadot data@0 { 137*c66ec88fSEmmanuel Vadot compatible = "fsl,cpm-muram-data"; 138*c66ec88fSEmmanuel Vadot reg = <0x0 0x2000 0x9800 0x800>; 139*c66ec88fSEmmanuel Vadot }; 140*c66ec88fSEmmanuel Vadot }; 141*c66ec88fSEmmanuel Vadot 142*c66ec88fSEmmanuel Vadot brg@119f0 { 143*c66ec88fSEmmanuel Vadot compatible = "fsl,mpc8280-brg", 144*c66ec88fSEmmanuel Vadot "fsl,cpm2-brg", 145*c66ec88fSEmmanuel Vadot "fsl,cpm-brg"; 146*c66ec88fSEmmanuel Vadot reg = <0x119f0 0x10 0x115f0 0x10>; 147*c66ec88fSEmmanuel Vadot }; 148*c66ec88fSEmmanuel Vadot 149*c66ec88fSEmmanuel Vadot serial0: serial@11a00 { 150*c66ec88fSEmmanuel Vadot device_type = "serial"; 151*c66ec88fSEmmanuel Vadot compatible = "fsl,mpc8280-scc-uart", 152*c66ec88fSEmmanuel Vadot "fsl,cpm2-scc-uart"; 153*c66ec88fSEmmanuel Vadot reg = <0x11a00 0x20 0x8000 0x100>; 154*c66ec88fSEmmanuel Vadot interrupts = <40 8>; 155*c66ec88fSEmmanuel Vadot interrupt-parent = <&PIC>; 156*c66ec88fSEmmanuel Vadot fsl,cpm-brg = <1>; 157*c66ec88fSEmmanuel Vadot fsl,cpm-command = <0x800000>; 158*c66ec88fSEmmanuel Vadot }; 159*c66ec88fSEmmanuel Vadot 160*c66ec88fSEmmanuel Vadot serial1: serial@11a20 { 161*c66ec88fSEmmanuel Vadot device_type = "serial"; 162*c66ec88fSEmmanuel Vadot compatible = "fsl,mpc8280-scc-uart", 163*c66ec88fSEmmanuel Vadot "fsl,cpm2-scc-uart"; 164*c66ec88fSEmmanuel Vadot reg = <0x11a20 0x20 0x8100 0x100>; 165*c66ec88fSEmmanuel Vadot interrupts = <41 8>; 166*c66ec88fSEmmanuel Vadot interrupt-parent = <&PIC>; 167*c66ec88fSEmmanuel Vadot fsl,cpm-brg = <2>; 168*c66ec88fSEmmanuel Vadot fsl,cpm-command = <0x4a00000>; 169*c66ec88fSEmmanuel Vadot }; 170*c66ec88fSEmmanuel Vadot 171*c66ec88fSEmmanuel Vadot enet0: ethernet@11320 { 172*c66ec88fSEmmanuel Vadot device_type = "network"; 173*c66ec88fSEmmanuel Vadot compatible = "fsl,mpc8280-fcc-enet", 174*c66ec88fSEmmanuel Vadot "fsl,cpm2-fcc-enet"; 175*c66ec88fSEmmanuel Vadot reg = <0x11320 0x20 0x8500 0x100 0x113b0 0x1>; 176*c66ec88fSEmmanuel Vadot interrupts = <33 8>; 177*c66ec88fSEmmanuel Vadot interrupt-parent = <&PIC>; 178*c66ec88fSEmmanuel Vadot phy-handle = <&PHY0>; 179*c66ec88fSEmmanuel Vadot linux,network-index = <0>; 180*c66ec88fSEmmanuel Vadot fsl,cpm-command = <0x16200300>; 181*c66ec88fSEmmanuel Vadot }; 182*c66ec88fSEmmanuel Vadot 183*c66ec88fSEmmanuel Vadot enet1: ethernet@11340 { 184*c66ec88fSEmmanuel Vadot device_type = "network"; 185*c66ec88fSEmmanuel Vadot compatible = "fsl,mpc8280-fcc-enet", 186*c66ec88fSEmmanuel Vadot "fsl,cpm2-fcc-enet"; 187*c66ec88fSEmmanuel Vadot reg = <0x11340 0x20 0x8600 0x100 0x113d0 0x1>; 188*c66ec88fSEmmanuel Vadot interrupts = <34 8>; 189*c66ec88fSEmmanuel Vadot interrupt-parent = <&PIC>; 190*c66ec88fSEmmanuel Vadot phy-handle = <&PHY1>; 191*c66ec88fSEmmanuel Vadot linux,network-index = <1>; 192*c66ec88fSEmmanuel Vadot fsl,cpm-command = <0x1a400300>; 193*c66ec88fSEmmanuel Vadot local-mac-address = [00 e0 0c 00 79 01]; 194*c66ec88fSEmmanuel Vadot }; 195*c66ec88fSEmmanuel Vadot 196*c66ec88fSEmmanuel Vadot mdio@10d40 { 197*c66ec88fSEmmanuel Vadot compatible = "fsl,pq2fads-mdio-bitbang", 198*c66ec88fSEmmanuel Vadot "fsl,mpc8280-mdio-bitbang", 199*c66ec88fSEmmanuel Vadot "fsl,cpm2-mdio-bitbang"; 200*c66ec88fSEmmanuel Vadot #address-cells = <1>; 201*c66ec88fSEmmanuel Vadot #size-cells = <0>; 202*c66ec88fSEmmanuel Vadot reg = <0x10d40 0x14>; 203*c66ec88fSEmmanuel Vadot fsl,mdio-pin = <9>; 204*c66ec88fSEmmanuel Vadot fsl,mdc-pin = <10>; 205*c66ec88fSEmmanuel Vadot 206*c66ec88fSEmmanuel Vadot PHY0: ethernet-phy@0 { 207*c66ec88fSEmmanuel Vadot interrupt-parent = <&PIC>; 208*c66ec88fSEmmanuel Vadot interrupts = <25 2>; 209*c66ec88fSEmmanuel Vadot reg = <0x0>; 210*c66ec88fSEmmanuel Vadot }; 211*c66ec88fSEmmanuel Vadot 212*c66ec88fSEmmanuel Vadot PHY1: ethernet-phy@1 { 213*c66ec88fSEmmanuel Vadot interrupt-parent = <&PIC>; 214*c66ec88fSEmmanuel Vadot interrupts = <25 2>; 215*c66ec88fSEmmanuel Vadot reg = <0x3>; 216*c66ec88fSEmmanuel Vadot }; 217*c66ec88fSEmmanuel Vadot }; 218*c66ec88fSEmmanuel Vadot 219*c66ec88fSEmmanuel Vadot usb@11b60 { 220*c66ec88fSEmmanuel Vadot #address-cells = <1>; 221*c66ec88fSEmmanuel Vadot #size-cells = <0>; 222*c66ec88fSEmmanuel Vadot compatible = "fsl,mpc8280-usb", 223*c66ec88fSEmmanuel Vadot "fsl,cpm2-usb"; 224*c66ec88fSEmmanuel Vadot reg = <0x11b60 0x18 0x8b00 0x100>; 225*c66ec88fSEmmanuel Vadot interrupt-parent = <&PIC>; 226*c66ec88fSEmmanuel Vadot interrupts = <11 8>; 227*c66ec88fSEmmanuel Vadot fsl,cpm-command = <0x2e600000>; 228*c66ec88fSEmmanuel Vadot }; 229*c66ec88fSEmmanuel Vadot }; 230*c66ec88fSEmmanuel Vadot 231*c66ec88fSEmmanuel Vadot PIC: interrupt-controller@10c00 { 232*c66ec88fSEmmanuel Vadot #interrupt-cells = <2>; 233*c66ec88fSEmmanuel Vadot interrupt-controller; 234*c66ec88fSEmmanuel Vadot reg = <0x10c00 0x80>; 235*c66ec88fSEmmanuel Vadot compatible = "fsl,mpc8280-pic", "fsl,cpm2-pic"; 236*c66ec88fSEmmanuel Vadot }; 237*c66ec88fSEmmanuel Vadot 238*c66ec88fSEmmanuel Vadot }; 239*c66ec88fSEmmanuel Vadot 240*c66ec88fSEmmanuel Vadot chosen { 241*c66ec88fSEmmanuel Vadot stdout-path = "/soc/cpm/serial@11a00"; 242*c66ec88fSEmmanuel Vadot }; 243*c66ec88fSEmmanuel Vadot}; 244