]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
riscv: dts: add OpenPiton RISC-V board dts support
authorTianrui Wei <tianrui-wei@outlook.com>
Wed, 7 Jul 2021 07:48:22 +0000 (15:48 +0800)
committerLeo Yu-Chi Liang <ycliang@andestech.com>
Wed, 7 Jul 2021 12:34:02 +0000 (20:34 +0800)
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>
arch/riscv/dts/openpiton-riscv64.dts
board/openpiton/riscv64/MAINTAINERS

index 45951e12360441c616aa45e3eacdbb9b9992715e..abc6016a0b4dd82ddc8cad8f8be1d48d41790c9c 100644 (file)
@@ -80,8 +80,8 @@
        };
 
        soc {
-               #address-cells = <1>;
-               #size-cells = <1>;
+               #address-cells = <2>;
+               #size-cells = <2>;
                compatible = "openpiton,chipset", "simple-bus";
                ranges;
 
index f91c000c83ffd08610ddcbe47bdb0c0381d37586..f80f5b049573a6e1ae481d2b60ebda5a0e80554a 100644 (file)
@@ -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