PageRenderTime 8ms CodeModel.GetById 2ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/arch/powerpc/boot/dts/mpc8544ds.dts

http://github.com/mirrors/linux
Device Tree | 107 lines | 73 code | 18 blank | 16 comment | 0 complexity | 010863692257ccebedb629880290030e MD5 | raw file
  1/*
  2 * MPC8544 DS Device Tree Source
  3 *
  4 * Copyright 2007, 2008 Freescale Semiconductor Inc.
  5 *
  6 * This program is free software; you can redistribute  it and/or modify it
  7 * under  the terms of  the GNU General  Public License as published by the
  8 * Free Software Foundation;  either version 2 of the  License, or (at your
  9 * option) any later version.
 10 */
 11
 12/include/ "fsl/mpc8544si-pre.dtsi"
 13
 14/ {
 15	model = "MPC8544DS";
 16	compatible = "MPC8544DS", "MPC85xxDS";
 17
 18	memory {
 19		device_type = "memory";
 20		reg = <0 0 0 0>;	// Filled by U-Boot
 21	};
 22
 23	board_lbc: lbc: localbus@e0005000 {
 24		reg = <0 0xe0005000 0 0x1000>;
 25
 26		ranges = <0x0 0x0 0x0 0xff800000 0x800000>;
 27	};
 28
 29	board_soc: soc: soc8544@e0000000 {
 30		ranges = <0x0 0x0 0xe0000000 0x100000>;
 31	};
 32
 33	pci0: pci@e0008000 {
 34		reg = <0 0xe0008000 0 0x1000>;
 35		ranges = <0x2000000 0x0 0xc0000000 0 0xc0000000 0x0 0x20000000
 36			  0x1000000 0x0 0x00000000 0 0xe1000000 0x0 0x10000>;
 37		clock-frequency = <66666666>;
 38		interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
 39		interrupt-map = <
 40
 41			/* IDSEL 0x11 J17 Slot 1 */
 42			0x8800 0x0 0x0 0x1 &mpic 0x2 0x1 0 0
 43			0x8800 0x0 0x0 0x2 &mpic 0x3 0x1 0 0
 44			0x8800 0x0 0x0 0x3 &mpic 0x4 0x1 0 0
 45			0x8800 0x0 0x0 0x4 &mpic 0x1 0x1 0 0
 46
 47			/* IDSEL 0x12 J16 Slot 2 */
 48
 49			0x9000 0x0 0x0 0x1 &mpic 0x3 0x1 0 0
 50			0x9000 0x0 0x0 0x2 &mpic 0x4 0x1 0 0
 51			0x9000 0x0 0x0 0x3 &mpic 0x2 0x1 0 0
 52			0x9000 0x0 0x0 0x4 &mpic 0x1 0x1 0 0>;
 53	};
 54
 55	pci1: pcie@e0009000 {
 56		reg = <0x0 0xe0009000 0x0 0x1000>;
 57		ranges = <0x2000000 0x0 0x80000000 0 0x80000000 0x0 0x20000000
 58			  0x1000000 0x0 0x00000000 0 0xe1010000 0x0 0x10000>;
 59		pcie@0 {
 60			ranges = <0x2000000 0x0 0x80000000
 61				  0x2000000 0x0 0x80000000
 62				  0x0 0x20000000
 63
 64				  0x1000000 0x0 0x0
 65				  0x1000000 0x0 0x0
 66				  0x0 0x10000>;
 67		};
 68	};
 69
 70	pci2: pcie@e000a000 {
 71		reg = <0x0 0xe000a000 0x0 0x1000>;
 72		ranges = <0x2000000 0x0 0xa0000000 0 0xa0000000 0x0 0x10000000
 73			  0x1000000 0x0 0x00000000 0 0xe1020000 0x0 0x10000>;
 74		pcie@0 {
 75			ranges = <0x2000000 0x0 0xa0000000
 76				  0x2000000 0x0 0xa0000000
 77				  0x0 0x10000000
 78
 79				  0x1000000 0x0 0x0
 80				  0x1000000 0x0 0x0
 81				  0x0 0x10000>;
 82		};
 83	};
 84
 85	board_pci3: pci3: pcie@e000b000 {
 86		reg = <0x0 0xe000b000 0x0 0x1000>;
 87		ranges = <0x2000000 0x0 0xb0000000 0 0xb0000000 0x0 0x100000
 88			  0x1000000 0x0 0x00000000 0 0xb0100000 0x0 0x100000>;
 89		pcie@0 {
 90			ranges = <0x2000000 0x0 0xb0000000
 91				  0x2000000 0x0 0xb0000000
 92				  0x0 0x100000
 93
 94				  0x1000000 0x0 0x0
 95				  0x1000000 0x0 0x0
 96				  0x0 0x100000>;
 97		};
 98	};
 99};
100
101/*
102 * mpc8544ds.dtsi must be last to ensure board_pci3 overrides pci3 settings
103 * for interrupt-map & interrupt-map-mask
104 */
105
106/include/ "fsl/mpc8544si-post.dtsi"
107/include/ "mpc8544ds.dtsi"