From: Bert Vermeulen Date: Tue, 19 Jan 2021 09:21:09 +0000 (+0100) Subject: mips: dts: Add support for Cisco SG220-26 switch X-Git-Tag: v5.15~1633^2~39 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8991ae593ca25b8239472e68fd18504143b90465;p=platform%2Fkernel%2Flinux-starfive.git mips: dts: Add support for Cisco SG220-26 switch Signed-off-by: Bert Vermeulen Signed-off-by: Thomas Bogendoerfer --- diff --git a/arch/mips/boot/dts/realtek/Makefile b/arch/mips/boot/dts/realtek/Makefile new file mode 100644 index 0000000..fba4e93 --- /dev/null +++ b/arch/mips/boot/dts/realtek/Makefile @@ -0,0 +1,2 @@ +# SPDX-License-Identifier: GPL-2.0 +dtb-y += cisco_sg220-26.dtb diff --git a/arch/mips/boot/dts/realtek/cisco_sg220-26.dts b/arch/mips/boot/dts/realtek/cisco_sg220-26.dts new file mode 100644 index 0000000..1cdbb09 --- /dev/null +++ b/arch/mips/boot/dts/realtek/cisco_sg220-26.dts @@ -0,0 +1,25 @@ +// SPDX-License-Identifier: GPL-2.0-or-later OR BSD-2-Clause + +/dts-v1/; + +#include "rtl83xx.dtsi" +#include "rtl838x.dtsi" + +/ { + model = "Cisco SG220-26"; + compatible = "cisco,sg220-26", "realtek,rtl8382-soc"; + + chosen { + stdout-path = "serial0:9600n8"; + bootargs = "earlycon console=ttyS0,9600"; + }; + + memory@0 { + device_type = "memory"; + reg = <0x0 0x8000000>; + }; +}; + +&uart0 { + status = "okay"; +};