arm64: dts: ti: am642-evm: Add overlay for NAND expansion card
Subsystems (2)
PATCH v5 1/1 arm64: dts: ti: am642-evm: Add overlay for NAND expansion card
The NAND expansion card plugs in over the HSE (High Speed Expansion) connector. Add support for it.
We add the ranges property to the GPMC node instead of the NAND overlay file to prevent below warnings.
/fragment@3/__overlay__: Relying on default #address-cells value /fragment@3/__overlay__: Relying on default #size-cells value
As GPMC is dedicated for NAND use on this board, it should be OK.
---
Changelog:
v5:
- Rebased on ti-next/ti-k3-dts-next
v4:
- Rebased on ti-next/ti-k3-dt-for-v6.9
v3:
https://lore.kernel.org/all/[email protected]/
- Fix dtc warning by moving ranges property into the GPMC node
- update licence to GPL-2.0-only OR MIT and Copyright year to 2024
- don't drop k3-am642-evm.dtb target from Makefile
v2:
- Don't leave k3-am642-evm-nand.dtbo as an orphan. Make k3-am642-evm-nand.dtb with the overlay applied on the base board.
--- arch/arm64/boot/dts/ti/Makefile | 2 + arch/arm64/boot/dts/ti/k3-am642-evm-nand.dtso | 139 ++++++++++++++++++++++++++ arch/arm64/boot/dts/ti/k3-am642-evm.dts | 4 + 3 files changed, 145 insertions(+)
arch/arm64/boot/dts/ti/Makefile +2 -0
@@ -49,6 +49,8 @@ dtb-$(CONFIG_ARCH_K3) += k3-am642-evm-icssg1-dualemac-mii.dtbo dtb-$(CONFIG_ARCH_K3) += k3-am642-hummingboard-t.dtb dtb-$(CONFIG_ARCH_K3) += k3-am642-hummingboard-t-pcie.dtb dtb-$(CONFIG_ARCH_K3) += k3-am642-hummingboard-t-usb3.dtb +k3-am642-evm-nand-dtbs := k3-am642-evm.dtb k3-am642-evm-nand.dtbo +dtb-$(CONFIG_ARCH_K3) += k3-am642-evm-nand.dtb dtb-$(CONFIG_ARCH_K3) += k3-am642-phyboard-electra-rdk.dtb dtb-$(CONFIG_ARCH_K3) += k3-am642-phyboard-electra-gpio-fan.dtbo dtb-$(CONFIG_ARCH_K3) += k3-am642-sk.dtb
arch/arm64/boot/dts/ti/k3-am642-evm-nand.dtso new file +139 -0
139 lines not on this page · raw message
arch/arm64/boot/dts/ti/k3-am642-evm.dts +4 -0
@@ -817,3 +817,7 @@ icssg1_phy1: ethernet-phy@f { rx-internal-delay-ps = <2000>; }; }; + +&gpmc0 { + ranges = <0 0 0x00 0x51000000 0x01000000>; /* CS0 space. Min partition = 16MB */ +};
---
base-commit: 2f79e7408ac1b22ce8abc4a22b92793a57a3077d
change-id: 20240614-am642-evm-nand-5fb23a284d57
Best regards,
Signature · 1 line
Roger Quadros <[email protected]>
Hi Roger Quadros,
Quoted 10 lines · Roger Quadros
The NAND expansion card plugs in over the HSE (High Speed Expansion) connector. Add support for it.
We add the ranges property to the GPMC node instead of the NAND overlay file to prevent below warnings.
/fragment@3/__overlay__: Relying on default #address-cells value /fragment@3/__overlay__: Relying on default #size-cells value
[...]
I have applied the following to branch ti-k3-dts-next on [1]. Thank you!
[1/1] arm64: dts: ti: am642-evm: Add overlay for NAND expansion card
commit: 117937ff2fbf1f67e6e7cbe1635bbe1cc72dbee2
All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent up the chain during the next merge window (or sooner if it is a relevant bug fix), however if problems are discovered then the patch may be dropped or reverted.
You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed.
If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced.
Please add any relevant lists and maintainers to the CCs when replying to this mail.
[1] https://git.kernel.org/pub/scm/linux/kernel/git/ti/linux.git
--
Vignesh