projects/linux·commit 0bd2cbcd

Merge branch 'next-devicetree' of git://git.secretlab.ca/git/linux-2.6

0bd2cbcd · Linus Torvalds <[email protected]> · 2011-01-10 08:57:03 -08:00

* 'next-devicetree' of git://git.secretlab.ca/git/linux-2.6: (29 commits)
  of/flattree: forward declare struct device_node in of_fdt.h
  ipmi: explicitly include of_address.h and of_irq.h
  sparc: explicitly cast negative phandle checks to s32
  powerpc/405: Fix missing #{address,size}-cells in i2c node
  powerpc/5200: dts: refactor dts files
  powerpc/5200: dts: Change combatible strings on localbus
  powerpc/5200: dts: remove unused properties
  powerpc/5200: dts: rename nodes to prepare for refactoring dts files
  of/flattree: Update dtc to current mainline.
  of/device: Don't register disabled devices
  powerpc/dts: fix syntax bugs in bluestone.dts
  of: Fixes for OF probing on little endian systems
  of: make drivers depend on CONFIG_OF instead of CONFIG_PPC_OF
  of/flattree: Add of_flat_dt_match() helper function
  of_serial: explicitly include of_irq.h
  of/flattree: Refactor unflatten_device_tree and add fdt_unflatten_tree
  of/flattree: Reorder unflatten_dt_node
  of/flattree: Refactor unflatten_dt_node
  of/flattree: Add non-boottime device tree functions
  of/flattree: Add Kconfig for EARLY_FLATTREE
  ...

Fix up trivial conflict in arch/sparc/prom/tree_32.c as per Grant.
Commit
0bd2cbcdfaff9cb22267d66fc843fa4f73f0c281
Parents
57cc7215 · a0817487

Merge commit. Changes below are compared with the first parent: 57cc7215.

Changes

83 files changed · +2890 −3404

