[U-Boot] [PATCH v2 00/11] m68k: initial devicetree support

Angelo Dureghello angelo at sysam.it
Tue Oct 9 21:43:02 UTC 2018


This patchset has been successfully tested on stmark2 and
amcore ColdFire family boards.

Angelo Dureghello (11):
  m68k: add basic set of devicetrees
  drivers: spi: cf_spi: add Kconfig option
  drivers: spi: cf_spi: migrate to DM and DT
  drivers: serial: mcfuart: add DT support
  drivers: serial: mcfuart: add Kconfig option
  m68k: architecture changes to support fdt
  m68k: add initial dts files for all m68k boards
  m68k: enabling long jumps on mcf54x5 SoCs
  configs: enable use of DT for all m68k boards
  configs: add DM_SPI config option
  configs: remove CONFIG_SYS_DSPI_XX references

 arch/Kconfig                                  |   1 +
 arch/m68k/Kconfig                             |  33 ++
 arch/m68k/cpu/mcf547x_8x/start.S              |   6 +-
 arch/m68k/cpu/u-boot.lds                      |   2 +
 arch/m68k/dts/M5208EVBE.dts                   |  22 +
 arch/m68k/dts/M52277EVB.dts                   |  25 +
 arch/m68k/dts/M52277EVB_stmicro.dts           |  22 +
 arch/m68k/dts/M5235EVB.dts                    |  22 +
 arch/m68k/dts/M5235EVB_Flash32.dts            |  22 +
 arch/m68k/dts/M5249EVB.dts                    |  22 +
 arch/m68k/dts/M5253DEMO.dts                   |  22 +
 arch/m68k/dts/M5272C3.dts                     |  22 +
 arch/m68k/dts/M5275EVB.dts                    |  22 +
 arch/m68k/dts/M5282EVB.dts                    |  22 +
 arch/m68k/dts/M53017EVB.dts                   |  22 +
 arch/m68k/dts/M5329AFEE.dts                   |  22 +
 arch/m68k/dts/M5329BFEE.dts                   |  22 +
 arch/m68k/dts/M5373EVB.dts                    |  22 +
 arch/m68k/dts/M54418TWR.dts                   |  25 +
 arch/m68k/dts/M54418TWR_nand_mii.dts          |  25 +
 arch/m68k/dts/M54418TWR_nand_rmii.dts         |  25 +
 arch/m68k/dts/M54418TWR_nand_rmii_lowfreq.dts |  25 +
 arch/m68k/dts/M54418TWR_serial_mii.dts        |  25 +
 arch/m68k/dts/M54418TWR_serial_rmii.dts       |  25 +
 arch/m68k/dts/M54451EVB.dts                   |  25 +
 arch/m68k/dts/M54451EVB_stmicro.dts           |  25 +
 arch/m68k/dts/M54455EVB.dts                   |  25 +
 arch/m68k/dts/M54455EVB_a66.dts               |  25 +
 arch/m68k/dts/M54455EVB_i66.dts               |  25 +
 arch/m68k/dts/M54455EVB_intel.dts             |  26 +
 arch/m68k/dts/M54455EVB_stm33.dts             |  25 +
 arch/m68k/dts/M5475AFE.dts                    |  13 +
 arch/m68k/dts/M5475BFE.dts                    |  13 +
 arch/m68k/dts/M5475CFE.dts                    |  13 +
 arch/m68k/dts/M5475DFE.dts                    |  13 +
 arch/m68k/dts/M5475EFE.dts                    |  13 +
 arch/m68k/dts/M5475FFE.dts                    |  13 +
 arch/m68k/dts/M5475GFE.dts                    |  13 +
 arch/m68k/dts/M5485AFE.dts                    |  17 +
 arch/m68k/dts/M5485BFE.dts                    |  17 +
 arch/m68k/dts/M5485CFE.dts                    |  17 +
 arch/m68k/dts/M5485DFE.dts                    |  17 +
 arch/m68k/dts/M5485EFE.dts                    |  17 +
 arch/m68k/dts/M5485FFE.dts                    |  17 +
 arch/m68k/dts/M5485GFE.dts                    |  17 +
 arch/m68k/dts/M5485HFE.dts                    |  17 +
 arch/m68k/dts/Makefile                        |  58 ++
 arch/m68k/dts/amcore.dts                      |  22 +
 arch/m68k/dts/astro_mcf5373l.dts              |  22 +
 arch/m68k/dts/cobra5272.dts                   |  22 +
 arch/m68k/dts/eb_cpu5282.dts                  |  22 +
 arch/m68k/dts/eb_cpu5282_internal.dts         |  22 +
 arch/m68k/dts/mcf5208.dtsi                    |  36 ++
 arch/m68k/dts/mcf5227x.dtsi                   |  48 ++
 arch/m68k/dts/mcf523x.dtsi                    |  44 ++
 arch/m68k/dts/mcf5249.dtsi                    |  38 ++
 arch/m68k/dts/mcf5253.dtsi                    |  44 ++
 arch/m68k/dts/mcf5271.dtsi                    |  44 ++
 arch/m68k/dts/mcf5272.dtsi                    |  38 ++
 arch/m68k/dts/mcf5275.dtsi                    |  44 ++
 arch/m68k/dts/mcf5282.dtsi                    |  44 ++
 arch/m68k/dts/mcf5301x.dtsi                   |  48 ++
 arch/m68k/dts/mcf5307.dtsi                    |  39 ++
 arch/m68k/dts/mcf5329.dtsi                    |  36 ++
 arch/m68k/dts/mcf537x.dtsi                    |  36 ++
 arch/m68k/dts/mcf5441x.dtsi                   |  87 +++
 arch/m68k/dts/mcf5445x.dtsi                   |  48 ++
 arch/m68k/dts/mcf54xx.dtsi                    |  40 ++
 arch/m68k/dts/stmark2.dts                     |  34 ++
 configs/M5208EVBE_defconfig                   |   2 +
 configs/M52277EVB_defconfig                   |   3 +
 configs/M52277EVB_stmicro_defconfig           |   3 +
 configs/M5235EVB_Flash32_defconfig            |   2 +
 configs/M5235EVB_defconfig                    |   2 +
 configs/M5249EVB_defconfig                    |   2 +
 configs/M5253DEMO_defconfig                   |   2 +
 configs/M5272C3_defconfig                     |   2 +
 configs/M5275EVB_defconfig                    |   3 +
 configs/M5282EVB_defconfig                    |   2 +
 configs/M53017EVB_defconfig                   |   2 +
 configs/M5329AFEE_defconfig                   |   2 +
 configs/M5329BFEE_defconfig                   |   2 +
 configs/M5373EVB_defconfig                    |   2 +
 configs/M54418TWR_defconfig                   |   3 +
 configs/M54418TWR_nand_mii_defconfig          |   3 +
 configs/M54418TWR_nand_rmii_defconfig         |   3 +
 configs/M54418TWR_nand_rmii_lowfreq_defconfig |   3 +
 configs/M54418TWR_serial_mii_defconfig        |   3 +
 configs/M54418TWR_serial_rmii_defconfig       |   3 +
 configs/M54451EVB_defconfig                   |   3 +
 configs/M54451EVB_stmicro_defconfig           |   3 +
 configs/M54455EVB_a66_defconfig               |   3 +
 configs/M54455EVB_defconfig                   |   3 +
 configs/M54455EVB_i66_defconfig               |   3 +
 configs/M54455EVB_intel_defconfig             |   3 +
 configs/M54455EVB_stm33_defconfig             |   3 +
 configs/M5475AFE_defconfig                    |   2 +
 configs/M5475BFE_defconfig                    |   2 +
 configs/M5475CFE_defconfig                    |   2 +
 configs/M5475DFE_defconfig                    |   2 +
 configs/M5475EFE_defconfig                    |   2 +
 configs/M5475FFE_defconfig                    |   2 +
 configs/M5475GFE_defconfig                    |   2 +
 configs/M5485AFE_defconfig                    |   2 +
 configs/M5485BFE_defconfig                    |   2 +
 configs/M5485CFE_defconfig                    |   2 +
 configs/M5485DFE_defconfig                    |   2 +
 configs/M5485EFE_defconfig                    |   2 +
 configs/M5485FFE_defconfig                    |   2 +
 configs/M5485GFE_defconfig                    |   2 +
 configs/M5485HFE_defconfig                    |   2 +
 configs/amcore_defconfig                      |   2 +
 configs/astro_mcf5373l_defconfig              |   2 +
 configs/cobra5272_defconfig                   |   2 +
 configs/eb_cpu5282_defconfig                  |   2 +
 configs/eb_cpu5282_internal_defconfig         |   2 +
 configs/stmark2_defconfig                     |   4 +
 doc/device-tree-bindings/serial/mcf-uart.txt  |  19 +
 doc/device-tree-bindings/spi/spi-mcf-dspi.txt |  30 ++
 drivers/serial/Kconfig                        |   9 +
 drivers/serial/mcfuart.c                      | 106 +---
 drivers/spi/Kconfig                           |  18 +-
 drivers/spi/cf_spi.c                          | 510 +++++++++++-------
 include/configs/M52277EVB.h                   |  11 -
 include/configs/M54418TWR.h                   |  12 -
 include/configs/M54451EVB.h                   |  12 -
 include/configs/M54455EVB.h                   |  10 -
 include/configs/stmark2.h                     |  11 -
 include/dm/platform_data/spi_coldfire.h       |  29 +
 129 files changed, 2378 insertions(+), 335 deletions(-)
 create mode 100644 arch/m68k/dts/M5208EVBE.dts
 create mode 100644 arch/m68k/dts/M52277EVB.dts
 create mode 100644 arch/m68k/dts/M52277EVB_stmicro.dts
 create mode 100644 arch/m68k/dts/M5235EVB.dts
 create mode 100644 arch/m68k/dts/M5235EVB_Flash32.dts
 create mode 100644 arch/m68k/dts/M5249EVB.dts
 create mode 100644 arch/m68k/dts/M5253DEMO.dts
 create mode 100644 arch/m68k/dts/M5272C3.dts
 create mode 100644 arch/m68k/dts/M5275EVB.dts
 create mode 100644 arch/m68k/dts/M5282EVB.dts
 create mode 100644 arch/m68k/dts/M53017EVB.dts
 create mode 100644 arch/m68k/dts/M5329AFEE.dts
 create mode 100644 arch/m68k/dts/M5329BFEE.dts
 create mode 100644 arch/m68k/dts/M5373EVB.dts
 create mode 100644 arch/m68k/dts/M54418TWR.dts
 create mode 100644 arch/m68k/dts/M54418TWR_nand_mii.dts
 create mode 100644 arch/m68k/dts/M54418TWR_nand_rmii.dts
 create mode 100644 arch/m68k/dts/M54418TWR_nand_rmii_lowfreq.dts
 create mode 100644 arch/m68k/dts/M54418TWR_serial_mii.dts
 create mode 100644 arch/m68k/dts/M54418TWR_serial_rmii.dts
 create mode 100644 arch/m68k/dts/M54451EVB.dts
 create mode 100644 arch/m68k/dts/M54451EVB_stmicro.dts
 create mode 100644 arch/m68k/dts/M54455EVB.dts
 create mode 100644 arch/m68k/dts/M54455EVB_a66.dts
 create mode 100644 arch/m68k/dts/M54455EVB_i66.dts
 create mode 100644 arch/m68k/dts/M54455EVB_intel.dts
 create mode 100644 arch/m68k/dts/M54455EVB_stm33.dts
 create mode 100644 arch/m68k/dts/M5475AFE.dts
 create mode 100644 arch/m68k/dts/M5475BFE.dts
 create mode 100644 arch/m68k/dts/M5475CFE.dts
 create mode 100644 arch/m68k/dts/M5475DFE.dts
 create mode 100644 arch/m68k/dts/M5475EFE.dts
 create mode 100644 arch/m68k/dts/M5475FFE.dts
 create mode 100644 arch/m68k/dts/M5475GFE.dts
 create mode 100644 arch/m68k/dts/M5485AFE.dts
 create mode 100644 arch/m68k/dts/M5485BFE.dts
 create mode 100644 arch/m68k/dts/M5485CFE.dts
 create mode 100644 arch/m68k/dts/M5485DFE.dts
 create mode 100644 arch/m68k/dts/M5485EFE.dts
 create mode 100644 arch/m68k/dts/M5485FFE.dts
 create mode 100644 arch/m68k/dts/M5485GFE.dts
 create mode 100644 arch/m68k/dts/M5485HFE.dts
 create mode 100644 arch/m68k/dts/Makefile
 create mode 100644 arch/m68k/dts/amcore.dts
 create mode 100644 arch/m68k/dts/astro_mcf5373l.dts
 create mode 100644 arch/m68k/dts/cobra5272.dts
 create mode 100644 arch/m68k/dts/eb_cpu5282.dts
 create mode 100644 arch/m68k/dts/eb_cpu5282_internal.dts
 create mode 100644 arch/m68k/dts/mcf5208.dtsi
 create mode 100644 arch/m68k/dts/mcf5227x.dtsi
 create mode 100644 arch/m68k/dts/mcf523x.dtsi
 create mode 100644 arch/m68k/dts/mcf5249.dtsi
 create mode 100644 arch/m68k/dts/mcf5253.dtsi
 create mode 100644 arch/m68k/dts/mcf5271.dtsi
 create mode 100644 arch/m68k/dts/mcf5272.dtsi
 create mode 100644 arch/m68k/dts/mcf5275.dtsi
 create mode 100644 arch/m68k/dts/mcf5282.dtsi
 create mode 100644 arch/m68k/dts/mcf5301x.dtsi
 create mode 100644 arch/m68k/dts/mcf5307.dtsi
 create mode 100644 arch/m68k/dts/mcf5329.dtsi
 create mode 100644 arch/m68k/dts/mcf537x.dtsi
 create mode 100644 arch/m68k/dts/mcf5441x.dtsi
 create mode 100644 arch/m68k/dts/mcf5445x.dtsi
 create mode 100644 arch/m68k/dts/mcf54xx.dtsi
 create mode 100644 arch/m68k/dts/stmark2.dts
 create mode 100644 doc/device-tree-bindings/serial/mcf-uart.txt
 create mode 100644 doc/device-tree-bindings/spi/spi-mcf-dspi.txt
 create mode 100644 include/dm/platform_data/spi_coldfire.h

-- 
2.19.1



More information about the U-Boot mailing list