[U-Boot] [PATCH V2 0/9] Add Device Tree for OMAP3 and omap3_logic
Adam Ford
aford173 at gmail.com
Mon Apr 17 13:09:36 UTC 2017
This patch series copies the Linux Device trees for the OMAP3 and
OMAP3630 platforms as well as some additional device trees to support
the Logic PD Torpedo and Logic PD SOM-LV both based on DM3730
(OMAP3630) processors. There are no changes to patches 2-6 from the
initial version posted as RFC, but I added "Reviewed-by: Lokesh Vutla
<lokeshvutla at ti.com>" to patches 2-6
Part 1 Changes the method for the MMC base address offsets to be caluclated. These offsets are different between OMAP3 and am33xx and omap4+. This moves away from an #ifdef method to a method of that uses .compatible to determine the offset. This is needed for OMAP3 device tree support.
This rest of this series allows us move to DM_I2C and DM_MMC and push the DM_SERIAL setup to the OF except when in SPL. This should give enough background for other OMAP3 boards to migrate to device tree.
The dm uclass dump is as follows:
uclass 0: root
- * root_driver @ 8df38028, seq 0, (req -1)
uclass 9: simple_bus
- * ocp at 68000000 @ 8df382e0, seq 0, (req -1)
- l4 at 48000000 @ 8df38348
- scm at 2000 @ 8df383b0
- scm_conf at 270 @ 8df38418
uclass 19: gpio
- gpio_omap @ 8df380b0
- gpio_omap @ 8df38108
- gpio_omap @ 8df38160
- gpio_omap @ 8df381b8
- gpio_omap @ 8df38210
- gpio_omap @ 8df38268
- gpio at 48310000 @ 8df38480
- gpio at 49050000 @ 8df384e8
- gpio at 49052000 @ 8df38550
- * gpio at 49054000 @ 8df385b8, seq 0, (req -1)
- gpio at 49056000 @ 8df38620
- gpio at 49058000 @ 8df38688
uclass 20: i2c
- * i2c at 48070000 @ 8df38880, seq 0, (req 0)
- i2c at 48072000 @ 8df388d8, seq -1, (req 1)
- i2c at 48060000 @ 8df38930, seq -1, (req 2)
uclass 22: i2c_generic
- * generic_4b @ 8df4b178, seq 0, (req -1)
uclass 31: mmc
- * mmc at 4809c000 @ 8df389a8, seq 0, (req -1)
- * mmc at 480ad000 @ 8df38b80, seq 1, (req -1)
uclass 52: serial
- * serial at 4806a000 @ 8df38710, seq 0, (req 0)
- serial at 4806c000 @ 8df38780, seq -1, (req 1)
- serial at 49020000 @ 8df387f0, seq -1, (req 2)
- serial at 49042000 @ 8df38d58, seq -1, (req 3)
Adam Ford (9):
omap_hsmmc: update struct hsmmc to accommodate omap3 from DT
omap3: Copy Device tree from Linux 4.9.y stable
omap3630: Copy Device tree from Linux 4.9.y stable
ARM: OMAP: I2C: Support New read, write and probe functions for OMAP3
omap3: Copy twl4030 device tree from Linux 4.9.y stable
OMAP3: Add SMSC9221 device tree for omap devices connected on GPMC.
ARM: DTS: Add Logic PD DM3730 SOM-LV initial support
ARM: DTS: Add Logic PD DM3730 Torpedo Device Tree
omap3_logic: Add Device Tree Support and more DM drivers
arch/arm/dts/Makefile | 4 +
arch/arm/dts/logicpd-som-lv-37xx-devkit.dts | 269 ++++
arch/arm/dts/logicpd-som-lv.dtsi | 271 ++++
arch/arm/dts/logicpd-torpedo-37xx-devkit.dts | 411 +++++
arch/arm/dts/logicpd-torpedo-som.dtsi | 217 +++
arch/arm/dts/omap-gpmc-smsc9221.dtsi | 58 +
arch/arm/dts/omap3.dtsi | 854 ++++++++++
arch/arm/dts/omap34xx-omap36xx-clocks.dtsi | 268 ++++
.../omap36xx-am35xx-omap3430es2plus-clocks.dtsi | 242 +++
arch/arm/dts/omap36xx-clocks.dtsi | 110 ++
arch/arm/dts/omap36xx-omap3430es2plus-clocks.dtsi | 198 +++
arch/arm/dts/omap36xx.dtsi | 118 ++
arch/arm/dts/omap3xxx-clocks.dtsi | 1665 ++++++++++++++++++++
arch/arm/dts/twl4030.dtsi | 161 ++
arch/arm/dts/twl4030_omap3.dtsi | 42 +
arch/arm/include/asm/omap_mmc.h | 3 -
board/logicpd/omap3som/README | 19 +
board/logicpd/omap3som/omap3logic.c | 18 +-
configs/omap3_logic_defconfig | 8 +-
drivers/i2c/omap24xx_i2c.c | 1 +
drivers/mmc/omap_hsmmc.c | 35 +-
include/configs/omap3_logic.h | 25 +-
include/dt-bindings/media/omap3-isp.h | 22 +
23 files changed, 4993 insertions(+), 26 deletions(-)
create mode 100644 arch/arm/dts/logicpd-som-lv-37xx-devkit.dts
create mode 100644 arch/arm/dts/logicpd-som-lv.dtsi
create mode 100644 arch/arm/dts/logicpd-torpedo-37xx-devkit.dts
create mode 100644 arch/arm/dts/logicpd-torpedo-som.dtsi
create mode 100644 arch/arm/dts/omap-gpmc-smsc9221.dtsi
create mode 100644 arch/arm/dts/omap3.dtsi
create mode 100644 arch/arm/dts/omap34xx-omap36xx-clocks.dtsi
create mode 100644 arch/arm/dts/omap36xx-am35xx-omap3430es2plus-clocks.dtsi
create mode 100644 arch/arm/dts/omap36xx-clocks.dtsi
create mode 100644 arch/arm/dts/omap36xx-omap3430es2plus-clocks.dtsi
create mode 100644 arch/arm/dts/omap36xx.dtsi
create mode 100644 arch/arm/dts/omap3xxx-clocks.dtsi
create mode 100644 arch/arm/dts/twl4030.dtsi
create mode 100644 arch/arm/dts/twl4030_omap3.dtsi
create mode 100644 board/logicpd/omap3som/README
create mode 100644 include/dt-bindings/media/omap3-isp.h
--
2.7.4
More information about the U-Boot
mailing list