[U-Boot] [PATCH v3 00/31] ARM: i.MX6: SabreSD: Add dts support

Jagan Teki
2017-04-05T19:20:10Z

This series has full possible dts support for SabreSD DualLite,
Quad and Quad Plus and DCD code for DualLite has added in SPL code.

The main intention of this series is to add the dts node step
by step and remove the legacy code at the end and to make
the full functional dts.

Changes for v3:
- rebase on master
- Added patch 'ARM: i.MX6: sabresd: Cleanup board code'
- Added patch 'ARM: i.MX6DL: sabresd: Move DCD reginit on SPL'

Changes for v2:
- rebase on master
- Added new-patches.

U-Boot SPL 2017.03-33716-gcadc609 (Apr 06 2017 - 00:41:19)
Trying to boot from MMC1

U-Boot 2017.03-33716-gcadc609 (Apr 06 2017 - 00:41:19 +0530)

CPU: Freescale i.MX6QP rev1.0 996 MHz (running at 792 MHz)
CPU: Automotive temperature grade (-40C to 125C) at 28C
Reset cause: POR
Model: Freescale i.MX6 Quad Plus SABRE Smart Device Board
DRAM: 1 GiB
MMC: FSL_SDHC: 0, FSL_SDHC: 1, FSL_SDHC: 2
PCI: pcie phy link never came up
No panel detected: default to Hannstar-XGA
Display: Hannstar-XGA (1024x768)
In: serial
Out: serial
Err: serial
Net: eth0: ethernet at 02188000
Hit any key to stop autoboot: 0
=>
=> dm tree
Class Probed Name
----------------------------------------
root [ + ] root_driver
thermal [ ] |-- imx_thermal
simple_bus [ + ] `-- soc
simple_bus [ + ] |-- aips-bus at 02000000
simple_bus [ ] | |-- spba-bus at 02000000
gpio [ + ] | |-- gpio at 0209c000
gpio [ + ] | |-- gpio at 020a0000
gpio [ + ] | |-- gpio at 020a4000
gpio [ + ] | |-- gpio at 020a8000
gpio [ + ] | |-- gpio at 020ac000
gpio [ + ] | |-- gpio at 020b0000
gpio [ + ] | |-- gpio at 020b4000
simple_bus [ ] | |-- anatop at 020c8000
simple_bus [ ] | |-- snvs at 020cc000
pinctrl [ + ] | `-- iomuxc at 020e0000
pinconfig [ + ] | `-- imx6qdl-sabresd
pinconfig [ + ] | |-- enetgrp
pinconfig [ ] | |-- i2c1grp
pinconfig [ ] | |-- i2c2grp
pinconfig [ ] | |-- i2c3grp
pinconfig [ ] | |-- uart1grp
pinconfig [ ] | |-- usbotggrp
pinconfig [ + ] | |-- usdhc2grp
pinconfig [ + ] | |-- usdhc3grp
pinconfig [ + ] | `-- usdhc4grp
simple_bus [ + ] `-- aips-bus at 02100000
usb [ ] |-- usb at 02184000
usb [ ] |-- usb at 02184200
eth [ + ] |-- ethernet at 02188000
mmc [ + ] |-- usdhc at 02194000
mmc [ + ] |-- usdhc at 02198000
mmc [ + ] |-- usdhc at 0219c000
i2c [ ] |-- i2c at 021a0000
i2c [ ] |-- i2c at 021a4000
pmic [ ] | `-- pfuze100 at 08
i2c [ ] `-- i2c at 021a8000

Tested: UART, MMC, I2C, FEC(with basic ping)

thanks!
Jagan.

Jagan Teki (31):
ARM: i.MX6: sabresd: Fix README - s/of=/dev/sdbbs=1K/of=/dev/sdb
bs=1K/
ARM: dts: i.MX6: Add imx6qdl-sabresd.dtsi
ARM: dts: imx6qdl-sabresd: Add imx6q-sabresd.dts
ARM: i.MX6: sabresd: Remove SPL_I2C_SUPPORT
ARM: i.MX6Q: sabresd: Add initial devicetree support
ARM: dts: imx6qdl-sabresd: Add imx6qp-sabresd.dts
ARM: i.MX6QP: sabresd: Add initial devicetree support
ARM: i.MX6: sabresd: Move CONFIG_SYS_I2C_MXC to defconfigs
ARM: dts: imx6qdl-sabresd: Add I2C node's
ARM: dts: imx6qdl-sabresd: Add PMIC pfuze100 node
ARM: i.MX6: sabresd: Enable DM_I2C and DM_PMIC
ARM: i.MX6: sabresd: defconfig move - CONFIG_USB_EHCI(_MX6)
ARM: dts: imx6qdl-sabresd: Add usb host node
ARM: dts: imx6qdl-sabresd: Add usb otg node
ARM: i.MX6: sabresd: Enable CONFIG_DM_REGULATOR
ARM: i.MX6: sabresd: Enable DM_USB
ARM: dts: imx6qdl-sabresd: Add FEC node
ARM: i.MX6: sabresd: Move CONFIG_FEC_MXC to defconfigs
ARM: i.MX6: sabresd: Enable DM_ETH
ARM: i.MX6: sabresd: Add dm_gpio_* for backlight
ARM: i.MX6: sabresd: Add imx6_pcie_toggle_power
ARM: i.MX6: sabresd: Add imx6_pcie_toggle_reset
ARM: i.MX6DL: sabresd: Move DCD reginit on SPL
ARM: dts: imx6qdl-sabresd: Add imx6dl-sabresd.dts
ARM: i.MX6DL: sabresd: Add initial devicetree support
ARM: i.MX6: sabresd: Drop legacy non-fdt code
ARM: i.MX6: %s/mx6sabresd/imx6sabresd
ARM: i.MX6: sabresd: Move DM_* and OF_CONTROL to arch Kconfig
ARM: i.MX6: sabresd: Update README
ARM: i.MX6: sabresd: Drop checkboard
ARM: i.MX6: sabresd: Cleanup board code

arch/arm/cpu/armv7/mx6/Kconfig | 10 +-
arch/arm/dts/Makefile | 3 +
arch/arm/dts/imx6dl-sabresd.dts | 17 +
arch/arm/dts/imx6q-sabresd.dts | 21 +
arch/arm/dts/imx6qdl-sabresd.dtsi | 235 ++++++
arch/arm/dts/imx6qp-sabresd.dts | 85 +++
.../freescale/{mx6sabresd => imx6sabresd}/Kconfig | 4 +-
board/freescale/imx6sabresd/MAINTAINERS | 8 +
.../freescale/{mx6sabresd => imx6sabresd}/Makefile | 2 +-
board/freescale/imx6sabresd/README | 84 +++
.../mx6sabresd.c => imx6sabresd/imx6sabresd.c} | 785 ++++++++++-----------
board/freescale/mx6sabresd/MAINTAINERS | 8 -
board/freescale/mx6sabresd/README | 103 ---
board/freescale/mx6sabresd/mx6dlsabresd.cfg | 131 ----
board/freescale/mx6sabresd/mx6q_4x_mt41j128.cfg | 169 -----
...lsabresd_defconfig => imx6dl_sabresd_defconfig} | 26 +-
...bresd_spl_defconfig => imx6q_sabresd_defconfig} | 13 +-
...qsabresd_defconfig => imx6qp_sabresd_defconfig} | 27 +-
include/configs/{mx6sabresd.h => imx6sabresd.h} | 25 +-
include/configs/mx6sabre_common.h | 3 +-
20 files changed, 882 insertions(+), 877 deletions(-)
create mode 100644 arch/arm/dts/imx6dl-sabresd.dts
create mode 100644 arch/arm/dts/imx6q-sabresd.dts
create mode 100644 arch/arm/dts/imx6qdl-sabresd.dtsi
create mode 100644 arch/arm/dts/imx6qp-sabresd.dts
rename board/freescale/{mx6sabresd => imx6sabresd}/Kconfig (70%)
create mode 100644 board/freescale/imx6sabresd/MAINTAINERS
rename board/freescale/{mx6sabresd => imx6sabresd}/Makefile (86%)
create mode 100644 board/freescale/imx6sabresd/README
rename board/freescale/{mx6sabresd/mx6sabresd.c => imx6sabresd/imx6sabresd.c} (69%)
delete mode 100644 board/freescale/mx6sabresd/MAINTAINERS
delete mode 100644 board/freescale/mx6sabresd/README
delete mode 100644 board/freescale/mx6sabresd/mx6dlsabresd.cfg
delete mode 100644 board/freescale/mx6sabresd/mx6q_4x_mt41j128.cfg
rename configs/{mx6dlsabresd_defconfig => imx6dl_sabresd_defconfig} (59%)
rename configs/{mx6sabresd_spl_defconfig => imx6q_sabresd_defconfig} (82%)
rename configs/{mx6qsabresd_defconfig => imx6qp_sabresd_defconfig} (57%)
rename include/configs/{mx6sabresd.h => imx6sabresd.h} (71%)

--
1.9.1