All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2] riscv: dts: add OpenPiton RISC-V board dts support
@ 2021-07-07  7:48 Tianrui Wei
  0 siblings, 0 replies; only message in thread
From: Tianrui Wei @ 2021-07-07  7:48 UTC (permalink / raw)
  To: Tianrui Wei, Rick Chen, Leo; +Cc: Tom Rini, u-boot

Previous device tree for OpenPiton emits a warning during compilation.
This commit fixes the previous warning adds dts to the OpenPiton RISC-V
board and added the device tree to MAINTAINER file.

Signed-off-by: Tianrui Wei <tianrui-wei@outlook.com>
Reported-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
---
Changes for v2:
   - fix typo and commit message

 arch/riscv/dts/openpiton-riscv64.dts | 4 ++--
 board/openpiton/riscv64/MAINTAINERS  | 3 ++-
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/arch/riscv/dts/openpiton-riscv64.dts b/arch/riscv/dts/openpiton-riscv64.dts
index 45951e1236..abc6016a0b 100644
--- a/arch/riscv/dts/openpiton-riscv64.dts
+++ b/arch/riscv/dts/openpiton-riscv64.dts
@@ -80,8 +80,8 @@
 	};
 
 	soc {
-		#address-cells = <1>;
-		#size-cells = <1>;
+		#address-cells = <2>;
+		#size-cells = <2>;
 		compatible = "openpiton,chipset", "simple-bus";
 		ranges;
 
diff --git a/board/openpiton/riscv64/MAINTAINERS b/board/openpiton/riscv64/MAINTAINERS
index f91c000c83..f80f5b0495 100644
--- a/board/openpiton/riscv64/MAINTAINERS
+++ b/board/openpiton/riscv64/MAINTAINERS
@@ -1,8 +1,9 @@
 Openpiton BOARD
-M:	Tianrui Wei<tianrui-wei@outlook.com>
+M:	Tianrui Wei <tianrui-wei@outlook.com>
 S:	Maintained
 F:	board/openpiton/riscv64/
 F:	include/configs/openpiton-riscv64.h
 F:	configs/openpiton_riscv64_defconfig
 F:	configs/openpiton_riscv64_spl_defconfig
 F:  drivers/mmc/piton_mmc.c
+F:  arch/riscv/dts/openpiton-riscv64.dts
-- 
2.32.0


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2021-07-07  7:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-07  7:48 [PATCH v2] riscv: dts: add OpenPiton RISC-V board dts support Tianrui Wei

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.