[PATCH 00/13] m68k: coldfire: proof-of-concept devicetree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Proof of Concept only - not for merging.

The following patch set is a minimal conversion of two ColdFire platforms
from using the legacy style platform device configuration to using a
devicetree. The two platform types supported here are one each of a full
MMU target (M5475EVB) and nommu (M5208EVB).

It takes a few short cuts (that is hacks) to prove it is possible and show
how it can be done. The problems and more work required include:

. proper conversion to use clock framework
. proper resource setup for interrupt controllers
. conversion of more ColdFire peripherals to use devicetree
. cleanup of changes for sending to appropriate lists/maintainers

Signed-off-by: Greg Ungerer <gerg@xxxxxxxxxxxxxx>
---
 arch/m68k/Kconfig.cpu                                |    1 
 arch/m68k/boot/dts/Makefile                          |    1 
 arch/m68k/coldfire/device.c                          |    4 
 b/Documentation/devicetree/bindings/net/fsl,fec.yaml |    1 
 b/arch/m68k/Kconfig                                  |    2 
 b/arch/m68k/Kconfig.cpu                              |    2 
 b/arch/m68k/Kconfig.devices                          |   11 
 b/arch/m68k/boot/dts/Makefile                        |    4 
 b/arch/m68k/boot/dts/mcf5208evb.dts                  |   57 ++++
 b/arch/m68k/boot/dts/mcf5475evb.dts                  |   55 ++++
 b/arch/m68k/coldfire/clk.c                           |    8 
 b/arch/m68k/coldfire/device.c                        |  221 ++++++++++++++++---
 b/arch/m68k/coldfire/intc-2.c                        |   59 ++++-
 b/arch/m68k/coldfire/intc-simr.c                     |   61 ++++-
 b/arch/m68k/coldfire/intc.c                          |   50 +++-
 b/arch/m68k/include/asm/mcfuart.h                    |   12 -
 b/arch/m68k/kernel/Makefile                          |    1 
 b/arch/m68k/kernel/embedded_dtb.S                    |   19 +
 b/arch/m68k/kernel/setup_mm.c                        |   33 ++
 b/arch/m68k/kernel/setup_no.c                        |   33 ++
 b/arch/m68k/kernel/vmlinux-nommu.lds                 |    9 
 b/arch/m68k/kernel/vmlinux-std.lds                   |   10 
 b/drivers/net/ethernet/freescale/fec_main.c          |    5 
 b/drivers/tty/serial/mcf.c                           |   49 ++--
 drivers/tty/serial/mcf.c                             |   12 +
 25 files changed, 627 insertions(+), 93 deletions(-)





[Index of Archives]     [Video for Linux]     [Yosemite News]     [Linux S/390]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux