mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-09-01 15:14:52 +00:00

'/memory' nodes always have a 'reg' property, and therefore should have a unit-address with just plain hex (i.e. no commas). Fix all the arm64 '/memory' nodes. It's possible that some bootloader depends on /memory (arm32 ATAG to DT code does for example). If so, the memory node should be commented with that requirement. Signed-off-by: Rob Herring (Arm) <robh@kernel.org> Reviewed-by: Florian Fainelli <florian.fainelli@broadcom.com> Reviewed-by: Heiko Stuebner <heiko@sntech.de> Reviewed-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org> Reviewed-by: Chanho Min <chanho.min@lge.com> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Link: https://lore.kernel.org/r/20240430191856.874600-2-robh@kernel.org Signed-off-by: Arnd Bergmann <arnd@arndb.de>
93 lines
1.3 KiB
Plaintext
93 lines
1.3 KiB
Plaintext
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
|
|
/*
|
|
* Copyright (c) 2017 Andreas Färber
|
|
*/
|
|
|
|
/dts-v1/;
|
|
|
|
#include "s700.dtsi"
|
|
|
|
/ {
|
|
compatible = "cubietech,cubieboard7", "actions,s700";
|
|
model = "CubieBoard7";
|
|
|
|
aliases {
|
|
serial3 = &uart3;
|
|
};
|
|
|
|
chosen {
|
|
stdout-path = "serial3:115200n8";
|
|
};
|
|
|
|
memory@0 {
|
|
device_type = "memory";
|
|
reg = <0x0 0x0 0x0 0x80000000>;
|
|
};
|
|
|
|
memory@1e0000000 {
|
|
device_type = "memory";
|
|
reg = <0x1 0xe0000000 0x0 0x0>;
|
|
};
|
|
};
|
|
|
|
&i2c0 {
|
|
status = "okay";
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&i2c0_default>;
|
|
};
|
|
|
|
&i2c1 {
|
|
status = "okay";
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&i2c1_default>;
|
|
};
|
|
|
|
&i2c2 {
|
|
status = "disabled";
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&i2c2_default>;
|
|
};
|
|
|
|
&pinctrl {
|
|
i2c0_default: i2c0_default {
|
|
pinmux {
|
|
groups = "i2c0_mfp";
|
|
function = "i2c0";
|
|
};
|
|
pinconf {
|
|
pins = "i2c0_sclk", "i2c0_sdata";
|
|
bias-pull-up;
|
|
};
|
|
};
|
|
|
|
i2c1_default: i2c1_default {
|
|
pinmux {
|
|
groups = "i2c1_dummy";
|
|
function = "i2c1";
|
|
};
|
|
pinconf {
|
|
pins = "i2c1_sclk", "i2c1_sdata";
|
|
bias-pull-up;
|
|
};
|
|
};
|
|
|
|
i2c2_default: i2c2_default {
|
|
pinmux {
|
|
groups = "i2c2_dummy";
|
|
function = "i2c2";
|
|
};
|
|
pinconf {
|
|
pins = "i2c2_sclk", "i2c2_sdata";
|
|
bias-pull-up;
|
|
};
|
|
};
|
|
};
|
|
|
|
&timer {
|
|
clocks = <&hosc>;
|
|
};
|
|
|
|
&uart3 {
|
|
status = "okay";
|
|
};
|