Browse Source

riscv: dts: add OpenPiton RISC-V board dts support

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>
Tianrui Wei 2 years ago
parent
commit
c9135d5a7a
2 changed files with 4 additions and 3 deletions
  1. 2 2
      arch/riscv/dts/openpiton-riscv64.dts
  2. 2 1
      board/openpiton/riscv64/MAINTAINERS

+ 2 - 2
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;
 

+ 2 - 1
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