From c9135d5a7af2df0e273e0f7e2f6c8132b34aba82 Mon Sep 17 00:00:00 2001 From: Tianrui Wei Date: Wed, 7 Jul 2021 15:48:22 +0800 Subject: [PATCH] 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 Reported-by: Tom Rini Reviewed-by: Leo Yu-Chi Liang --- 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 +M: Tianrui Wei 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.39.5