Move j7200-evm to OF_UPSTREAM
cover Move j7200-evm to OF_UPSTREAM
This patch moves the J7200 config to use the devicetree-rebasing subtree, and consequently makes the necessary updates to the u-boot devicetree.
This patch depends on series [1] which cleans up k3 binman with some templating.
[1]: https://lore.kernel.org/u-boot/[email protected]/
Boot logs:
https://gist.github.com/aniket-l/5ae460224307ed7bf47f20488e1d3457
Aniket Limaye (1):
arm: dts: k3-j7200: Move to OF_UPSTREAM
arch/arm/dts/Makefile | 1 - .../k3-j7200-common-proc-board-u-boot.dtsi | 16 +- arch/arm/dts/k3-j7200-common-proc-board.dts | 396 ----- arch/arm/dts/k3-j7200-main.dtsi | 1284 ----------------- arch/arm/dts/k3-j7200-mcu-wakeup.dtsi | 647 --------- arch/arm/dts/k3-j7200-som-p0.dtsi | 327 ----- arch/arm/dts/k3-j7200-thermal.dtsi | 47 - arch/arm/dts/k3-j7200.dtsi | 164 --- configs/j7200_evm_a72_defconfig | 3 +- 9 files changed, 8 insertions(+), 2877 deletions(-) delete mode 100644 arch/arm/dts/k3-j7200-common-proc-board.dts delete mode 100644 arch/arm/dts/k3-j7200-main.dtsi delete mode 100644 arch/arm/dts/k3-j7200-mcu-wakeup.dtsi delete mode 100644 arch/arm/dts/k3-j7200-som-p0.dtsi delete mode 100644 arch/arm/dts/k3-j7200-thermal.dtsi delete mode 100644 arch/arm/dts/k3-j7200.dtsi
Signature · 1 line
2.34.1
PATCH 1/1 arm: dts: k3-j7200: Move to OF_UPSTREAM
Move to using OF_UPSTREAM config and thus using the devicetree-rebasing subtree.
--- arch/arm/dts/Makefile | 1 - .../k3-j7200-common-proc-board-u-boot.dtsi | 16 +- arch/arm/dts/k3-j7200-common-proc-board.dts | 396 ----- arch/arm/dts/k3-j7200-main.dtsi | 1284 ----------------- arch/arm/dts/k3-j7200-mcu-wakeup.dtsi | 647 --------- arch/arm/dts/k3-j7200-som-p0.dtsi | 327 ----- arch/arm/dts/k3-j7200-thermal.dtsi | 47 - arch/arm/dts/k3-j7200.dtsi | 164 --- configs/j7200_evm_a72_defconfig | 3 +- 9 files changed, 8 insertions(+), 2877 deletions(-) delete mode 100644 arch/arm/dts/k3-j7200-common-proc-board.dts delete mode 100644 arch/arm/dts/k3-j7200-main.dtsi delete mode 100644 arch/arm/dts/k3-j7200-mcu-wakeup.dtsi delete mode 100644 arch/arm/dts/k3-j7200-som-p0.dtsi delete mode 100644 arch/arm/dts/k3-j7200-thermal.dtsi delete mode 100644 arch/arm/dts/k3-j7200.dtsi
arch/arm/dts/Makefile +0 -1
@@ -1321,7 +1321,6 @@ dtb-$(CONFIG_SOC_K3_AM654) += \ k3-am6548-iot2050-advanced-m2-bkey-usb3-overlay.dtbo \ k3-am6548-iot2050-advanced-m2-bkey-ekey-pcie-overlay.dtbo dtb-$(CONFIG_SOC_K3_J721E) += k3-j721e-r5-common-proc-board.dtb \ - k3-j7200-common-proc-board.dtb \ k3-j7200-r5-common-proc-board.dtb \ k3-j721e-r5-sk.dtb \ k3-j721e-beagleboneai64.dtb \
arch/arm/dts/k3-j7200-common-proc-board-u-boot.dtsi +6 -10
@@ -3,7 +3,7 @@ * Copyright (C) 2020-2023 Texas Instruments Incorporated - https://www.ti.com/ */ -#define SPL_BOARD_DTB "spl/dts/k3-j7200-common-proc-board.dtb" +#define SPL_BOARD_DTB "spl/dts/ti/k3-j7200-common-proc-board.dtb" #define BOARD_DESCRIPTION "k3-j7200-common-proc-board" #define UBOOT_BOARD_DESCRIPTION "U-Boot for J7200 EVM"
@@ -30,8 +30,12 @@ &cbass_mcu_wakeup { bootph-all; - chipid@43000014 { + wkup_conf: bus@43000000 { bootph-all; + + chipid: chipid@14 { + bootph-all; + }; }; };
@@ -44,14 +48,6 @@ }; &mcu_udmap { - reg = <0x0 0x285c0000 0x0 0x100>, - <0x0 0x284c0000 0x0 0x4000>, - <0x0 0x2a800000 0x0 0x40000>, - <0x0 0x284a0000 0x0 0x4000>, - <0x0 0x2aa00000 0x0 0x40000>, - <0x0 0x28400000 0x0 0x2000>; - reg-names = "gcfg", "rchan", "rchanrt", "tchan", - "tchanrt", "rflow"; bootph-all; };
arch/arm/dts/k3-j7200-common-proc-board.dts deleted +0 -396
396 lines not on this page · raw message
arch/arm/dts/k3-j7200-main.dtsi deleted +0 -1284
1,284 lines not on this page · raw message
arch/arm/dts/k3-j7200-mcu-wakeup.dtsi deleted +0 -647
647 lines not on this page · raw message
arch/arm/dts/k3-j7200-som-p0.dtsi deleted +0 -327
327 lines not on this page · raw message
arch/arm/dts/k3-j7200-thermal.dtsi deleted +0 -47
47 lines not on this page · raw message
arch/arm/dts/k3-j7200.dtsi deleted +0 -164
164 lines not on this page · raw message
configs/j7200_evm_a72_defconfig +2 -1
@@ -15,7 +15,7 @@ CONFIG_SF_DEFAULT_MODE=0 CONFIG_ENV_SIZE=0x20000 CONFIG_DM_GPIO=y CONFIG_SPL_DM_SPI=y -CONFIG_DEFAULT_DEVICE_TREE="k3-j7200-common-proc-board" +CONFIG_DEFAULT_DEVICE_TREE="ti/k3-j7200-common-proc-board" CONFIG_SPL_TEXT_BASE=0x80080000 CONFIG_OF_LIBFDT_OVERLAY=y CONFIG_DM_RESET=y
@@ -96,6 +96,7 @@ CONFIG_REGMAP=y CONFIG_SPL_REGMAP=y CONFIG_SPL_SYSCON=y CONFIG_SPL_OF_TRANSLATE=y +CONFIG_OF_UPSTREAM=y CONFIG_CLK=y CONFIG_SPL_CLK=y CONFIG_CLK_CCF=y
Signature · 1 line
2.34.1
Re: [PATCH 1/1] arm: dts: k3-j7200: Move to OF_UPSTREAM
Quoted 13 lines · Aniket Limaye
Move to using
OF_UPSTREAMconfig and thus using the devicetree-rebasing subtree.Signed-off-by Aniket Limaye <[email protected]>--- arch/arm/dts/Makefile | 1 - .../k3-j7200-common-proc-board-u-boot.dtsi | 16 +- arch/arm/dts/k3-j7200-common-proc-board.dts | 396 ----- arch/arm/dts/k3-j7200-main.dtsi | 1284 ----------------- arch/arm/dts/k3-j7200-mcu-wakeup.dtsi | 647 --------- arch/arm/dts/k3-j7200-som-p0.dtsi | 327 ----- arch/arm/dts/k3-j7200-thermal.dtsi | 47 - arch/arm/dts/k3-j7200.dtsi | 164 ---
Quoted 8 lines
configs/j7200_evm_a72_defconfig | 3 +- 9 files changed, 8 insertions(+), 2877 deletions(-) delete mode 100644 arch/arm/dts/k3-j7200-common-proc-board.dts delete mode 100644 arch/arm/dts/k3-j7200-main.dtsi delete mode 100644 arch/arm/dts/k3-j7200-mcu-wakeup.dtsi delete mode 100644 arch/arm/dts/k3-j7200-som-p0.dtsi delete mode 100644 arch/arm/dts/k3-j7200-thermal.dtsi delete mode 100644 arch/arm/dts/k3-j7200.dtsi
This no longer applies cleanly to -next, please rebase, thanks.
Signature · 1 line
Tom