mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-24 15:56:49 +00:00
4070e2a64c
This target adds support for the StarFive JH7100 and JH7110 SoCs, based on 6.1, as well as a couple boards equipped with these. Specifications: SoCs: JH7100: - StarFive JH7100 dual-core RISC-V (U74, RC64GC) - additional monitoring (S7) and control (E24) cores - 2Mb L2 cache JH7110: - StarFive JH7110 quad-core RISC-V (U74, RV64GC) - additional monitoring (S7) and control (E24) cores - 2Mb L2 cache Boards: VisionFive1: - JH7100 @ 1GHz - Memory: 8Gb LPDDR4 - 4x USB3.0 - 1x GBit ethernet - AMPak 6236 wifi / bluetooth - audio - powered via USB-C VisionFive2: - JH7110 @ 1.5GHz - Memory: 2/4/8Gb DDR4 - 2x Gbit ethernet - 2x USB3.0 / 2x USB2.0 - eMMC / SDIO - various multimedia input/outputs (MIPI CSI, HDMI, audio) - M.2 key M slot - PoE support - powered via USB-C Installation: Standard SD-card installation via dd-ing the generated image to an SD-card of at least 256Mb. Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
49 lines
1.6 KiB
Diff
49 lines
1.6 KiB
Diff
From f0548ab9212ef35abe79f46e5f509f4fc9d78699 Mon Sep 17 00:00:00 2001
|
|
From: Xingyu Wu <xingyu.wu@starfivetech.com>
|
|
Date: Mon, 20 Feb 2023 14:33:33 +0800
|
|
Subject: [PATCH 039/122] riscv: dts: starfive: jh7110: Add PLL clock node and
|
|
modify syscrg node
|
|
|
|
Add the PLL clock node for the Starfive JH7110 SoC and
|
|
modify the SYSCRG node to add PLL clocks input.
|
|
|
|
Signed-off-by: Xingyu Wu <xingyu.wu@starfivetech.com>
|
|
---
|
|
arch/riscv/boot/dts/starfive/jh7110.dtsi | 14 ++++++++++++--
|
|
1 file changed, 12 insertions(+), 2 deletions(-)
|
|
|
|
--- a/arch/riscv/boot/dts/starfive/jh7110.dtsi
|
|
+++ b/arch/riscv/boot/dts/starfive/jh7110.dtsi
|
|
@@ -452,12 +452,16 @@
|
|
<&gmac1_rgmii_rxin>,
|
|
<&i2stx_bclk_ext>, <&i2stx_lrck_ext>,
|
|
<&i2srx_bclk_ext>, <&i2srx_lrck_ext>,
|
|
- <&tdm_ext>, <&mclk_ext>;
|
|
+ <&tdm_ext>, <&mclk_ext>,
|
|
+ <&pllclk JH7110_CLK_PLL0_OUT>,
|
|
+ <&pllclk JH7110_CLK_PLL1_OUT>,
|
|
+ <&pllclk JH7110_CLK_PLL2_OUT>;
|
|
clock-names = "osc", "gmac1_rmii_refin",
|
|
"gmac1_rgmii_rxin",
|
|
"i2stx_bclk_ext", "i2stx_lrck_ext",
|
|
"i2srx_bclk_ext", "i2srx_lrck_ext",
|
|
- "tdm_ext", "mclk_ext";
|
|
+ "tdm_ext", "mclk_ext",
|
|
+ "pll0_out", "pll1_out", "pll2_out";
|
|
#clock-cells = <1>;
|
|
#reset-cells = <1>;
|
|
};
|
|
@@ -465,6 +469,12 @@
|
|
sys_syscon: syscon@13030000 {
|
|
compatible = "starfive,jh7110-sys-syscon", "syscon", "simple-mfd";
|
|
reg = <0x0 0x13030000 0x0 0x1000>;
|
|
+
|
|
+ pllclk: clock-controller {
|
|
+ compatible = "starfive,jh7110-pll";
|
|
+ clocks = <&osc>;
|
|
+ #clock-cells = <1>;
|
|
+ };
|
|
};
|
|
|
|
sysgpio: pinctrl@13040000 {
|