arm64: dts: ti: Extract WAGO board components to overlays
last working
U-Boot@PFC-750-840x:/ setenv boot_conf "conf-750-8400#overlay-750-8400-wosm-p0000042#overlay-750-8400-base-p0000017#overlay-750-8400-localbus-p0000007#overlay-750-8400-interaction-p0000031"
U-Boot@PFC-750-840x:/ setenv fdt_high
U-Boot@PFC-750-840x:/ setenv bootm_size 0x10000000
U-Boot@PFC-750-840x:/ ext4load mmc 1:2 ${loadaddr} /boot/fitImage
23880192 bytes read in 1048 ms (21.7 MiB/s)
U-Boot@PFC-750-840x:/ setenv bootargs "console=ttyS2,115200 root=/dev/mmcblk0p2 rw rootwait"
U-Boot@PFC-750-840x:/ bootm ${loadaddr}#${boot_conf}
Signed-off-by: Heinrich Toews <ht@twx-software.de>
This commit is contained in:
@@ -26,6 +26,10 @@ dtb-$(CONFIG_ARCH_K3) += k3-am62-lp-sk-hdmi-audio.dtb
|
||||
dtb-$(CONFIG_ARCH_K3) += k3-am623-pfc-750-8302.dtb
|
||||
dtb-$(CONFIG_ARCH_K3) += k3-am623-pfc-750-830x-ems.dtb
|
||||
dtb-$(CONFIG_ARCH_K3) += k3-am623-pfc-750-8400.dtb
|
||||
dtb-$(CONFIG_ARCH_K3) += overlay-750-8400-wosm-p0000042.dtbo \
|
||||
overlay-750-8400-base-p0000017.dtbo \
|
||||
overlay-750-8400-localbus-p0000007.dtbo \
|
||||
overlay-750-8400-interaction-p0000031.dtbo
|
||||
|
||||
# Boards with AM62Ax SoC
|
||||
dtb-$(CONFIG_ARCH_K3) += k3-am62a7-sk.dtb
|
||||
@@ -86,3 +90,4 @@ DTC_FLAGS_k3-am6548-iot2050-advanced-m2 += -@
|
||||
DTC_FLAGS_k3-j721e-common-proc-board += -@
|
||||
DTC_FLAGS_k3-j721s2-common-proc-board += -@
|
||||
DTC_FLAGS_k3-am623-pfc-750-8302 += -@
|
||||
DTC_FLAGS_k3-am623-pfc-750-8400 += -@
|
||||
|
||||
@@ -0,0 +1,100 @@
|
||||
/dts-v1/;
|
||||
|
||||
/ {
|
||||
description = "WAGO AM623 PFC FIT Image";
|
||||
#address-cells = <1>;
|
||||
|
||||
images {
|
||||
kernel {
|
||||
description = "Linux Kernel";
|
||||
data = /incbin/("../../Image");
|
||||
type = "kernel";
|
||||
arch = "arm64";
|
||||
os = "linux";
|
||||
compression = "none";
|
||||
load = <0x80080000>;
|
||||
entry = <0x80080000>;
|
||||
hash-1 {
|
||||
algo = "sha256";
|
||||
};
|
||||
};
|
||||
|
||||
fdt-750-8400 {
|
||||
description = "Flattened Device Tree blob";
|
||||
data = /incbin/("k3-am623-pfc-750-8400.dtb");
|
||||
type = "flat_dt";
|
||||
arch = "arm64";
|
||||
compression = "none";
|
||||
load = <0x88000000>;
|
||||
|
||||
hash-1 {
|
||||
algo = "sha256";
|
||||
};
|
||||
};
|
||||
|
||||
img-overlay-750-8400-wosm-p0000042 {
|
||||
description = "WOSM Overlay";
|
||||
data = /incbin/("overlay-750-8400-wosm-p0000042.dtbo");
|
||||
type = "flat_dt";
|
||||
arch = "arm64";
|
||||
compression = "none";
|
||||
|
||||
};
|
||||
|
||||
img-overlay-750-8400-base-p0000017 {
|
||||
description = "Base Overlay";
|
||||
data = /incbin/("overlay-750-8400-base-p0000017.dtbo");
|
||||
type = "flat_dt";
|
||||
arch = "arm64";
|
||||
compression = "none";
|
||||
|
||||
};
|
||||
|
||||
img-overlay-750-8400-localbus-p0000007 {
|
||||
description = "Localbus Overlay";
|
||||
data = /incbin/("overlay-750-8400-localbus-p0000007.dtbo");
|
||||
type = "flat_dt";
|
||||
arch = "arm64";
|
||||
compression = "none";
|
||||
|
||||
};
|
||||
|
||||
img-overlay-750-8400-interaction-p0000031 {
|
||||
description = "Interaction Overlay";
|
||||
data = /incbin/("overlay-750-8400-interaction-p0000031.dtbo");
|
||||
type = "flat_dt";
|
||||
arch = "arm64";
|
||||
compression = "none";
|
||||
|
||||
};
|
||||
};
|
||||
|
||||
configurations {
|
||||
default = "conf-750-8400";
|
||||
conf-750-8400 {
|
||||
description = "Boot Linux kernel with base FDT and overlays";
|
||||
kernel = "kernel";
|
||||
fdt = "fdt-750-8400";
|
||||
};
|
||||
|
||||
overlay-750-8400-wosm-p0000042 {
|
||||
description = "WOSM Overlay config";
|
||||
fdt = "img-overlay-750-8400-wosm-p0000042";
|
||||
};
|
||||
|
||||
overlay-750-8400-base-p0000017 {
|
||||
description = "Base Overlay config";
|
||||
fdt = "img-overlay-750-8400-base-p0000017";
|
||||
};
|
||||
|
||||
overlay-750-8400-localbus-p0000007 {
|
||||
description = "Localbus Overlay config";
|
||||
fdt = "img-overlay-750-8400-localbus-p0000007";
|
||||
};
|
||||
|
||||
overlay-750-8400-interaction-p0000031 {
|
||||
description = "Interaction Overlay config";
|
||||
fdt = "img-overlay-750-8400-interaction-p0000031";
|
||||
};
|
||||
};
|
||||
};
|
||||
@@ -6,14 +6,22 @@
|
||||
* Copyright (C) 2025 WAGO GmbH & Co. KG - https://www.wago.com/
|
||||
*/
|
||||
|
||||
#include "k3-am623-pfc-750-84xx-wosm.dtsi"
|
||||
#include "k3-am623-pfc-750-84xx-baseboard.dtsi"
|
||||
#include "k3-am623-pfc-750-84xx-kbus.dtsi"
|
||||
#include "k3-am623-pfc-750-84xx-interaction.dtsi"
|
||||
|
||||
|
||||
/dts-v1/;
|
||||
|
||||
#include "k3-am623-pfc-750-8xxx-common.dtsi"
|
||||
#include "k3-am623-pfc-tpm.dtsi"
|
||||
|
||||
/ {
|
||||
compatible = "wago,am623-pfc-750_8400-100d", "wago,am623-pfc", "ti,am625";
|
||||
model = "PFC400-750-8400";
|
||||
|
||||
aliases {
|
||||
usb1 = &usb1;
|
||||
ethernet0 = &cpsw_port2;
|
||||
ethernet1 = &cpsw_port1;
|
||||
};
|
||||
};
|
||||
|
||||
&wsysinit {
|
||||
|
||||
@@ -6,18 +6,11 @@
|
||||
* Copyright (C) 2025 WAGO GmbH & Co. KG - https://www.wago.com/
|
||||
*/
|
||||
|
||||
#include "k3-am623-pfc-750-8xxx-common.dtsi"
|
||||
#include "k3-am623-pfc-tpm.dtsi"
|
||||
|
||||
|
||||
/ {
|
||||
compatible = "ti,am623-pfc", "ti,am625";
|
||||
|
||||
aliases {
|
||||
usb1 = &usb1;
|
||||
ethernet0 = &cpsw_port2;
|
||||
ethernet1 = &cpsw_port1;
|
||||
};
|
||||
|
||||
cpus {
|
||||
cpu@0 {
|
||||
cpu-supply = <&buck1_30_reg>;
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
/dts-v1/;
|
||||
/plugin/;
|
||||
|
||||
#include "k3-pinctrl.h"
|
||||
#include <dt-bindings/gpio/gpio.h>
|
||||
#include <dt-bindings/interrupt-controller/irq.h>
|
||||
#include <dt-bindings/leds/common.h>
|
||||
|
||||
#include "k3-am623-pfc-750-84xx-baseboard.dtsi"
|
||||
@@ -0,0 +1,9 @@
|
||||
/dts-v1/;
|
||||
/plugin/;
|
||||
|
||||
#include "k3-pinctrl.h"
|
||||
#include <dt-bindings/gpio/gpio.h>
|
||||
#include <dt-bindings/interrupt-controller/irq.h>
|
||||
#include <dt-bindings/leds/common.h>
|
||||
|
||||
#include "k3-am623-pfc-750-84xx-interaction.dtsi"
|
||||
@@ -0,0 +1,9 @@
|
||||
/dts-v1/;
|
||||
/plugin/;
|
||||
|
||||
#include "k3-pinctrl.h"
|
||||
#include <dt-bindings/gpio/gpio.h>
|
||||
#include <dt-bindings/interrupt-controller/irq.h>
|
||||
#include <dt-bindings/leds/common.h>
|
||||
|
||||
#include "k3-am623-pfc-750-84xx-kbus.dtsi"
|
||||
@@ -0,0 +1,9 @@
|
||||
/dts-v1/;
|
||||
/plugin/;
|
||||
|
||||
#include "k3-pinctrl.h"
|
||||
#include <dt-bindings/gpio/gpio.h>
|
||||
#include <dt-bindings/interrupt-controller/irq.h>
|
||||
#include <dt-bindings/leds/common.h>
|
||||
|
||||
#include "k3-am623-pfc-750-84xx-wosm.dtsi"
|
||||
Reference in New Issue
Block a user