mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-28 09:39:00 +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>
89 lines
2.2 KiB
Diff
89 lines
2.2 KiB
Diff
From 7492ebbdd926da258f9abea5c41a9f8c4ec48631 Mon Sep 17 00:00:00 2001
|
|
From: Changhuang Liang <changhuang.liang@starfivetech.com>
|
|
Date: Mon, 29 May 2023 05:15:01 -0700
|
|
Subject: [PATCH 074/122] dt-bindings: phy: Add starfive,jh7110-dphy-rx
|
|
|
|
StarFive SoCs like the jh7110 use a MIPI D-PHY RX controller based on
|
|
a M31 IP. Add a binding for it.
|
|
|
|
Signed-off-by: Changhuang Liang <changhuang.liang@starfivetech.com>
|
|
---
|
|
.../bindings/phy/starfive,jh7110-dphy-rx.yaml | 71 +++++++++++++++++++
|
|
1 file changed, 71 insertions(+)
|
|
create mode 100644 Documentation/devicetree/bindings/phy/starfive,jh7110-dphy-rx.yaml
|
|
|
|
--- /dev/null
|
|
+++ b/Documentation/devicetree/bindings/phy/starfive,jh7110-dphy-rx.yaml
|
|
@@ -0,0 +1,71 @@
|
|
+# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
|
|
+%YAML 1.2
|
|
+---
|
|
+$id: http://devicetree.org/schemas/phy/starfive,jh7110-dphy-rx.yaml#
|
|
+$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
+
|
|
+title: StarFive SoC MIPI D-PHY Rx Controller
|
|
+
|
|
+maintainers:
|
|
+ - Jack Zhu <jack.zhu@starfivetech.com>
|
|
+ - Changhuang Liang <changhuang.liang@starfivetech.com>
|
|
+
|
|
+description:
|
|
+ The StarFive SoC uses the MIPI CSI D-PHY based on M31 IP to transfer
|
|
+ CSI camera data.
|
|
+
|
|
+properties:
|
|
+ compatible:
|
|
+ const: starfive,jh7110-dphy-rx
|
|
+
|
|
+ reg:
|
|
+ maxItems: 1
|
|
+
|
|
+ clocks:
|
|
+ items:
|
|
+ - description: config clock
|
|
+ - description: reference clock
|
|
+ - description: escape mode transmit clock
|
|
+
|
|
+ clock-names:
|
|
+ items:
|
|
+ - const: cfg
|
|
+ - const: ref
|
|
+ - const: tx
|
|
+
|
|
+ resets:
|
|
+ items:
|
|
+ - description: DPHY_HW reset
|
|
+ - description: DPHY_B09_ALWAYS_ON reset
|
|
+
|
|
+ power-domains:
|
|
+ maxItems: 1
|
|
+
|
|
+ "#phy-cells":
|
|
+ const: 0
|
|
+
|
|
+required:
|
|
+ - compatible
|
|
+ - reg
|
|
+ - clocks
|
|
+ - clock-names
|
|
+ - resets
|
|
+ - power-domains
|
|
+ - "#phy-cells"
|
|
+
|
|
+additionalProperties: false
|
|
+
|
|
+examples:
|
|
+ - |
|
|
+ phy@19820000 {
|
|
+ compatible = "starfive,jh7110-dphy-rx";
|
|
+ reg = <0x19820000 0x10000>;
|
|
+ clocks = <&ispcrg 3>,
|
|
+ <&ispcrg 4>,
|
|
+ <&ispcrg 5>;
|
|
+ clock-names = "cfg", "ref", "tx";
|
|
+ resets = <&ispcrg 2>,
|
|
+ <&ispcrg 3>;
|
|
+ power-domains = <&dphy_pwrc 1>;
|
|
+ #phy-cells = <0>;
|
|
+ };
|