Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[POWERPC] ep8248e: Reference SMC parameter RAM base in the device tree.

This patch modifies the Embedded Planet EP8248E device tree to reference the
SMC paramater RAM base register instead of the parameter RAM allocated by the
boot loader.

The cpm_uart driver will allocate parameter RAM itself, making the serial port
initialisation independent of the boot loader.

The patch adds the parameter RAM allocated by the boot loader in the CPM muram
node, making it available to the kernel.

Signed-off-by: Laurent Pinchart <laurentp@cse-semaphore.com>
Acked-by: Scott Wood <scottwood@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>

authored by

Laurent Pinchart and committed by
Kumar Gala
0585fa5f c2dd3529

+2 -3
+2 -3
arch/powerpc/boot/dts/ep8248e.dts
··· 121 121 122 122 data@0 { 123 123 compatible = "fsl,cpm-muram-data"; 124 - reg = <0 0x1100 0x1140 125 - 0xec0 0x9800 0x800>; 124 + reg = <0 0x2000 0x9800 0x800>; 126 125 }; 127 126 }; 128 127 ··· 137 138 device_type = "serial"; 138 139 compatible = "fsl,mpc8248-smc-uart", 139 140 "fsl,cpm2-smc-uart"; 140 - reg = <0x11a80 0x20 0x1100 0x40>; 141 + reg = <0x11a80 0x20 0x87fc 2>; 141 142 interrupts = <4 8>; 142 143 interrupt-parent = <&PIC>; 143 144 fsl,cpm-brg = <7>;