On Wed, Jan 15, 2025 at 09:35:56PM +0100, Duje Mihanović wrote: > Add DTS for Marvell PXA1908 SoC and Samsung Galaxy Core Prime Value > Edition LTE, a smartphone based on said SoC. > > Signed-off-by: Duje Mihanović <duje.mihanovic@xxxxxxxx> > --- > arch/arm64/boot/dts/marvell/Makefile | 3 + > .../dts/marvell/pxa1908-samsung-coreprimevelte.dts | 336 +++++++++++++++++++++ > arch/arm64/boot/dts/marvell/pxa1908.dtsi | 300 ++++++++++++++++++ > 3 files changed, 639 insertions(+) > > diff --git a/arch/arm64/boot/dts/marvell/Makefile b/arch/arm64/boot/dts/marvell/Makefile > index ce751b5028e2628834340b5c50f8992092226eba..39c5749e631db33aa8fb0386a951c0a70215bc02 100644 > --- a/arch/arm64/boot/dts/marvell/Makefile > +++ b/arch/arm64/boot/dts/marvell/Makefile > @@ -32,3 +32,6 @@ dtb-$(CONFIG_ARCH_MVEBU) += cn9130-cf-base.dtb > dtb-$(CONFIG_ARCH_MVEBU) += cn9130-cf-pro.dtb > dtb-$(CONFIG_ARCH_MVEBU) += cn9131-cf-solidwan.dtb > dtb-$(CONFIG_ARCH_MVEBU) += cn9132-clearfog.dtb > + > +# MMP SoC Family > +dtb-$(CONFIG_ARCH_MMP) += pxa1908-samsung-coreprimevelte.dtb Hm, why separate ARCH if this is part of Marvell Makefile? One ARCH per vendor, so if you think this is different than MVEBU, then should be in a separate subdirectory of marvell. > diff --git a/arch/arm64/boot/dts/marvell/pxa1908-samsung-coreprimevelte.dts b/arch/arm64/boot/dts/marvell/pxa1908-samsung-coreprimevelte.dts > new file mode 100644 > index 0000000000000000000000000000000000000000..83b789a837d3876bf15ed0d7e10e190eacdfd56f > --- /dev/null > +++ b/arch/arm64/boot/dts/marvell/pxa1908-samsung-coreprimevelte.dts > @@ -0,0 +1,336 @@ > +// SPDX-License-Identifier: GPL-2.0-only > +#include "pxa1908.dtsi" > +#include <dt-bindings/gpio/gpio.h> > +#include <dt-bindings/input/linux-event-codes.h> > + > +/ { > + model = "Samsung Galaxy Core Prime VE LTE"; > + compatible = "samsung,coreprimevelte", "marvell,pxa1908"; > + > + aliases { > + mmc0 = &sdh2; /* eMMC */ > + mmc1 = &sdh0; /* SD card */ > + serial0 = &uart0; > + }; > + > + chosen { > + #address-cells = <2>; > + #size-cells = <2>; > + ranges; > + > + stdout-path = "serial0:115200n8"; > + > + /* S-Boot places the initramfs here */ > + linux,initrd-start = <0x4d70000>; > + linux,initrd-end = <0x5000000>; > + > + fb0: framebuffer@17177000 { > + compatible = "simple-framebuffer"; > + reg = <0 0x17177000 0 (480 * 800 * 4)>; > + width = <480>; > + height = <800>; > + stride = <(480 * 4)>; > + format = "a8r8g8b8"; > + }; > + }; > + > + /* Bootloader fills this in */ > + memory { > + device_type = "memory"; > + reg = <0 0 0 0>; > + }; > + > + reserved-memory { > + #address-cells = <2>; > + #size-cells = <2>; > + ranges; > + > + framebuffer@17000000 { > + reg = <0 0x17000000 0 0x1800000>; > + no-map; > + }; > + > + gpu@9000000 { > + reg = <0 0x9000000 0 0x1000000>; > + }; > + > + /* Communications processor, aka modem */ > + cp@5000000 { > + reg = <0 0x5000000 0 0x3000000>; > + }; > + > + cm3@a000000 { > + reg = <0 0xa000000 0 0x80000>; > + }; > + > + seclog@8000000 { > + reg = <0 0x8000000 0 0x100000>; > + }; > + > + ramoops@8100000 { > + compatible = "ramoops"; > + reg = <0 0x8100000 0 0x40000>; > + record-size = <0x8000>; > + console-size = <0x20000>; > + max-reason = <5>; > + }; > + }; > + > + If there is going to be resend/new version: Just one blank line. Best regards, Krzysztof