FileStatusAddDelContent
Documentation/kbuild/makefiles.txtmodified+15−0View file
Documentation/powerpc/dts-bindings/eeprom.txtadded+28−0View file
arch/microblaze/Kconfigmodified+1−1View file
arch/microblaze/boot/Makefilemodified+3−9View file
arch/microblaze/include/asm/prom.hmodified+0−3View file
arch/microblaze/kernel/prom_parse.cmodified+0−38View file
arch/mips/Kconfigmodified+1−1View file
arch/powerpc/Kconfigmodified+1−1View file
arch/powerpc/boot/Makefilemodified+3−5View file
arch/powerpc/boot/dts/bluestone.dtsmodified+4−4View file
arch/powerpc/boot/dts/cm5200.dtsmodified+24−170View file
arch/powerpc/boot/dts/digsy_mtc.dtsmodified+25−152View file
arch/powerpc/boot/dts/hotfoot.dtsmodified+2−0View file
arch/powerpc/boot/dts/lite5200b.dtsmodified+14−206View file
arch/powerpc/boot/dts/media5200.dtsmodified+23−191View file
arch/powerpc/boot/dts/motionpro.dtsmodified+25−169View file
arch/powerpc/boot/dts/mpc5200b.dtsiadded+275−0View file
arch/powerpc/boot/dts/mucmc52.dtsmodified+46−128View file
arch/powerpc/boot/dts/pcm030.dtsmodified+19−177View file
arch/powerpc/boot/dts/pcm032.dtsmodified+35−207View file
arch/powerpc/boot/dts/uc101.dtsmodified+33−127View file
arch/powerpc/include/asm/prom.hmodified+1−4View file
arch/powerpc/kernel/prom_parse.cmodified+0−38View file
arch/powerpc/platforms/40x/ppc40x_simple.cmodified+4−9View file
arch/powerpc/platforms/512x/mpc5121_generic.cmodified+2−11View file
arch/powerpc/platforms/52xx/lite5200.cmodified+7−9View file
arch/powerpc/platforms/52xx/media5200.cmodified+2−11View file
arch/powerpc/platforms/52xx/mpc5200_simple.cmodified+2−11View file
arch/powerpc/platforms/83xx/mpc830x_rdb.cmodified+8−5View file
arch/powerpc/platforms/83xx/mpc831x_rdb.cmodified+7−4View file
arch/powerpc/platforms/83xx/mpc837x_rdb.cmodified+9−6View file
arch/powerpc/platforms/85xx/tqm85xx.cmodified+10−10View file
arch/powerpc/sysdev/mv64x60_dev.cmodified+1−0View file
arch/powerpc/sysdev/tsi108_dev.cmodified+1−0View file
arch/sparc/kernel/auxio_32.cmodified+1−1View file
arch/sparc/kernel/starfire.cmodified+1−1View file
arch/sparc/prom/init_32.cmodified+1−1View file
arch/sparc/prom/init_64.cmodified+2−2View file
arch/sparc/prom/tree_32.cmodified+9−8View file
arch/sparc/prom/tree_64.cmodified+9−9View file
drivers/char/ipmi/ipmi_si_intf.cmodified+6−4View file
drivers/misc/eeprom/at24.cmodified+37−6View file
drivers/mmc/host/Kconfigmodified+3−1View file
drivers/mmc/host/sdhci-of-core.cmodified+2−2View file
drivers/mtd/Kconfigmodified+1−1View file
drivers/mtd/maps/Kconfigmodified+1−1View file
drivers/net/fs_enet/fs_enet-main.cmodified+1−0View file
drivers/net/gianfar.cmodified+1−0View file
drivers/net/ucc_geth.cmodified+1−0View file
drivers/net/xilinx_emaclite.cmodified+1−0View file
drivers/of/Kconfigmodified+8−0View file
drivers/of/Makefilemodified+1−0View file
drivers/of/address.cmodified+28−26View file
drivers/of/fdt.cmodified+272−158View file
drivers/of/of_mdio.cmodified+17−9View file
drivers/of/of_net.cadded+48−0View file
drivers/of/platform.cmodified+14−8View file
drivers/sbus/char/jsflash.cmodified+1−1View file
drivers/serial/Kconfigmodified+1−1View file
drivers/serial/of_serial.cmodified+1−0View file
include/asm-generic/vmlinux.lds.hmodified+11−2View file
include/linux/of_address.hmodified+3−3View file
include/linux/of_fdt.hmodified+18−0View file
include/linux/of_net.hadded+15−0View file
scripts/Makefile.libmodified+23−0View file
scripts/dtc/Makefilemodified+2−1View file
scripts/dtc/checks.cmodified+94−11View file
scripts/dtc/dtc-lexer.lmodified+23−152View file
scripts/dtc/dtc-lexer.lex.c_shippedmodified+176−375View file
scripts/dtc/dtc-parser.tab.c_shippedmodified+440−452View file
scripts/dtc/dtc-parser.tab.h_shippedmodified+30−52View file
scripts/dtc/dtc-parser.ymodified+63−97View file
scripts/dtc/dtc.cmodified+31−26View file
scripts/dtc/dtc.hmodified+38−39View file
scripts/dtc/flattree.cmodified+109−83View file
scripts/dtc/fstree.cmodified+5−7View file
scripts/dtc/livetree.cmodified+323−22View file
scripts/dtc/srcpos.cmodified+195−63View file
scripts/dtc/srcpos.hmodified+50−49View file
scripts/dtc/treesource.cmodified+26−22View file
scripts/dtc/util.cadded+59−0View file
scripts/dtc/util.hadded+56−0View file
scripts/dtc/version_gen.hmodified+1−1View file

Only the first 600 diff lines are shown. Download the complete patch.

Documentation/kbuild/makefiles.txt

View file
diff --git a/Documentation/kbuild/makefiles.txt b/Documentation/kbuild/makefiles.txt
index 0ef00bd..86e3cd0 100644
--- a/Documentation/kbuild/makefiles.txt
+++ b/Documentation/kbuild/makefiles.txt
@@ -1136,6 +1136,21 @@ When kbuild executes, the following steps are followed (roughly):
resulting in the target file being recompiled for no
obvious reason.
+ dtc
+ Create flattend device tree blob object suitable for linking
+ into vmlinux. Device tree blobs linked into vmlinux are placed
+ in an init section in the image. Platform code *must* copy the
+ blob to non-init memory prior to calling unflatten_device_tree().
+
+ Example:
+ #arch/x86/platform/ce4100/Makefile
+ clean-files := *dtb.S
+
+ DTC_FLAGS := -p 1024
+ obj-y += foo.dtb.o
+
+ $(obj)/%.dtb: $(src)/%.dts
+ $(call cmd,dtc)
--- 6.7 Custom kbuild commands

Documentation/powerpc/dts-bindings/eeprom.txt

