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 v3 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 v3 2/2 loongarch: boot: dts: Add Loongson-2K0300 support
In reply to a message not in the archiveSigned-off-by wjjsn <[email protected]>
--- .../bindings/loongarch/loongson.yaml | 2 +- arch/loongarch/boot/dts/Makefile | 2 +- .../boot/dts/loongson-2k0300-ref.dts | 34 +++++++ arch/loongarch/boot/dts/loongson-2k0300.dtsi | 95 +++++++++++++++++++ 4 files changed, 131 insertions(+), 2 deletions(-) create mode 100644 arch/loongarch/boot/dts/loongson-2k0300-ref.dts create mode 100644 arch/loongarch/boot/dts/loongson-2k0300.dtsi
Documentation/devicetree/bindings/loongarch/loongson.yaml +1 -1
@@ -16,7 +16,7 @@ properties: oneOf: - description: Loongson-2K0300 processor based boards items: - - const: loongson,99pi + - const: loongson,ls2k0300-ref - const: loongson,ls2k0300 - description: Loongson-2K0500 processor based boards items:
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
Re: [PATCH v3 2/2] loongarch: boot: dts: Add Loongson-2K0300 support
Quoted 6 lines · wjjsn
Signed-off-by wjjsn <[email protected]>--- .../bindings/loongarch/loongson.yaml | 2 +- arch/loongarch/boot/dts/Makefile | 2 +- .../boot/dts/loongson-2k0300-ref.dts | 34 +++++++ arch/loongarch/boot/dts/loongson-2k0300.dtsi | 95 +++++++++++++++++++
Random posting.
Documentation/devicetree/bindings/loongarch/loongson.yaml properties: · line 19
Quoted 13 lines
4 files changed, 131 insertions(+), 2 deletions(-) create mode 100644 arch/loongarch/boot/dts/loongson-2k0300-ref.dts create mode 100644 arch/loongarch/boot/dts/loongson-2k0300.dtsiDocumentation/devicetree/bindings/loongarch/loongson.yaml +0
-1@@ -16,7 +16,7 @@ properties: oneOf: - description: Loongson-2K0300 processor based boards items: - - const: loongson,99pi
But this is obviously NAK without explanation.
Documentation/devicetree/bindings/loongarch/loongson.yaml properties: · line 19
Quoted 1 line
Documentation/devicetree/bindings/loongarch/loongson.yaml +1
-0+ - const: loongson,ls2k0300-ref
Best regards,
Krzysztof