dt-bindings: loongarch: Add Loongson-2K0300
Subsystems (2)
A message that is not in the archive (sent off-list or not yet received): [email protected]
PATCH v2 1/2 dt-bindings: loongarch: Add Loongson-2K0300
Signed-off-by wjjsn <[email protected]>
--- Documentation/devicetree/bindings/loongarch/loongson.yaml | 4 ++++ 1 file changed, 4 insertions(+)
Documentation/devicetree/bindings/loongarch/loongson.yaml +4 -0
@@ -14,6 +14,10 @@ properties: const: '/' compatible: oneOf: + - description: Loongson-2K0300 processor based boards + items: + - const: loongson,99pi + - const: loongson,ls2k0300 - description: Loongson-2K0500 processor based boards items: - const: loongson,ls2k0500-ref
Signature · 1 line
2.43.0
PATCH v2 2/2 loongarch: boot: dts: Add Loongson-2K0300 support
In reply to a message not in the archiveSigned-off-by wjjsn <[email protected]>
--- arch/loongarch/boot/dts/Makefile | 2 +- .../boot/dts/loongson-2k0300-ref.dts | 34 +++++++ arch/loongarch/boot/dts/loongson-2k0300.dtsi | 95 +++++++++++++++++++ 3 files changed, 130 insertions(+), 1 deletion(-) create mode 100644 arch/loongarch/boot/dts/loongson-2k0300-ref.dts create mode 100644 arch/loongarch/boot/dts/loongson-2k0300.dtsi
arch/loongarch/boot/dts/Makefile +1 -1
@@ -1,3 +1,3 @@ # SPDX-License-Identifier: GPL-2.0-only -dtb-y = loongson-2k0500-ref.dtb loongson-2k1000-ref.dtb loongson-2k2000-ref.dtb +dtb-y = loongson-2k0300-ref.dtb loongson-2k0500-ref.dtb loongson-2k1000-ref.dtb loongson-2k2000-ref.dtb
arch/loongarch/boot/dts/loongson-2k0300-ref.dts new file +34 -0
@@ -0,0 +1,34 @@ +// SPDX-License-Identifier: GPL-2.0 +/* + * Copyright (C) 2023 Loongson Technology Corporation Limited + */ + +/dts-v1/; + +#include "loongson-2k0300.dtsi" + +/ { + compatible = "loongson,ls2k0300-ref", "loongson,ls2k0300"; + model = "Loongson-2K0300 Reference Board"; + + aliases { + serial0 = &uart0; + }; + + chosen { + stdout-path = "serial0:115200n8"; + }; + + memory@200000 { + device_type = "memory"; + reg = <0x0 0x00200000 0x0 0x0ee00000>, + <0x0 0x90000000 0x0 0x10000000>; + }; + +}; + + +&uart0 { + status = "okay"; +}; +
arch/loongarch/boot/dts/loongson-2k0300.dtsi new file +95 -0
95 lines not on this page · raw message
Signature · 1 line
2.43.0