View file
diff --git a/Documentation/powerpc/dts-bindings/eeprom.txt b/Documentation/powerpc/dts-bindings/eeprom.txt
new file mode 100644
index 0000000..4342c10
--- /dev/null
+++ b/Documentation/powerpc/dts-bindings/eeprom.txt
@@ -0,0 +1,28 @@
+EEPROMs (I2C)
+
+Required properties:
+
+ - compatible : should be "<manufacturer>,<type>"
+ If there is no specific driver for <manufacturer>, a generic
+ driver based on <type> is selected. Possible types are:
+ 24c00, 24c01, 24c02, 24c04, 24c08, 24c16, 24c32, 24c64,
+ 24c128, 24c256, 24c512, 24c1024, spd
+
+ - reg : the I2C address of the EEPROM
+
+Optional properties:
+
+ - pagesize : the length of the pagesize for writing. Please consult the
+ manual of your device, that value varies a lot. A wrong value
+ may result in data loss! If not specified, a safety value of
+ '1' is used which will be very slow.
+
+ - read-only: this parameterless property disables writes to the eeprom
+
+Example:
+
+eeprom@52 {
+ compatible = "atmel,24c32";
+ reg = <0x52>;
+ pagesize = <32>;
+};

arch/microblaze/Kconfig

View file
diff --git a/arch/microblaze/Kconfig b/arch/microblaze/Kconfig
index 387d5ff..5f5018a 100644
--- a/arch/microblaze/Kconfig
+++ b/arch/microblaze/Kconfig
@@ -14,7 +14,7 @@ config MICROBLAZE
select HAVE_DMA_API_DEBUG
select TRACING_SUPPORT
select OF
- select OF_FLATTREE
+ select OF_EARLY_FLATTREE
config SWAP
def_bool n

arch/microblaze/boot/Makefile

View file
diff --git a/arch/microblaze/boot/Makefile b/arch/microblaze/boot/Makefile
index be01d78..4c4e58e 100644
--- a/arch/microblaze/boot/Makefile
+++ b/arch/microblaze/boot/Makefile
@@ -10,9 +10,6 @@ targets := linux.bin linux.bin.gz simpleImage.%
OBJCOPYFLAGS := -O binary
-# Where the DTS files live
-dtstree := $(srctree)/$(src)/dts
-
# Ensure system.dtb exists
$(obj)/linked_dtb.o: $(obj)/system.dtb
@@ -51,14 +48,11 @@ $(obj)/simpleImage.%: vmlinux FORCE
$(call if_changed,strip)
@echo 'Kernel: $@ is ready' ' (#'`cat .version`')'
-# Rule to build device tree blobs
-DTC = $(objtree)/scripts/dtc/dtc
# Rule to build device tree blobs
-quiet_cmd_dtc = DTC $@
- cmd_dtc = $(DTC) -O dtb -o $(obj)/$*.dtb -b 0 -p 1024 $(dtstree)/$*.dts
+DTC_FLAGS := -p 1024
-$(obj)/%.dtb: $(dtstree)/%.dts FORCE
- $(call if_changed,dtc)
+$(obj)/%.dtb: $(src)/dts/%.dts FORCE
+ $(call cmd,dtc)
clean-files += *.dtb simpleImage.*.unstrip linux.bin.ub

arch/microblaze/include/asm/prom.h

View file
diff --git a/arch/microblaze/include/asm/prom.h b/arch/microblaze/include/asm/prom.h
index bdc3831..2e72af0 100644
--- a/arch/microblaze/include/asm/prom.h
+++ b/arch/microblaze/include/asm/prom.h
@@ -64,9 +64,6 @@ extern void kdump_move_device_tree(void);
/* CPU OF node matching */
struct device_node *of_get_cpu_node(int cpu, unsigned int *thread);
-/* Get the MAC address */
-extern const void *of_get_mac_address(struct device_node *np);
-
/**
* of_irq_map_pci - Resolve the interrupt for a PCI device
* @pdev: the device whose interrupt is to be resolved

arch/microblaze/kernel/prom_parse.c

View file
diff --git a/arch/microblaze/kernel/prom_parse.c b/arch/microblaze/kernel/prom_parse.c
index 99d9b61..9ae24f4 100644
--- a/arch/microblaze/kernel/prom_parse.c
+++ b/arch/microblaze/kernel/prom_parse.c
@@ -110,41 +110,3 @@ void of_parse_dma_window(struct device_node *dn, const void *dma_window_prop,
cells = prop ? *(u32 *)prop : of_n_size_cells(dn);
*size = of_read_number(dma_window, cells);
}
-
-/**
- * Search the device tree for the best MAC address to use. 'mac-address' is
- * checked first, because that is supposed to contain to "most recent" MAC
- * address. If that isn't set, then 'local-mac-address' is checked next,
- * because that is the default address. If that isn't set, then the obsolete
- * 'address' is checked, just in case we're using an old device tree.
- *
- * Note that the 'address' property is supposed to contain a virtual address of
- * the register set, but some DTS files have redefined that property to be the
- * MAC address.
- *
- * All-zero MAC addresses are rejected, because those could be properties that
- * exist in the device tree, but were not set by U-Boot. For example, the
- * DTS could define 'mac-address' and 'local-mac-address', with zero MAC
- * addresses. Some older U-Boots only initialized 'local-mac-address'. In
- * this case, the real MAC is in 'local-mac-address', and 'mac-address' exists
- * but is all zeros.
-*/
-const void *of_get_mac_address(struct device_node *np)
-{
- struct property *pp;
-
- pp = of_find_property(np, "mac-address", NULL);
- if (pp && (pp->length == 6) && is_valid_ether_addr(pp->value))
- return pp->value;
-
- pp = of_find_property(np, "local-mac-address", NULL);
- if (pp && (pp->length == 6) && is_valid_ether_addr(pp->value))
- return pp->value;
-
- pp = of_find_property(np, "address", NULL);
- if (pp && (pp->length == 6) && is_valid_ether_addr(pp->value))
- return pp->value;
-
- return NULL;
-}
-EXPORT_SYMBOL(of_get_mac_address);

