linux-loongson/arch/arm/boot/dts/vt8500/wm8750-apc8750.dts
Alexey Charkov ab46710603 ARM: dts: vt8500: Move memory nodes to board dts and fix addr/size
VIA/WonderMedia SoCs don't have on-chip memory, so their memory
nodes are better placed in per-board dts rather than per-SoC dtsi.

Move them accordingly, and also add correct node addresses and
sizes for each of the boards. Some boards were also available with
more memory than included in this commit - those would need a
separate DT or an appropriate kernel cmdline argument to reflect it,
as the bootloader on these devices doesn't handle DT at all nor does
it any runtime discovery of available memory size.

Signed-off-by: Alexey Charkov <alchark@gmail.com>
Link: https://lore.kernel.org/r/20250515-wmt-dts-updates-v2-2-246937484cc8@gmail.com
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
2025-06-12 17:25:15 +02:00

35 lines
514 B
Plaintext

// SPDX-License-Identifier: GPL-2.0-or-later
/*
* wm8750-apc8750.dts
* - Device tree file for VIA APC8750
*
* Copyright (C) 2012 Tony Prisk <linux@prisktech.co.nz>
*/
/dts-v1/;
/include/ "wm8750.dtsi"
/ {
model = "VIA APC8750";
memory@0 {
device_type = "memory";
reg = <0x0 0x20000000>;
};
};
&pinctrl {
pinctrl-names = "default";
pinctrl-0 = <&i2c>;
i2c: i2c {
wm,pins = <168 169 170 171>;
wm,function = <2>; /* alt */
wm,pull = <2>; /* pull-up */
};
};
&uart0 {
status = "okay";
};