Home
last modified time | relevance | path

Searched +full:jh7110 +full:- +full:stg +full:- +full:syscon (Results 1 – 4 of 4) sorted by relevance

/freebsd/sys/contrib/device-tree/Bindings/usb/
H A Dstarfive,jh7110-usb.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/usb/starfive,jh7110-usb.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: StarFive JH7110 wrapper module for the Cadence USBSS-DRD controller
10 - Minda Chen <minda.chen@starfivetech.com>
14 const: starfive,jh7110-usb
18 starfive,stg-syscon:
19 $ref: /schemas/types.yaml#/definitions/phandle-array
21 - items:
[all …]
/freebsd/sys/contrib/device-tree/Bindings/pci/
H A Dstarfive,jh7110-pcie.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/pci/starfive,jh7110-pcie.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: StarFive JH7110 PCIe host controller
10 - Kevin Xie <kevin.xie@starfivetech.com>
13 - $ref: plda,xpressrich3-axi-common.yaml#
17 const: starfive,jh7110-pcie
21 - description: NOC bus clock
22 - description: Transport layer clock
[all …]
/freebsd/sys/contrib/device-tree/src/riscv/starfive/
H A Djh7110.dtsi1 // SPDX-License-Identifier: GPL-2.0 OR MIT
7 /dts-v1/;
8 #include <dt-bindings/clock/starfive,jh7110-crg.h>
9 #include <dt-bindings/power/starfive,jh7110-pmu.h>
10 #include <dt-bindings/reset/starfive,jh7110-crg.h>
11 #include <dt-bindings/thermal/thermal.h>
14 compatible = "starfive,jh7110";
15 #address-cells = <2>;
16 #size-cells = <2>;
19 #address-cells = <1>;
[all …]
/freebsd/sys/riscv/starfive/
H A Djh7110_pcie.c2 * SPDX-License-Identifier: BSD-2-Clause
7 /* JH7110 PCIe controller driver */
29 #include <dev/syscon/syscon.h>
114 {"starfive,jh7110-pcie", 1},
134 struct syscon *stg_syscon;
161 #define RD4(sc, reg) bus_read_4((sc)->reg_mem_res, (reg))
162 #define WR4(sc, reg, val) bus_write_4((sc)->reg_mem_res, (reg), (val))
180 data = bus_read_1(sc->cfg_mem_res, offset); in jh7110_pcie_read_config()
183 data = le16toh(bus_read_2(sc->cfg_mem_res, offset)); in jh7110_pcie_read_config()
186 data = le32toh(bus_read_4(sc->cfg_mem_res, offset)); in jh7110_pcie_read_config()
[all …]