arch/mips/Kconfig

View file
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
index 0a9b5b8..f489ec3 100644
--- a/arch/mips/Kconfig
+++ b/arch/mips/Kconfig
@@ -2218,7 +2218,7 @@ config SECCOMP
config USE_OF
bool "Flattened Device Tree support"
select OF
- select OF_FLATTREE
+ select OF_EARLY_FLATTREE
help
Include support for flattened device tree machine descriptions.

arch/powerpc/Kconfig

View file
diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig
index e625e9e..48fb479 100644
--- a/arch/powerpc/Kconfig
+++ b/arch/powerpc/Kconfig
@@ -116,7 +116,7 @@ config PPC
bool
default y
select OF
- select OF_FLATTREE
+ select OF_EARLY_FLATTREE
select HAVE_FTRACE_MCOUNT_RECORD
select HAVE_DYNAMIC_FTRACE
select HAVE_FUNCTION_TRACER

arch/powerpc/boot/Makefile

View file
diff --git a/arch/powerpc/boot/Makefile b/arch/powerpc/boot/Makefile
index fae8192..96deec6 100644
--- a/arch/powerpc/boot/Makefile
+++ b/arch/powerpc/boot/Makefile
@@ -35,7 +35,7 @@ endif
BOOTCFLAGS += -I$(obj) -I$(srctree)/$(obj)
-DTS_FLAGS ?= -p 1024
+DTC_FLAGS ?= -p 1024
$(obj)/4xx.o: BOOTCFLAGS += -mcpu=405
$(obj)/ebony.o: BOOTCFLAGS += -mcpu=405
@@ -332,10 +332,8 @@ $(obj)/treeImage.%: vmlinux $(obj)/%.dtb $(wrapperbits)
$(call if_changed,wrap,treeboot-$*,,$(obj)/$*.dtb)
# Rule to build device tree blobs
-DTC = $(objtree)/scripts/dtc/dtc
-
-$(obj)/%.dtb: $(dtstree)/%.dts
- $(DTC) -O dtb -o $(obj)/$*.dtb -b 0 $(DTS_FLAGS) $(dtstree)/$*.dts
+$(obj)/%.dtb: $(src)/dts/%.dts
+ $(call cmd,dtc)
# If there isn't a platform selected then just strip the vmlinux.
ifeq (,$(image-y))

arch/powerpc/boot/dts/bluestone.dts

