Huashan Pi board is an embedded development platform based on the
CV1812H chip. Add minimal device tree files for this board.
Currently, it can boot to a basic shell.
NOTE: this series is based on the Jisheng's Milk-V Duo patch.
Link: https://en.sophgo.com/product/introduce/huashan.html
Link: https://en.sophgo.com/product/introduce/cv181xH.html
Changed from v1:
1. split the patch into several patch and refactor them.
Inochi Amaoto (7):
dt-bindings: interrupt-controller: Add SOPHGO CV1812H plic
dt-bindings: timer: Add SOPHGO CV1812H clint
dt-bindings: riscv: Add SOPHGO Huashan Pi board compatibles
riscv: dts: sophgo: Separate common devices from cv1800b soc
riscv: dts: sophgo: cv180x: Add gpio devices
riscv: dts: sophgo: add initial CV1812H SoC device tree
riscv: dts: sophgo: add Huashan Pi board device tree
.../sifive,plic-1.0.0.yaml | 1 +
.../devicetree/bindings/riscv/sophgo.yaml | 4 +
.../bindings/timer/sifive,clint.yaml | 1 +
arch/riscv/boot/dts/sophgo/Makefile | 1 +
arch/riscv/boot/dts/sophgo/cv1800b.dtsi | 95 +------------------
.../dts/sophgo/{cv1800b.dtsi => cv180x.dtsi} | 91 ++++++++++++++----
.../boot/dts/sophgo/cv1812h-huashan-pi.dts | 48 ++++++++++
arch/riscv/boot/dts/sophgo/cv1812h.dtsi | 36 +++++++
8 files changed, 165 insertions(+), 112 deletions(-)
copy arch/riscv/boot/dts/sophgo/{cv1800b.dtsi => cv180x.dtsi} (58%)
create mode 100644 arch/riscv/boot/dts/sophgo/cv1812h-huashan-pi.dts
create mode 100644 arch/riscv/boot/dts/sophgo/cv1812h.dtsi
--
2.42.0
Add compatible string for SOPHGO CV1812H plic.
Signed-off-by: Inochi Amaoto <[email protected]>
---
.../bindings/interrupt-controller/sifive,plic-1.0.0.yaml | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/interrupt-controller/sifive,plic-1.0.0.yaml b/Documentation/devicetree/bindings/interrupt-controller/sifive,plic-1.0.0.yaml
index 0c07e8dda445..709b2211276b 100644
--- a/Documentation/devicetree/bindings/interrupt-controller/sifive,plic-1.0.0.yaml
+++ b/Documentation/devicetree/bindings/interrupt-controller/sifive,plic-1.0.0.yaml
@@ -66,6 +66,7 @@ properties:
- enum:
- allwinner,sun20i-d1-plic
- sophgo,cv1800b-plic
+ - sophgo,cv1812h-plic
- sophgo,sg2042-plic
- thead,th1520-plic
- const: thead,c900-plic
--
2.42.0
On 09/10/2023 13:26, Inochi Amaoto wrote:
> Add compatible string for SOPHGO CV1812H plic.
>
> Signed-off-by: Inochi Amaoto <[email protected]>
> ---
> .../bindings/interrupt-controller/sifive,plic-1.0.0.yaml | 1 +
> 1 file changed, 1 insertion(+)
Acked-by: Krzysztof Kozlowski <[email protected]>
---
This is an automated instruction, just in case, because many review tags
are being ignored. If you know the process, you can skip it (please do
not feel offended by me posting it here - no bad intentions intended).
If you do not know the process, here is a short explanation:
Please add Acked-by/Reviewed-by/Tested-by tags when posting new
versions, under or above your Signed-off-by tag. Tag is "received", when
provided in a message replied to you on the mailing list. Tools like b4
can help here. However, there's no need to repost patches *only* to add
the tags. The upstream maintainer will do that for tags received on the
version they apply.
https://elixir.bootlin.com/linux/v6.5-rc3/source/Documentation/process/submitting-patches.rst#L577
Best regards,
Krzysztof
On Mon, Oct 09, 2023 at 07:25:14PM +0800, Inochi Amaoto wrote:
> Huashan Pi board is an embedded development platform based on the
> CV1812H chip. Add minimal device tree files for this board.
> Currently, it can boot to a basic shell.
>
> NOTE: this series is based on the Jisheng's Milk-V Duo patch.
>
> Link: https://en.sophgo.com/product/introduce/huashan.html
> Link: https://en.sophgo.com/product/introduce/cv181xH.html
>
> Changed from v1:
> 1. split the patch into several patch and refactor them.
>
> Inochi Amaoto (7):
> dt-bindings: interrupt-controller: Add SOPHGO CV1812H plic
> dt-bindings: timer: Add SOPHGO CV1812H clint
> dt-bindings: riscv: Add SOPHGO Huashan Pi board compatibles
> riscv: dts: sophgo: Separate common devices from cv1800b soc
> riscv: dts: sophgo: cv180x: Add gpio devices
> riscv: dts: sophgo: add initial CV1812H SoC device tree
> riscv: dts: sophgo: add Huashan Pi board device tree
For the patch series:
Reviewed-by: Jisheng Zhang <[email protected]>
>
> .../sifive,plic-1.0.0.yaml | 1 +
> .../devicetree/bindings/riscv/sophgo.yaml | 4 +
> .../bindings/timer/sifive,clint.yaml | 1 +
> arch/riscv/boot/dts/sophgo/Makefile | 1 +
> arch/riscv/boot/dts/sophgo/cv1800b.dtsi | 95 +------------------
> .../dts/sophgo/{cv1800b.dtsi => cv180x.dtsi} | 91 ++++++++++++++----
> .../boot/dts/sophgo/cv1812h-huashan-pi.dts | 48 ++++++++++
> arch/riscv/boot/dts/sophgo/cv1812h.dtsi | 36 +++++++
> 8 files changed, 165 insertions(+), 112 deletions(-)
> copy arch/riscv/boot/dts/sophgo/{cv1800b.dtsi => cv180x.dtsi} (58%)
> create mode 100644 arch/riscv/boot/dts/sophgo/cv1812h-huashan-pi.dts
> create mode 100644 arch/riscv/boot/dts/sophgo/cv1812h.dtsi
>
> --
> 2.42.0
>
On 09/10/2023 13:25, Inochi Amaoto wrote:
> Huashan Pi board is an embedded development platform based on the
> CV1812H chip. Add minimal device tree files for this board.
> Currently, it can boot to a basic shell.
>
> NOTE: this series is based on the Jisheng's Milk-V Duo patch.
Which is? This must be clear dependency - lore link.
Best regards,
Krzysztof
On Fri, Oct 13, 2023 at 10:48:23AM +0200, Krzysztof Kozlowski wrote:
> On 09/10/2023 13:25, Inochi Amaoto wrote:
> > Huashan Pi board is an embedded development platform based on the
> > CV1812H chip. Add minimal device tree files for this board.
> > Currently, it can boot to a basic shell.
> >
> > NOTE: this series is based on the Jisheng's Milk-V Duo patch.
>
> Which is? This must be clear dependency - lore link.
>
https://lore.kernel.org/linux-riscv/[email protected]/
AFAIK, This is merged in the for-next.
> Best regards,
> Krzysztof
>
>On 09/10/2023 13:25, Inochi Amaoto wrote:
>> Huashan Pi board is an embedded development platform based on the
>> CV1812H chip. Add minimal device tree files for this board.
>> Currently, it can boot to a basic shell.
>>
>> NOTE: this series is based on the Jisheng's Milk-V Duo patch.
>
>Which is? This must be clear dependency - lore link.
>
>Best regards,
>Krzysztof
https://lore.kernel.org/linux-riscv/[email protected]/
AFAIK, this is already merged.