View file
diff --git a/arch/powerpc/boot/dts/bluestone.dts b/arch/powerpc/boot/dts/bluestone.dts
index 9bb3d72..2a56a0d 100644
--- a/arch/powerpc/boot/dts/bluestone.dts
+++ b/arch/powerpc/boot/dts/bluestone.dts
@@ -33,7 +33,7 @@
aliases {
ethernet0 = &EMAC0;
serial0 = &UART0;
- serial1 = &UART1;
+ //serial1 = &UART1; --gcl missing UART1 label
};
cpus {
@@ -52,7 +52,7 @@
d-cache-size = <32768>;
dcr-controller;
dcr-access-method = "native";
- next-level-cache = <&L2C0>;
+ //next-level-cache = <&L2C0>; --gcl missing L2C0 label
};
};
@@ -142,7 +142,7 @@
/*RXEOB*/ 0x7 0x4
/*SERR*/ 0x3 0x4
/*TXDE*/ 0x4 0x4
- /*RXDE*/ 0x5 0x4
+ /*RXDE*/ 0x5 0x4>;
};
POB0: opb {
@@ -182,7 +182,7 @@
reg = <0x001a0000 0x00060000>;
};
};
- }
+ };
UART0: serial@ef600300 {
device_type = "serial";

arch/powerpc/boot/dts/cm5200.dts

View file
diff --git a/arch/powerpc/boot/dts/cm5200.dts b/arch/powerpc/boot/dts/cm5200.dts
index dd38608..ad3a4f4 100644
--- a/arch/powerpc/boot/dts/cm5200.dts
+++ b/arch/powerpc/boot/dts/cm5200.dts
@@ -10,220 +10,74 @@
* option) any later version.
*/
-/dts-v1/;
+/include/ "mpc5200b.dtsi"
/ {
model = "schindler,cm5200";
compatible = "schindler,cm5200";
- #address-cells = <1>;
- #size-cells = <1>;
- interrupt-parent = <&mpc5200_pic>;
-
- cpus {
- #address-cells = <1>;
- #size-cells = <0>;
-
- PowerPC,5200@0 {
- device_type = "cpu";
- reg = <0>;
- d-cache-line-size = <32>;
- i-cache-line-size = <32>;
- d-cache-size = <0x4000>; // L1, 16K
- i-cache-size = <0x4000>; // L1, 16K
- timebase-frequency = <0>; // from bootloader
- bus-frequency = <0>; // from bootloader
- clock-frequency = <0>; // from bootloader
- };
- };
-
- memory {
- device_type = "memory";
- reg = <0x00000000 0x04000000>; // 64MB
- };
soc5200@f0000000 {
- #address-cells = <1>;
- #size-cells = <1>;
- compatible = "fsl,mpc5200b-immr";
- ranges = <0 0xf0000000 0x0000c000>;
- reg = <0xf0000000 0x00000100>;
- bus-frequency = <0>; // from bootloader
- system-frequency = <0>; // from bootloader
-
- cdm@200 {
- compatible = "fsl,mpc5200b-cdm","fsl,mpc5200-cdm";
- reg = <0x200 0x38>;
- };
-
- mpc5200_pic: interrupt-controller@500 {
- // 5200 interrupts are encoded into two levels;
- interrupt-controller;
- #interrupt-cells = <3>;
- compatible = "fsl,mpc5200b-pic","fsl,mpc5200-pic";
- reg = <0x500 0x80>;
- };
-
timer@600 { // General Purpose Timer
- compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt";
- reg = <0x600 0x10>;
- interrupts = <1 9 0>;
fsl,has-wdt;
};
- timer@610 { // General Purpose Timer
- compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt";
- reg = <0x610 0x10>;
- interrupts = <1 10 0>;
- };
-
- timer@620 { // General Purpose Timer
- compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt";
- reg = <0x620 0x10>;
- interrupts = <1 11 0>;
- };
-
- timer@630 { // General Purpose Timer
- compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt";
- reg = <0x630 0x10>;
- interrupts = <1 12 0>;
- };
-
- timer@640 { // General Purpose Timer
- compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt";
- reg = <0x640 0x10>;
- interrupts = <1 13 0>;
- };
-
- timer@650 { // General Purpose Timer
- compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt";
- reg = <0x650 0x10>;
- interrupts = <1 14 0>;
- };
-
- timer@660 { // General Purpose Timer
- compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt";
- reg = <0x660 0x10>;
- interrupts = <1 15 0>;
- };
-
- timer@670 { // General Purpose Timer
- compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt";
- reg = <0x670 0x10>;
- interrupts = <1 16 0>;
+ can@900 {
+ status = "disabled";
};
- rtc@800 { // Real time clock
- compatible = "fsl,mpc5200b-rtc","fsl,mpc5200-rtc";
- reg = <0x800 0x100>;
- interrupts = <1 5 0 1 6 0>;
+ can@980 {
+ status = "disabled";
};
- gpio_simple: gpio@b00 {
- compatible = "fsl,mpc5200b-gpio","fsl,mpc5200-gpio";
- reg = <0xb00 0x40>;
- interrupts = <1 7 0>;
- gpio-controller;
- #gpio-cells = <2>;
- };
-
- gpio_wkup: gpio@c00 {
- compatible = "fsl,mpc5200b-gpio-wkup","fsl,mpc5200-gpio-wkup";
- reg = <0xc00 0x40>;
- interrupts = <1 8 0 0 3 0>;
- gpio-controller;
- #gpio-cells = <2>;
- };
-
- spi@f00 {
- compatible = "fsl,mpc5200b-spi","fsl,mpc5200-spi";
- reg = <0xf00 0x20>;
- interrupts = <2 13 0 2 14 0>;
- };
-
- usb@1000 {
- compatible = "fsl,mpc5200b-ohci","fsl,mpc5200-ohci","ohci-be";
- reg = <0x1000 0xff>;
- interrupts = <2 6 0>;
- };
-
- dma-controller@1200 {
- compatible = "fsl,mpc5200b-bestcomm","fsl,mpc5200-bestcomm";
- reg = <0x1200 0x80>;
- interrupts = <3 0 0 3 1 0 3 2 0 3 3 0
- 3 4 0 3 5 0 3 6 0 3 7 0
- 3 8 0 3 9 0 3 10 0 3 11 0
- 3 12 0 3 13 0 3 14 0 3 15 0>;
+ psc@2000 { // PSC1
+ compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart";
};
- xlb@1f00 {
- compatible = "fsl,mpc5200b-xlb","fsl,mpc5200-xlb";
- reg = <0x1f00 0x100>;
+ psc@2200 { // PSC2
+ compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart";
};
- serial@2000 { // PSC1
+ psc@2400 { // PSC3
compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart";
- reg = <0x2000 0x100>;
- interrupts = <2 1 0>;
};
- serial@2200 { // PSC2
- compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart";
- reg = <0x2200 0x100>;
- interrupts = <2 2 0>;
+ psc@2600 { // PSC4
+ status = "disabled";
};
- serial@2400 { // PSC3
- compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart";
- reg = <0x2400 0x100>;
- interrupts = <2 3 0>;
+ psc@2800 { // PSC5
+ status = "disabled";
};
- serial@2c00 { // PSC6
+ psc@2c00 { // PSC6
compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart";
- reg = <0x2c00 0x100>;
- interrupts = <2 4 0>;
};
ethernet@3000 {
- compatible = "fsl,mpc5200b-fec","fsl,mpc5200-fec";
- reg = <0x3000 0x400>;
- local-mac-address = [ 00 00 00 00 00 00 ];
- interrupts = <2 5 0>;
phy-handle = <&phy0>;
};
mdio@3000 {
- #address-cells = <1>;
- #size-cells = <0>;
- compatible = "fsl,mpc5200b-mdio","fsl,mpc5200-mdio";
- reg = <0x3000 0x400>; // fec range, since we need to setup fec interrupts
- interrupts = <2 5 0>; // these are for "mii command finished", not link changes & co.
-
phy0: ethernet-phy@0 {
reg = <0>;
};
};
- i2c@3d40 {
- #address-cells = <1>;
- #size-cells = <0>;
- compatible = "fsl,mpc5200b-i2c","fsl,mpc5200-i2c","fsl-i2c";
- reg = <0x3d40 0x40>;
- interrupts = <2 16 0>;
+ ata@3a00 {
+ status = "disabled";
};
- sram@8000 {
- compatible = "fsl,mpc5200b-sram","fsl,mpc5200-sram";
- reg = <0x8000 0x4000>;
+ i2c@3d00 {
+ status = "disabled";
};
+
};
- localbus {
- compatible = "fsl,mpc5200b-lpb","simple-bus";
- #address-cells = <2>;
- #size-cells = <1>;
- ranges = <0 0 0xfc000000 0x2000000>;
+ pci@f0000d00 {
+ status = "disabled";
+ };
+ localbus {
// 16-bit flash device at LocalPlus Bus CS0
flash@0,0 {
compatible = "cfi-flash";

arch/powerpc/boot/dts/digsy_mtc.dts

View file
diff --git a/arch/powerpc/boot/dts/digsy_mtc.dts b/arch/powerpc/boot/dts/digsy_mtc.dts
index 8e9be6b..27bd267 100644
--- a/arch/powerpc/boot/dts/digsy_mtc.dts
+++ b/arch/powerpc/boot/dts/digsy_mtc.dts
@@ -11,195 +11,68 @@
* option) any later version.
*/
-/dts-v1/;
+/include/ "mpc5200b.dtsi"
/ {
model = "intercontrol,digsy-mtc";
compatible = "intercontrol,digsy-mtc";
- #address-cells = <1>;
- #size-cells = <1>;
- interrupt-parent = <&mpc5200_pic>;
-
- cpus {
- #address-cells = <1>;
- #size-cells = <0>;
-
- PowerPC,5200@0 {
- device_type = "cpu";
- reg = <0>;
- d-cache-line-size = <32>;
- i-cache-line-size = <32>;
- d-cache-size = <0x4000>; // L1, 16K
- i-cache-size = <0x4000>; // L1, 16K
- timebase-frequency = <0>; // from bootloader
- bus-frequency = <0>; // from bootloader
- clock-frequency = <0>; // from bootloader
- };
- };
memory {
- device_type = "memory";
reg = <0x00000000 0x02000000>; // 32MB
};
soc5200@f0000000 {
- #address-cells = <1>;
- #size-cells = <1>;
- compatible = "fsl,mpc5200b-immr";
- ranges = <0 0xf0000000 0x0000c000>;
- reg = <0xf0000000 0x00000100>;
- bus-frequency = <0>; // from bootloader
- system-frequency = <0>; // from bootloader
-
- cdm@200 {
- compatible = "fsl,mpc5200b-cdm","fsl,mpc5200-cdm";
- reg = <0x200 0x38>;
- };
-
- mpc5200_pic: interrupt-controller@500 {
- // 5200 interrupts are encoded into two levels;
- interrupt-controller;
- #interrupt-cells = <3>;
- compatible = "fsl,mpc5200b-pic","fsl,mpc5200-pic";
- reg = <0x500 0x80>;
- };
-
timer@600 { // General Purpose Timer
- compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt";
- reg = <0x600 0x10>;
- interrupts = <1 9 0>;
fsl,has-wdt;
};
- timer@610 { // General Purpose Timer
- compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt";
- reg = <0x610 0x10>;
- interrupts = <1 10 0>;
- };
-
- timer@620 { // General Purpose Timer
- compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt";
- reg = <0x620 0x10>;
- interrupts = <1 11 0>;
- };
-
- timer@630 { // General Purpose Timer
- compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt";
- reg = <0x630 0x10>;
- interrupts = <1 12 0>;
- };
-
- timer@640 { // General Purpose Timer
- compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt";
- reg = <0x640 0x10>;
- interrupts = <1 13 0>;
- };
-
- timer@650 { // General Purpose Timer

This diff is incomplete. Download the complete patch.

arch/powerpc/boot/dts/hotfoot.dts

View file

This diff is incomplete. Download the complete patch.

arch/powerpc/boot/dts/lite5200b.dts

View file

This diff is incomplete. Download the complete patch.

arch/powerpc/boot/dts/media5200.dts

View file

This diff is incomplete. Download the complete patch.

arch/powerpc/boot/dts/motionpro.dts

View file

This diff is incomplete. Download the complete patch.

arch/powerpc/boot/dts/mpc5200b.dtsi

View file

This diff is incomplete. Download the complete patch.

arch/powerpc/boot/dts/mucmc52.dts

View file

This diff is incomplete. Download the complete patch.

arch/powerpc/boot/dts/pcm030.dts

View file

This diff is incomplete. Download the complete patch.

arch/powerpc/boot/dts/pcm032.dts

View file

This diff is incomplete. Download the complete patch.

arch/powerpc/boot/dts/uc101.dts

View file

This diff is incomplete. Download the complete patch.

arch/powerpc/include/asm/prom.h

View file

This diff is incomplete. Download the complete patch.

arch/powerpc/kernel/prom_parse.c

View file

This diff is incomplete. Download the complete patch.

arch/powerpc/platforms/40x/ppc40x_simple.c

View file

This diff is incomplete. Download the complete patch.

arch/powerpc/platforms/512x/mpc5121_generic.c

View file

This diff is incomplete. Download the complete patch.

arch/powerpc/platforms/52xx/lite5200.c

View file

This diff is incomplete. Download the complete patch.

arch/powerpc/platforms/52xx/media5200.c

View file

This diff is incomplete. Download the complete patch.

arch/powerpc/platforms/52xx/mpc5200_simple.c

View file

This diff is incomplete. Download the complete patch.

arch/powerpc/platforms/83xx/mpc830x_rdb.c

View file

This diff is incomplete. Download the complete patch.

arch/powerpc/platforms/83xx/mpc831x_rdb.c

View file

This diff is incomplete. Download the complete patch.

arch/powerpc/platforms/83xx/mpc837x_rdb.c

View file

This diff is incomplete. Download the complete patch.

arch/powerpc/platforms/85xx/tqm85xx.c

View file

This diff is incomplete. Download the complete patch.

arch/powerpc/sysdev/mv64x60_dev.c

View file

This diff is incomplete. Download the complete patch.

arch/powerpc/sysdev/tsi108_dev.c

View file

This diff is incomplete. Download the complete patch.

arch/sparc/kernel/auxio_32.c

View file

This diff is incomplete. Download the complete patch.

arch/sparc/kernel/starfire.c

View file

This diff is incomplete. Download the complete patch.

arch/sparc/prom/init_32.c

View file

This diff is incomplete. Download the complete patch.

arch/sparc/prom/init_64.c

View file

This diff is incomplete. Download the complete patch.

arch/sparc/prom/tree_32.c

View file

This diff is incomplete. Download the complete patch.

arch/sparc/prom/tree_64.c

View file

This diff is incomplete. Download the complete patch.

drivers/char/ipmi/ipmi_si_intf.c

View file

This diff is incomplete. Download the complete patch.

drivers/misc/eeprom/at24.c

View file

This diff is incomplete. Download the complete patch.

drivers/mmc/host/Kconfig

View file

This diff is incomplete. Download the complete patch.

drivers/mmc/host/sdhci-of-core.c

View file

This diff is incomplete. Download the complete patch.

drivers/mtd/Kconfig

View file

This diff is incomplete. Download the complete patch.

drivers/mtd/maps/Kconfig

View file

This diff is incomplete. Download the complete patch.

drivers/net/fs_enet/fs_enet-main.c

View file

This diff is incomplete. Download the complete patch.

drivers/net/gianfar.c

View file

This diff is incomplete. Download the complete patch.

drivers/net/ucc_geth.c

View file

This diff is incomplete. Download the complete patch.

drivers/net/xilinx_emaclite.c

View file

This diff is incomplete. Download the complete patch.

drivers/of/Kconfig

View file

This diff is incomplete. Download the complete patch.

drivers/of/Makefile

View file

This diff is incomplete. Download the complete patch.

drivers/of/address.c

View file

This diff is incomplete. Download the complete patch.

drivers/of/fdt.c

View file

This diff is incomplete. Download the complete patch.

drivers/of/of_mdio.c

View file

This diff is incomplete. Download the complete patch.

drivers/of/of_net.c

View file

This diff is incomplete. Download the complete patch.

drivers/of/platform.c

View file

This diff is incomplete. Download the complete patch.

drivers/sbus/char/jsflash.c

View file

This diff is incomplete. Download the complete patch.

drivers/serial/Kconfig

View file

This diff is incomplete. Download the complete patch.

drivers/serial/of_serial.c

View file

This diff is incomplete. Download the complete patch.

include/asm-generic/vmlinux.lds.h

View file

This diff is incomplete. Download the complete patch.

include/linux/of_address.h

View file

This diff is incomplete. Download the complete patch.

include/linux/of_fdt.h

View file

This diff is incomplete. Download the complete patch.

include/linux/of_net.h

View file

This diff is incomplete. Download the complete patch.

scripts/Makefile.lib

View file

This diff is incomplete. Download the complete patch.

scripts/dtc/Makefile

View file

This diff is incomplete. Download the complete patch.

scripts/dtc/checks.c

View file

This diff is incomplete. Download the complete patch.

scripts/dtc/dtc-lexer.l

View file

This diff is incomplete. Download the complete patch.

scripts/dtc/dtc-lexer.lex.c_shipped

View file

This diff is incomplete. Download the complete patch.

scripts/dtc/dtc-parser.tab.c_shipped

View file

This diff is incomplete. Download the complete patch.

scripts/dtc/dtc-parser.tab.h_shipped

View file

This diff is incomplete. Download the complete patch.

scripts/dtc/dtc-parser.y

View file

This diff is incomplete. Download the complete patch.

scripts/dtc/dtc.c

View file

This diff is incomplete. Download the complete patch.

scripts/dtc/dtc.h

View file

This diff is incomplete. Download the complete patch.

scripts/dtc/flattree.c

View file

This diff is incomplete. Download the complete patch.

scripts/dtc/fstree.c

View file

This diff is incomplete. Download the complete patch.

scripts/dtc/livetree.c

View file

This diff is incomplete. Download the complete patch.

scripts/dtc/srcpos.c

View file

This diff is incomplete. Download the complete patch.

scripts/dtc/srcpos.h

View file

This diff is incomplete. Download the complete patch.

scripts/dtc/treesource.c

View file

This diff is incomplete. Download the complete patch.

scripts/dtc/util.c

View file

This diff is incomplete. Download the complete patch.

scripts/dtc/util.h

View file

This diff is incomplete. Download the complete patch.

scripts/dtc/version_gen.h

View file

This diff is incomplete. Download the complete patch.